mock_rpc

package
v15.8.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package mock_rpc is a generated GoMock package.

Package mock_rpc contains mocks for gRPC and HTTP interfaces.

Package mock_rpc is a generated GoMock package.

Package mock_rpc is a generated GoMock package.

Package mock_rpc is a generated GoMock package.

Package mock_rpc is a generated GoMock package.

Package mock_rpc is a generated GoMock package.

Package mock_rpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAgentConfigurationClient

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

MockAgentConfigurationClient is a mock of AgentConfigurationClient interface.

func NewMockAgentConfigurationClient

func NewMockAgentConfigurationClient(ctrl *gomock.Controller) *MockAgentConfigurationClient

NewMockAgentConfigurationClient creates a new mock instance.

func (*MockAgentConfigurationClient) EXPECT

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

func (*MockAgentConfigurationClient) GetConfiguration

GetConfiguration mocks base method.

type MockAgentConfigurationClientMockRecorder

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

MockAgentConfigurationClientMockRecorder is the mock recorder for MockAgentConfigurationClient.

func (*MockAgentConfigurationClientMockRecorder) GetConfiguration

func (mr *MockAgentConfigurationClientMockRecorder) GetConfiguration(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration.

type MockAgentConfiguration_GetConfigurationClient

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

MockAgentConfiguration_GetConfigurationClient is a mock of AgentConfiguration_GetConfigurationClient interface.

func NewMockAgentConfiguration_GetConfigurationClient

func NewMockAgentConfiguration_GetConfigurationClient(ctrl *gomock.Controller) *MockAgentConfiguration_GetConfigurationClient

NewMockAgentConfiguration_GetConfigurationClient creates a new mock instance.

func (*MockAgentConfiguration_GetConfigurationClient) CloseSend

CloseSend mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) Context

Context mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) EXPECT

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

func (*MockAgentConfiguration_GetConfigurationClient) Header

Header mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) Recv

Recv mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) RecvMsg

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

RecvMsg mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) SendMsg

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

SendMsg mocks base method.

func (*MockAgentConfiguration_GetConfigurationClient) Trailer

Trailer mocks base method.

type MockAgentConfiguration_GetConfigurationClientMockRecorder

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

MockAgentConfiguration_GetConfigurationClientMockRecorder is the mock recorder for MockAgentConfiguration_GetConfigurationClient.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockAgentConfiguration_GetConfigurationServer

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

MockAgentConfiguration_GetConfigurationServer is a mock of AgentConfiguration_GetConfigurationServer interface.

func NewMockAgentConfiguration_GetConfigurationServer

func NewMockAgentConfiguration_GetConfigurationServer(ctrl *gomock.Controller) *MockAgentConfiguration_GetConfigurationServer

NewMockAgentConfiguration_GetConfigurationServer creates a new mock instance.

func (*MockAgentConfiguration_GetConfigurationServer) Context

Context mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) EXPECT

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

func (*MockAgentConfiguration_GetConfigurationServer) RecvMsg

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

RecvMsg mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) Send

Send mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) SendHeader

SendHeader mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) SendMsg

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

SendMsg mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) SetHeader

SetHeader mocks base method.

func (*MockAgentConfiguration_GetConfigurationServer) SetTrailer

SetTrailer mocks base method.

type MockAgentConfiguration_GetConfigurationServerMockRecorder

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

MockAgentConfiguration_GetConfigurationServerMockRecorder is the mock recorder for MockAgentConfiguration_GetConfigurationServer.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SendHeader

func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SetTrailer

func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockClientConnInterface

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

MockClientConnInterface is a mock of ClientConnInterface interface.

func NewMockClientConnInterface

func NewMockClientConnInterface(ctrl *gomock.Controller) *MockClientConnInterface

NewMockClientConnInterface creates a new mock instance.

func (*MockClientConnInterface) EXPECT

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

func (*MockClientConnInterface) Invoke

func (m *MockClientConnInterface) Invoke(arg0 context.Context, arg1 string, arg2, arg3 interface{}, arg4 ...grpc.CallOption) error

Invoke mocks base method.

func (*MockClientConnInterface) NewStream

