mock

package
v0.0.0-...-b47d8ff Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockICluster

type MockICluster struct {
	// contains filtered or unexported fields
}

MockICluster is a mock of ICluster interface.

func NewMockICluster

func NewMockICluster(ctrl *gomock.Controller) *MockICluster

NewMockICluster creates a new mock instance.

func (*MockICluster) EXPECT

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

func (*MockICluster) Run

func (m *MockICluster) Run(ctx context.Context, stopNotifyCh chan<- struct{})

Run mocks base method.

type MockIClusterMockRecorder

type MockIClusterMockRecorder struct {
	// contains filtered or unexported fields
}

MockIClusterMockRecorder is the mock recorder for MockICluster.

func (*MockIClusterMockRecorder) Run

func (mr *MockIClusterMockRecorder) Run(ctx, stopNotifyCh interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockIHub

type MockIHub struct {
	// contains filtered or unexported fields
}

MockIHub is a mock of IHub interface.

func NewMockIHub

func NewMockIHub(ctrl *gomock.Controller) *MockIHub

NewMockIHub creates a new mock instance.

func (*MockIHub) EXPECT

func (m *MockIHub) EXPECT() *MockIHubMockRecorder

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

func (*MockIHub) Kickoff

func (m *MockIHub) Kickoff(arg0 string)

Kickoff mocks base method.

func (*MockIHub) Offline

func (m *MockIHub) Offline()

Offline mocks base method.

func (*MockIHub) Online

func (m *MockIHub) Online()

Online mocks base method.

func (*MockIHub) Run

func (m *MockIHub) Run(arg0 context.Context, arg1 chan<- *proto.FollowerMsg, arg2 <-chan *proto.LeaderMsg, arg3 chan<- struct{})

Run mocks base method.

type MockIHubMockRecorder

type MockIHubMockRecorder struct {
	// contains filtered or unexported fields
}

MockIHubMockRecorder is the mock recorder for MockIHub.

func (*MockIHubMockRecorder) Kickoff

func (mr *MockIHubMockRecorder) Kickoff(arg0 interface{}) *gomock.Call

Kickoff indicates an expected call of Kickoff.

func (*MockIHubMockRecorder) Offline

func (mr *MockIHubMockRecorder) Offline() *gomock.Call

Offline indicates an expected call of Offline.

func (*MockIHubMockRecorder) Online

func (mr *MockIHubMockRecorder) Online() *gomock.Call

Online indicates an expected call of Online.

func (*MockIHubMockRecorder) Run

func (mr *MockIHubMockRecorder) Run(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockIKafkaReader

type MockIKafkaReader struct {
	// contains filtered or unexported fields
}

MockIKafkaReader is a mock of IKafkaReader interface.

func NewMockIKafkaReader

func NewMockIKafkaReader(ctrl *gomock.Controller) *MockIKafkaReader

NewMockIKafkaReader creates a new mock instance.

func (*MockIKafkaReader) Close

func (m *MockIKafkaReader) Close() error

Close mocks base method.

func (*MockIKafkaReader) CommitMessages

func (m *MockIKafkaReader) CommitMessages(arg0 context.Context, arg1 ...kafka.Message) error

CommitMessages mocks base method.

func (*MockIKafkaReader) EXPECT

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

func (*MockIKafkaReader) FetchMessage

func (m *MockIKafkaReader) FetchMessage(arg0 context.Context) (kafka.Message, error)

FetchMessage mocks base method.

type MockIKafkaReaderMockRecorder

type MockIKafkaReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockIKafkaReaderMockRecorder is the mock recorder for MockIKafkaReader.

func (*MockIKafkaReaderMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIKafkaReaderMockRecorder) CommitMessages

func (mr *MockIKafkaReaderMockRecorder) CommitMessages(arg0 interface{}, arg1 ...interface{}) *gomock.Call

CommitMessages indicates an expected call of CommitMessages.

func (*MockIKafkaReaderMockRecorder) FetchMessage

func (mr *MockIKafkaReaderMockRecorder) FetchMessage(arg0 interface{}) *gomock.Call

FetchMessage indicates an expected call of FetchMessage.

type MockIKafkaWriter

type MockIKafkaWriter struct {
	// contains filtered or unexported fields
}

MockIKafkaWriter is a mock of IKafkaWriter interface.

func NewMockIKafkaWriter

func NewMockIKafkaWriter(ctrl *gomock.Controller) *MockIKafkaWriter

NewMockIKafkaWriter creates a new mock instance.

func (*MockIKafkaWriter) Close

func (m *MockIKafkaWriter) Close() error

Close mocks base method.

func (*MockIKafkaWriter) EXPECT

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

func (*MockIKafkaWriter) WriteMessages

func (m *MockIKafkaWriter) WriteMessages(arg0 context.Context, arg1 ...kafka.Message) error

WriteMessages mocks base method.

type MockIKafkaWriterMockRecorder

type MockIKafkaWriterMockRecorder struct {
	// contains filtered or unexported fields
}

MockIKafkaWriterMockRecorder is the mock recorder for MockIKafkaWriter.

func (*MockIKafkaWriterMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIKafkaWriterMockRecorder) WriteMessages

func (mr *MockIKafkaWriterMockRecorder) WriteMessages(arg0 interface{}, arg1 ...interface{}) *gomock.Call

WriteMessages indicates an expected call of WriteMessages.

Jump to

Keyboard shortcuts

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