sourcemock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package sourcemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSourceClient

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

MockSourceClient is a mock of SourceClient interface.

func NewMockSourceClient

func NewMockSourceClient(ctrl *gomock.Controller) *MockSourceClient

NewMockSourceClient creates a new mock instance.

func (*MockSourceClient) AckFn

AckFn mocks base method.

func (*MockSourceClient) EXPECT

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

func (*MockSourceClient) IsReady

func (m *MockSourceClient) IsReady(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1.ReadyResponse, error)

IsReady mocks base method.

func (*MockSourceClient) PartitionsFn added in v0.6.0

func (m *MockSourceClient) PartitionsFn(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1.PartitionsResponse, error)

PartitionsFn mocks base method.

func (*MockSourceClient) PendingFn

func (m *MockSourceClient) PendingFn(arg0 context.Context, arg1 *emptypb.Empty, arg2 ...grpc.CallOption) (*v1.PendingResponse, error)

PendingFn mocks base method.

func (*MockSourceClient) ReadFn

ReadFn mocks base method.

type MockSourceClientMockRecorder

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

MockSourceClientMockRecorder is the mock recorder for MockSourceClient.

func (*MockSourceClientMockRecorder) AckFn

func (mr *MockSourceClientMockRecorder) AckFn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

AckFn indicates an expected call of AckFn.

func (*MockSourceClientMockRecorder) IsReady

func (mr *MockSourceClientMockRecorder) IsReady(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

IsReady indicates an expected call of IsReady.

func (*MockSourceClientMockRecorder) PartitionsFn added in v0.6.0

func (mr *MockSourceClientMockRecorder) PartitionsFn(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PartitionsFn indicates an expected call of PartitionsFn.

func (*MockSourceClientMockRecorder) PendingFn

func (mr *MockSourceClientMockRecorder) PendingFn(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PendingFn indicates an expected call of PendingFn.

func (*MockSourceClientMockRecorder) ReadFn

func (mr *MockSourceClientMockRecorder) ReadFn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

ReadFn indicates an expected call of ReadFn.

type MockSource_AckFnClient added in v0.9.0

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

MockSource_AckFnClient is a mock of Source_AckFnClient interface.

func NewMockSource_AckFnClient added in v0.9.0

func NewMockSource_AckFnClient(ctrl *gomock.Controller) *MockSource_AckFnClient

NewMockSource_AckFnClient creates a new mock instance.

func (*MockSource_AckFnClient) CloseSend added in v0.9.0

func (m *MockSource_AckFnClient) CloseSend() error

CloseSend mocks base method.

func (*MockSource_AckFnClient) Context added in v0.9.0

func (m *MockSource_AckFnClient) Context() context.Context

Context mocks base method.

func (*MockSource_AckFnClient) EXPECT added in v0.9.0

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

func (*MockSource_AckFnClient) Header added in v0.9.0

func (m *MockSource_AckFnClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockSource_AckFnClient) Recv added in v0.9.0

Recv mocks base method.

func (*MockSource_AckFnClient) RecvMsg added in v0.9.0

func (m *MockSource_AckFnClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockSource_AckFnClient) Send added in v0.9.0

func (m *MockSource_AckFnClient) Send(arg0 *v1.AckRequest) error

Send mocks base method.

func (*MockSource_AckFnClient) SendMsg added in v0.9.0

func (m *MockSource_AckFnClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockSource_AckFnClient) Trailer added in v0.9.0

func (m *MockSource_AckFnClient) Trailer() metadata.MD

Trailer mocks base method.

type MockSource_AckFnClientMockRecorder added in v0.9.0

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

MockSource_AckFnClientMockRecorder is the mock recorder for MockSource_AckFnClient.

func (*MockSource_AckFnClientMockRecorder) CloseSend added in v0.9.0

CloseSend indicates an expected call of CloseSend.

func (*MockSource_AckFnClientMockRecorder) Context added in v0.9.0

Context indicates an expected call of Context.

func (*MockSource_AckFnClientMockRecorder) Header added in v0.9.0

Header indicates an expected call of Header.

func (*MockSource_AckFnClientMockRecorder) Recv added in v0.9.0

Recv indicates an expected call of Recv.

func (*MockSource_AckFnClientMockRecorder) RecvMsg added in v0.9.0

func (mr *MockSource_AckFnClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockSource_AckFnClientMockRecorder) Send added in v0.9.0

func (mr *MockSource_AckFnClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockSource_AckFnClientMockRecorder) SendMsg added in v0.9.0

func (mr *MockSource_AckFnClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockSource_AckFnClientMockRecorder) Trailer added in v0.9.0

Trailer indicates an expected call of Trailer.

type MockSource_ReadFnClient

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

MockSource_ReadFnClient is a mock of Source_ReadFnClient interface.

func NewMockSource_ReadFnClient

func NewMockSource_ReadFnClient(ctrl *gomock.Controller) *MockSource_ReadFnClient

NewMockSource_ReadFnClient creates a new mock instance.

func (*MockSource_ReadFnClient) CloseSend

func (m *MockSource_ReadFnClient) CloseSend() error

CloseSend mocks base method.

func (*MockSource_ReadFnClient) Context

Context mocks base method.

func (*MockSource_ReadFnClient) EXPECT

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

func (*MockSource_ReadFnClient) Header

func (m *MockSource_ReadFnClient) Header() (metadata.MD, error)

Header mocks base method.

func (*MockSource_ReadFnClient) Recv

Recv mocks base method.

func (*MockSource_ReadFnClient) RecvMsg

func (m *MockSource_ReadFnClient) RecvMsg(arg0 interface{}) error

RecvMsg mocks base method.

func (*MockSource_ReadFnClient) Send added in v0.9.0

Send mocks base method.

func (*MockSource_ReadFnClient) SendMsg

func (m *MockSource_ReadFnClient) SendMsg(arg0 interface{}) error

SendMsg mocks base method.

func (*MockSource_ReadFnClient) Trailer

func (m *MockSource_ReadFnClient) Trailer() metadata.MD

Trailer mocks base method.

type MockSource_ReadFnClientMockRecorder

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

MockSource_ReadFnClientMockRecorder is the mock recorder for MockSource_ReadFnClient.

func (*MockSource_ReadFnClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockSource_ReadFnClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockSource_ReadFnClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockSource_ReadFnClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockSource_ReadFnClientMockRecorder) RecvMsg

func (mr *MockSource_ReadFnClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call

RecvMsg indicates an expected call of RecvMsg.

func (*MockSource_ReadFnClientMockRecorder) Send added in v0.9.0

func (mr *MockSource_ReadFnClientMockRecorder) Send(arg0 interface{}) *gomock.Call

Send indicates an expected call of Send.

func (*MockSource_ReadFnClientMockRecorder) SendMsg

func (mr *MockSource_ReadFnClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockSource_ReadFnClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

Jump to

Keyboard shortcuts

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