func (m *MockClientConnInterface) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, arg3 ...grpc.CallOption) (grpc.ClientStream, error)

NewStream mocks base method.

type MockClientConnInterfaceMockRecorder

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

MockClientConnInterfaceMockRecorder is the mock recorder for MockClientConnInterface.

func (*MockClientConnInterfaceMockRecorder) Invoke

func (mr *MockClientConnInterfaceMockRecorder) Invoke(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Invoke indicates an expected call of Invoke.

func (*MockClientConnInterfaceMockRecorder) NewStream

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

NewStream indicates an expected call of NewStream.

type MockClientStream

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

MockClientStream is a mock of ClientStream interface.

func InitMockClientStream

func InitMockClientStream(ctrl *gomock.Controller, eof bool, msgs ...proto.Message) (*MockClientStream, []*gomock.Call)

func NewMockClientStream

func NewMockClientStream(ctrl *gomock.Controller) *MockClientStream

NewMockClientStream creates a new mock instance.

func (*MockClientStream) CloseSend

func (m *MockClientStream) CloseSend() error

CloseSend mocks base method.

func (*MockClientStream) Context

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

Context mocks base method.

func (*MockClientStream) EXPECT

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

func (*MockClientStream) Header

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

Header mocks base method.

func (*MockClientStream) RecvMsg

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

RecvMsg mocks base method.

func (*MockClientStream) SendMsg

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

SendMsg mocks base method.

func (*MockClientStream) Trailer

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

Trailer mocks base method.

type MockClientStreamMockRecorder

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

MockClientStreamMockRecorder is the mock recorder for MockClientStream.

func (*MockClientStreamMockRecorder) CloseSend

func (mr *MockClientStreamMockRecorder) CloseSend() *gomock.Call

CloseSend indicates an expected call of CloseSend.

func (*MockClientStreamMockRecorder) Context

func (mr *MockClientStreamMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockClientStreamMockRecorder) Header

Header indicates an expected call of Header.

func (*MockClientStreamMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockClientStreamMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockClientStreamMockRecorder) Trailer

func (mr *MockClientStreamMockRecorder) Trailer() *gomock.Call

Trailer indicates an expected call of Trailer.

type MockConfigurationWatcherInterface

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

MockConfigurationWatcherInterface is a mock of ConfigurationWatcherInterface interface.

func NewMockConfigurationWatcherInterface

func NewMockConfigurationWatcherInterface(ctrl *gomock.Controller) *MockConfigurationWatcherInterface

NewMockConfigurationWatcherInterface creates a new mock instance.

func (*MockConfigurationWatcherInterface) EXPECT

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

func (*MockConfigurationWatcherInterface) Watch

Watch mocks base method.

type MockConfigurationWatcherInterfaceMockRecorder

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

MockConfigurationWatcherInterfaceMockRecorder is the mock recorder for MockConfigurationWatcherInterface.

func (*MockConfigurationWatcherInterfaceMockRecorder) Watch

func (mr *MockConfigurationWatcherInterfaceMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockConn added in v15.1.0

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

MockConn is a mock of Conn interface.

func NewMockConn added in v15.1.0

func NewMockConn(ctrl *gomock.Controller) *MockConn

NewMockConn creates a new mock instance.

func (*MockConn) Close added in v15.1.0

func (m *MockConn) Close() error

Close mocks base method.

func (*MockConn) EXPECT added in v15.1.0

func (m *MockConn) EXPECT() *MockConnMockRecorder

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

func (*MockConn) LocalAddr added in v15.1.0

func (m *MockConn) LocalAddr() net.Addr

LocalAddr mocks base method.

func (*MockConn) Read added in v15.1.0

func (m *MockConn) Read(arg0 []byte) (int, error)

Read mocks base method.

func (*MockConn) RemoteAddr added in v15.1.0

func (m *MockConn) RemoteAddr() net.Addr

RemoteAddr mocks base method.

func (*MockConn) SetDeadline added in v15.1.0

func (m *MockConn) SetDeadline(arg0 time.Time) error

SetDeadline mocks base method.

func (*MockConn) SetReadDeadline added in v15.1.0

func (m *MockConn) SetReadDeadline(arg0 time.Time) error

SetReadDeadline mocks base method.

func (*MockConn) SetWriteDeadline added in v15.1.0

func (m *MockConn) SetWriteDeadline(arg0 time.Time) error

SetWriteDeadline mocks base method.

func (*MockConn) Write added in v15.1.0

func (m *MockConn) Write(arg0 []byte) (int, error)

Write mocks base method.

type MockConnMockRecorder added in v15.1.0

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

MockConnMockRecorder is the mock recorder for MockConn.

func (*MockConnMockRecorder) Close added in v15.1.0

func (mr *MockConnMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockConnMockRecorder) LocalAddr added in v15.1.0

func (mr *MockConnMockRecorder) LocalAddr() *gomock.Call

LocalAddr indicates an expected call of LocalAddr.

func (*MockConnMockRecorder) Read added in v15.1.0

func (mr *MockConnMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockConnMockRecorder) RemoteAddr added in v15.1.0

func (mr *MockConnMockRecorder) RemoteAddr() *gomock.Call

RemoteAddr indicates an expected call of RemoteAddr.

func (*MockConnMockRecorder) SetDeadline added in v15.1.0

func (mr *MockConnMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call

SetDeadline indicates an expected call of SetDeadline.

func (*MockConnMockRecorder) SetReadDeadline added in v15.1.0

func (mr *MockConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline.

func (*MockConnMockRecorder) SetWriteDeadline added in v15.1.0

func (mr *MockConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call

SetWriteDeadline indicates an expected call of SetWriteDeadline.

func (*MockConnMockRecorder) Write added in v15.1.0

func (mr *MockConnMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockGitlabAccess_MakeRequestServer

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

MockGitlabAccess_MakeRequestServer is a mock of GitlabAccess_MakeRequestServer interface.

func NewMockGitlabAccess_MakeRequestServer

func NewMockGitlabAccess_MakeRequestServer(ctrl *gomock.Controller) *MockGitlabAccess_MakeRequestServer

NewMockGitlabAccess_MakeRequestServer creates a new mock instance.

func (*MockGitlabAccess_MakeRequestServer) Context

Context mocks base method.

func (*MockGitlabAccess_MakeRequestServer) EXPECT

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

func (*MockGitlabAccess_MakeRequestServer) Recv

Recv mocks base method.

func (*MockGitlabAccess_MakeRequestServer) RecvMsg

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

RecvMsg mocks base method.

func (*MockGitlabAccess_MakeRequestServer) Send

Send mocks base method.

func (*MockGitlabAccess_MakeRequestServer) SendHeader

SendHeader mocks base method.

func (*MockGitlabAccess_MakeRequestServer) SendMsg

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

SendMsg mocks base method.

func (*MockGitlabAccess_MakeRequestServer) SetHeader

SetHeader mocks base method.

func (*MockGitlabAccess_MakeRequestServer) SetTrailer

func (m *MockGitlabAccess_MakeRequestServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockGitlabAccess_MakeRequestServerMockRecorder

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

MockGitlabAccess_MakeRequestServerMockRecorder is the mock recorder for MockGitlabAccess_MakeRequestServer.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) Send

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

Send indicates an expected call of Send.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) SendHeader

func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) SetHeader

func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockGitlabAccess_MakeRequestServerMockRecorder) SetTrailer

func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockGitopsClient

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

MockGitopsClient is a mock of GitopsClient interface.

func NewMockGitopsClient

func NewMockGitopsClient(ctrl *gomock.Controller) *MockGitopsClient

NewMockGitopsClient creates a new mock instance.

func (*MockGitopsClient) EXPECT

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

func (*MockGitopsClient) GetObjectsToSynchronize

GetObjectsToSynchronize mocks base method.

type MockGitopsClientMockRecorder

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

MockGitopsClientMockRecorder is the mock recorder for MockGitopsClient.

func (*MockGitopsClientMockRecorder) GetObjectsToSynchronize

func (mr *MockGitopsClientMockRecorder) GetObjectsToSynchronize(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetObjectsToSynchronize indicates an expected call of GetObjectsToSynchronize.

type MockGitops_GetObjectsToSynchronizeClient

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

MockGitops_GetObjectsToSynchronizeClient is a mock of Gitops_GetObjectsToSynchronizeClient interface.

func NewMockGitops_GetObjectsToSynchronizeClient

func NewMockGitops_GetObjectsToSynchronizeClient(ctrl *gomock.Controller) *MockGitops_GetObjectsToSynchronizeClient

NewMockGitops_GetObjectsToSynchronizeClient creates a new mock instance.

func (*MockGitops_GetObjectsToSynchronizeClient) CloseSend

CloseSend mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) Context

Context mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) EXPECT

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

func (*MockGitops_GetObjectsToSynchronizeClient) Header

Header mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) Recv

Recv mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) RecvMsg

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

RecvMsg mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) SendMsg

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

SendMsg mocks base method.

func (*MockGitops_GetObjectsToSynchronizeClient) Trailer

Trailer mocks base method.

type MockGitops_GetObjectsToSynchronizeClientMockRecorder

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

MockGitops_GetObjectsToSynchronizeClientMockRecorder is the mock recorder for MockGitops_GetObjectsToSynchronizeClient.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockGitops_GetObjectsToSynchronizeClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockGitops_GetObjectsToSynchronizeServer

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

MockGitops_GetObjectsToSynchronizeServer is a mock of Gitops_GetObjectsToSynchronizeServer interface.

func NewMockGitops_GetObjectsToSynchronizeServer

func NewMockGitops_GetObjectsToSynchronizeServer(ctrl *gomock.Controller) *MockGitops_GetObjectsToSynchronizeServer

NewMockGitops_GetObjectsToSynchronizeServer creates a new mock instance.

func (*MockGitops_GetObjectsToSynchronizeServer) Context

Context mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) EXPECT

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

func (*MockGitops_GetObjectsToSynchronizeServer) RecvMsg

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

RecvMsg mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) Send

Send mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) SendHeader

SendHeader mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) SendMsg

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

SendMsg mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) SetHeader

SetHeader mocks base method.

func (*MockGitops_GetObjectsToSynchronizeServer) SetTrailer

SetTrailer mocks base method.

type MockGitops_GetObjectsToSynchronizeServerMockRecorder

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

MockGitops_GetObjectsToSynchronizeServerMockRecorder is the mock recorder for MockGitops_GetObjectsToSynchronizeServer.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) SendHeader

func (mr *MockGitops_GetObjectsToSynchronizeServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) SetHeader

func (mr *MockGitops_GetObjectsToSynchronizeServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockGitops_GetObjectsToSynchronizeServerMockRecorder) SetTrailer

func (mr *MockGitops_GetObjectsToSynchronizeServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockInboundGrpcToOutboundHttpStream

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

MockInboundGrpcToOutboundHttpStream is a mock of InboundGrpcToOutboundHttpStream interface.

func NewMockInboundGrpcToOutboundHttpStream

func NewMockInboundGrpcToOutboundHttpStream(ctrl *gomock.Controller) *MockInboundGrpcToOutboundHttpStream

NewMockInboundGrpcToOutboundHttpStream creates a new mock instance.

func (*MockInboundGrpcToOutboundHttpStream) Context

Context mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) EXPECT

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

func (*MockInboundGrpcToOutboundHttpStream) RecvMsg

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

RecvMsg mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) Send

Send mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) SendHeader

SendHeader mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) SendMsg

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

SendMsg mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) SetHeader

SetHeader mocks base method.

func (*MockInboundGrpcToOutboundHttpStream) SetTrailer

func (m *MockInboundGrpcToOutboundHttpStream) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockInboundGrpcToOutboundHttpStreamMockRecorder

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

MockInboundGrpcToOutboundHttpStreamMockRecorder is the mock recorder for MockInboundGrpcToOutboundHttpStream.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) Context

Context indicates an expected call of Context.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) Send

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

Send indicates an expected call of Send.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) SendHeader

func (mr *MockInboundGrpcToOutboundHttpStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) SetHeader

func (mr *MockInboundGrpcToOutboundHttpStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockInboundGrpcToOutboundHttpStreamMockRecorder) SetTrailer

