Documentation ¶
Index ¶
- type MockProducerClient
- func (m *MockProducerClient) EXPECT() *MockProducerClientMockRecorder
- func (m *MockProducerClient) Produce(arg0 context.Context, arg1 *producer.Timber, arg2 ...grpc.CallOption) (*producer.ProduceResult, error)
- func (m *MockProducerClient) ProduceBatch(arg0 context.Context, arg1 *producer.TimberCollection, arg2 ...grpc.CallOption) (*producer.ProduceResult, error)
- type MockProducerClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProducerClient ¶
type MockProducerClient struct {
// contains filtered or unexported fields
}
MockProducerClient is a mock of ProducerClient interface
func NewMockProducerClient ¶
func NewMockProducerClient(ctrl *gomock.Controller) *MockProducerClient
NewMockProducerClient creates a new mock instance
func (*MockProducerClient) EXPECT ¶
func (m *MockProducerClient) EXPECT() *MockProducerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProducerClient) Produce ¶
func (m *MockProducerClient) Produce(arg0 context.Context, arg1 *producer.Timber, arg2 ...grpc.CallOption) (*producer.ProduceResult, error)
Produce mocks base method
func (*MockProducerClient) ProduceBatch ¶
func (m *MockProducerClient) ProduceBatch(arg0 context.Context, arg1 *producer.TimberCollection, arg2 ...grpc.CallOption) (*producer.ProduceResult, error)
ProduceBatch mocks base method
type MockProducerClientMockRecorder ¶
type MockProducerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerClientMockRecorder is the mock recorder for MockProducerClient
func (*MockProducerClientMockRecorder) Produce ¶
func (mr *MockProducerClientMockRecorder) Produce(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Produce indicates an expected call of Produce
func (*MockProducerClientMockRecorder) ProduceBatch ¶
func (mr *MockProducerClientMockRecorder) ProduceBatch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ProduceBatch indicates an expected call of ProduceBatch
Click to show internal directories.
Click to hide internal directories.