sinkmock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package sinkmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSinkClient added in v0.5.0

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

MockSinkClient is a mock of SinkClient interface.

func NewMockSinkClient added in v0.5.0

func NewMockSinkClient(ctrl *gomock.Controller) *MockSinkClient

NewMockSinkClient creates a new mock instance.

func (*MockSinkClient) EXPECT added in v0.5.0

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

func (*MockSinkClient) IsReady added in v0.5.0

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

IsReady mocks base method.

func (*MockSinkClient) SinkFn added in v0.5.0

func (m *MockSinkClient) SinkFn(arg0 context.Context, arg1 ...grpc.CallOption) (v1.Sink_SinkFnClient, error)

SinkFn mocks base method.

type MockSinkClientMockRecorder added in v0.5.0

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

MockSinkClientMockRecorder is the mock recorder for MockSinkClient.

func (*MockSinkClientMockRecorder) IsReady added in v0.5.0

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

IsReady indicates an expected call of IsReady.

func (*MockSinkClientMockRecorder) SinkFn added in v0.5.0

func (mr *MockSinkClientMockRecorder) SinkFn(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SinkFn indicates an expected call of SinkFn.

type MockSink_SinkFnClient added in v0.5.0

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

MockSink_SinkFnClient is a mock of Sink_SinkFnClient interface.

func NewMockSink_SinkFnClient added in v0.5.0

func NewMockSink_SinkFnClient(ctrl *gomock.Controller) *MockSink_SinkFnClient

NewMockSink_SinkFnClient creates a new mock instance.

func (*MockSink_SinkFnClient) CloseAndRecv added in v0.5.0

func (m *MockSink_SinkFnClient) CloseAndRecv() (*v1.SinkResponse, error)

CloseAndRecv mocks base method.

func (*MockSink_SinkFnClient) CloseSend added in v0.5.0

func (m *MockSink_SinkFnClient) CloseSend() error

CloseSend mocks base method.

func (*MockSink_SinkFnClient) Context added in v0.5.0

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

Context mocks base method.

func (*MockSink_SinkFnClient) EXPECT added in v0.5.0

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

func (*MockSink_SinkFnClient) Header added in v0.5.0

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

Header mocks base method.

func (*MockSink_SinkFnClient) RecvMsg added in v0.5.0

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

RecvMsg mocks base method.

func (*MockSink_SinkFnClient) Send added in v0.5.0

func (m *MockSink_SinkFnClient) Send(arg0 *v1.SinkRequest) error

Send mocks base method.

func (*MockSink_SinkFnClient) SendMsg added in v0.5.0

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

SendMsg mocks base method.

func (*MockSink_SinkFnClient) Trailer added in v0.5.0

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

Trailer mocks base method.

type MockSink_SinkFnClientMockRecorder added in v0.5.0

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

MockSink_SinkFnClientMockRecorder is the mock recorder for MockSink_SinkFnClient.

func (*MockSink_SinkFnClientMockRecorder) CloseAndRecv added in v0.5.0

func (mr *MockSink_SinkFnClientMockRecorder) CloseAndRecv() *gomock.Call

CloseAndRecv indicates an expected call of CloseAndRecv.

func (*MockSink_SinkFnClientMockRecorder) CloseSend added in v0.5.0

CloseSend indicates an expected call of CloseSend.

func (*MockSink_SinkFnClientMockRecorder) Context added in v0.5.0

Context indicates an expected call of Context.

func (*MockSink_SinkFnClientMockRecorder) Header added in v0.5.0

Header indicates an expected call of Header.

func (*MockSink_SinkFnClientMockRecorder) RecvMsg added in v0.5.0

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockSink_SinkFnClientMockRecorder) Send added in v0.5.0

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

Send indicates an expected call of Send.

func (*MockSink_SinkFnClientMockRecorder) SendMsg added in v0.5.0

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

SendMsg indicates an expected call of SendMsg.

func (*MockSink_SinkFnClientMockRecorder) Trailer added in v0.5.0

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