func (mr *MockInboundGrpcToOutboundHttpStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockObjectsToSynchronizeWatcherInterface

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

MockObjectsToSynchronizeWatcherInterface is a mock of ObjectsToSynchronizeWatcherInterface interface.

func NewMockObjectsToSynchronizeWatcherInterface

func NewMockObjectsToSynchronizeWatcherInterface(ctrl *gomock.Controller) *MockObjectsToSynchronizeWatcherInterface

NewMockObjectsToSynchronizeWatcherInterface creates a new mock instance.

func (*MockObjectsToSynchronizeWatcherInterface) EXPECT

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

func (*MockObjectsToSynchronizeWatcherInterface) Watch

Watch mocks base method.

type MockObjectsToSynchronizeWatcherInterfaceMockRecorder

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

MockObjectsToSynchronizeWatcherInterfaceMockRecorder is the mock recorder for MockObjectsToSynchronizeWatcherInterface.

func (*MockObjectsToSynchronizeWatcherInterfaceMockRecorder) Watch

func (mr *MockObjectsToSynchronizeWatcherInterfaceMockRecorder) Watch(arg0, arg1, arg2 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockPoolConn

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

MockPoolConn is a mock of PoolConn interface.

func NewMockPoolConn

func NewMockPoolConn(ctrl *gomock.Controller) *MockPoolConn

NewMockPoolConn creates a new mock instance.

func (*MockPoolConn) Done

func (m *MockPoolConn) Done()

Done mocks base method.

func (*MockPoolConn) EXPECT

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

func (*MockPoolConn) Invoke

func (m *MockPoolConn) Invoke(arg0 context.Context, arg1 string, arg2, arg3 interface{}, arg4 ...grpc.CallOption) error

Invoke mocks base method.

func (*MockPoolConn) NewStream

func (m *MockPoolConn) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, arg3 ...grpc.CallOption) (grpc.ClientStream, error)

NewStream mocks base method.

type MockPoolConnMockRecorder

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

MockPoolConnMockRecorder is the mock recorder for MockPoolConn.

func (*MockPoolConnMockRecorder) Done

func (mr *MockPoolConnMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done.

func (*MockPoolConnMockRecorder) Invoke

func (mr *MockPoolConnMockRecorder) Invoke(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

Invoke indicates an expected call of Invoke.

func (*MockPoolConnMockRecorder) NewStream

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

NewStream indicates an expected call of NewStream.

type MockPoolInterface added in v15.6.0

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

MockPoolInterface is a mock of PoolInterface interface.

func NewMockPoolInterface added in v15.6.0

func NewMockPoolInterface(ctrl *gomock.Controller) *MockPoolInterface

NewMockPoolInterface creates a new mock instance.

func (*MockPoolInterface) Close added in v15.6.0

func (m *MockPoolInterface) Close() error

Close mocks base method.

func (*MockPoolInterface) Dial added in v15.6.0

Dial mocks base method.

func (*MockPoolInterface) EXPECT added in v15.6.0

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

type MockPoolInterfaceMockRecorder added in v15.6.0

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

MockPoolInterfaceMockRecorder is the mock recorder for MockPoolInterface.

func (*MockPoolInterfaceMockRecorder) Close added in v15.6.0

Close indicates an expected call of Close.

func (*MockPoolInterfaceMockRecorder) Dial added in v15.6.0

func (mr *MockPoolInterfaceMockRecorder) Dial(arg0, arg1 interface{}) *gomock.Call

Dial indicates an expected call of Dial.

type MockResponseWriterFlusher

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

MockResponseWriterFlusher is a mock of ResponseWriterFlusher interface.

func NewMockResponseWriterFlusher

func NewMockResponseWriterFlusher(ctrl *gomock.Controller) *MockResponseWriterFlusher

NewMockResponseWriterFlusher creates a new mock instance.

func (*MockResponseWriterFlusher) EXPECT

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

func (*MockResponseWriterFlusher) Flush

func (m *MockResponseWriterFlusher) Flush()

Flush mocks base method.

func (*MockResponseWriterFlusher) Header

Header mocks base method.

func (*MockResponseWriterFlusher) Hijack added in v15.1.0

Hijack mocks base method.

func (*MockResponseWriterFlusher) Write

func (m *MockResponseWriterFlusher) Write(arg0 []byte) (int, error)

Write mocks base method.

func (*MockResponseWriterFlusher) WriteHeader

func (m *MockResponseWriterFlusher) WriteHeader(arg0 int)

WriteHeader mocks base method.

type MockResponseWriterFlusherMockRecorder

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

MockResponseWriterFlusherMockRecorder is the mock recorder for MockResponseWriterFlusher.

func (*MockResponseWriterFlusherMockRecorder) Flush

Flush indicates an expected call of Flush.

func (*MockResponseWriterFlusherMockRecorder) Header

Header indicates an expected call of Header.

func (*MockResponseWriterFlusherMockRecorder) Hijack added in v15.1.0

Hijack indicates an expected call of Hijack.

func (*MockResponseWriterFlusherMockRecorder) Write

func (mr *MockResponseWriterFlusherMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

func (*MockResponseWriterFlusherMockRecorder) WriteHeader

func (mr *MockResponseWriterFlusherMockRecorder) WriteHeader(arg0 interface{}) *gomock.Call

WriteHeader indicates an expected call of WriteHeader.

type MockServerStream

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

MockServerStream is a mock of ServerStream interface.

func NewMockServerStream

func NewMockServerStream(ctrl *gomock.Controller) *MockServerStream

NewMockServerStream creates a new mock instance.

func (*MockServerStream) Context

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

Context mocks base method.

func (*MockServerStream) EXPECT

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

func (*MockServerStream) RecvMsg

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

RecvMsg mocks base method.

func (*MockServerStream) SendHeader

func (m *MockServerStream) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockServerStream) SendMsg

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

SendMsg mocks base method.

func (*MockServerStream) SetHeader

func (m *MockServerStream) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockServerStream) SetTrailer

func (m *MockServerStream) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockServerStreamMockRecorder

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

MockServerStreamMockRecorder is the mock recorder for MockServerStream.

func (*MockServerStreamMockRecorder) Context

func (mr *MockServerStreamMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context.

func (*MockServerStreamMockRecorder) RecvMsg

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

RecvMsg indicates an expected call of RecvMsg.

func (*MockServerStreamMockRecorder) SendHeader

func (mr *MockServerStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockServerStreamMockRecorder) SendMsg

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

SendMsg indicates an expected call of SendMsg.

func (*MockServerStreamMockRecorder) SetHeader

func (mr *MockServerStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockServerStreamMockRecorder) SetTrailer

func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type MockServerTransportStream

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

MockServerTransportStream is a mock of ServerTransportStream interface.

func NewMockServerTransportStream

func NewMockServerTransportStream(ctrl *gomock.Controller) *MockServerTransportStream

NewMockServerTransportStream creates a new mock instance.

func (*MockServerTransportStream) EXPECT

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

func (*MockServerTransportStream) Method

func (m *MockServerTransportStream) Method() string

Method mocks base method.

func (*MockServerTransportStream) SendHeader

func (m *MockServerTransportStream) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockServerTransportStream) SetHeader

func (m *MockServerTransportStream) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockServerTransportStream) SetTrailer

func (m *MockServerTransportStream) SetTrailer(arg0 metadata.MD) error

SetTrailer mocks base method.

type MockServerTransportStreamMockRecorder

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

MockServerTransportStreamMockRecorder is the mock recorder for MockServerTransportStream.

func (*MockServerTransportStreamMockRecorder) Method

Method indicates an expected call of Method.

func (*MockServerTransportStreamMockRecorder) SendHeader

func (mr *MockServerTransportStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call

SendHeader indicates an expected call of SendHeader.

func (*MockServerTransportStreamMockRecorder) SetHeader

func (mr *MockServerTransportStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call

SetHeader indicates an expected call of SetHeader.

func (*MockServerTransportStreamMockRecorder) SetTrailer

func (mr *MockServerTransportStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call

SetTrailer indicates an expected call of SetTrailer.

type ResponseWriterFlusher

type ResponseWriterFlusher interface {
	http.ResponseWriter
	http.Flusher
	http.Hijacker
}

Jump to

Keyboard shortcuts

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