MCPcopy
hub / github.com/IBM/sarama / NewMockDeleteOffsetRequest

Function NewMockDeleteOffsetRequest

mockresponses.go:1250–1252  ·  view source on GitHub ↗
(t TestReporter)

Source from the content-addressed store, hash-verified

1248}
1249
1250func NewMockDeleteOffsetRequest(t TestReporter) *MockDeleteOffsetResponse {
1251 return &MockDeleteOffsetResponse{}
1252}
1253
1254func (m *MockDeleteOffsetResponse) SetDeletedOffset(errorCode KError, topic string, partition int32, errorPartition KError) *MockDeleteOffsetResponse {
1255 m.errorCode = errorCode

Callers 1

TestDeleteOffsetFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestDeleteOffsetFunction · 0.68