mock_kafka

package
v4.2.718+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_kafka is a generated GoMock package.

Index

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) Close

func (m *MockClient) Close() error

Close mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) ListConsumeTopics

func (m *MockClient) ListConsumeTopics(ctx context.Context, consumerGroup string) ([]string, error)

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

func (*MockClient) Open

func (m *MockClient) Open() error

Open 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL