Documentation ¶
Overview ¶
Package producer is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delivery ¶
type Delivery struct { TopicPartition kafkamod.TopicPartition Error error }
type MockProducer ¶
type MockProducer struct {
// contains filtered or unexported fields
}
MockProducer is a mock of Producer interface.
func NewMockProducer ¶
func NewMockProducer(ctrl *gomock.Controller) *MockProducer
NewMockProducer creates a new mock instance.
func (*MockProducer) Delivery ¶
func (m *MockProducer) Delivery(chDelivery chan Delivery)
Delivery mocks base method.
func (*MockProducer) EXPECT ¶
func (m *MockProducer) EXPECT() *MockProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProducer) Flush ¶
func (m *MockProducer) Flush(timeoutMs int) int
Flush mocks base method.
type MockProducerMockRecorder ¶
type MockProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerMockRecorder is the mock recorder for MockProducer.
func (*MockProducerMockRecorder) Close ¶
func (mr *MockProducerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockProducerMockRecorder) Delivery ¶
func (mr *MockProducerMockRecorder) Delivery(chDelivery interface{}) *gomock.Call
Delivery indicates an expected call of Delivery.
func (*MockProducerMockRecorder) Flush ¶
func (mr *MockProducerMockRecorder) Flush(timeoutMs interface{}) *gomock.Call
Flush indicates an expected call of Flush.
func (*MockProducerMockRecorder) Produce ¶
func (mr *MockProducerMockRecorder) Produce(msg interface{}) *gomock.Call
Produce indicates an expected call of Produce.
Click to show internal directories.
Click to hide internal directories.