Documentation ¶
Overview ¶
Package mock_kafka is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ListConsumeTopics(ctx context.Context, consumerGroup string) ([]string, error)
- func (m *MockClient) ListConsumerGroups(ctx context.Context) ([]string, error)
- func (m *MockClient) ListTopics(ctx context.Context) ([]string, error)
- func (m *MockClient) ListTopicsPartitionCounts(ctx context.Context, topics []string) (map[string]int, error)
- func (m *MockClient) Open() error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) ListConsumeTopics(ctx, consumerGroup interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListConsumerGroups(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListTopics(ctx interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListTopicsPartitionCounts(ctx, topics interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Open() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) ListConsumeTopics ¶
ListConsumeTopics mocks base method
func (*MockClient) ListConsumerGroups ¶
func (m *MockClient) ListConsumerGroups(ctx context.Context) ([]string, error)
ListConsumerGroups mocks base method
func (*MockClient) ListTopics ¶
func (m *MockClient) ListTopics(ctx context.Context) ([]string, error)
ListTopics mocks base method
func (*MockClient) ListTopicsPartitionCounts ¶ added in v0.9.167
func (m *MockClient) ListTopicsPartitionCounts(ctx context.Context, topics []string) (map[string]int, error)
ListTopicsPartitionCounts mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockClientMockRecorder) ListConsumeTopics ¶
func (mr *MockClientMockRecorder) ListConsumeTopics(ctx, consumerGroup interface{}) *gomock.Call
ListConsumeTopics indicates an expected call of ListConsumeTopics
func (*MockClientMockRecorder) ListConsumerGroups ¶
func (mr *MockClientMockRecorder) ListConsumerGroups(ctx interface{}) *gomock.Call
ListConsumerGroups indicates an expected call of ListConsumerGroups
func (*MockClientMockRecorder) ListTopics ¶
func (mr *MockClientMockRecorder) ListTopics(ctx interface{}) *gomock.Call
ListTopics indicates an expected call of ListTopics
func (*MockClientMockRecorder) ListTopicsPartitionCounts ¶ added in v0.9.167
func (mr *MockClientMockRecorder) ListTopicsPartitionCounts(ctx, topics interface{}) *gomock.Call
ListTopicsPartitionCounts indicates an expected call of ListTopicsPartitionCounts
func (*MockClientMockRecorder) Open ¶
func (mr *MockClientMockRecorder) Open() *gomock.Call
Open indicates an expected call of Open