Documentation ¶
Overview ¶
Package mock_rpc is a generated GoMock package.
Package mock_rpc is a generated GoMock package.
Package mock_rpc contains mocks for gRPC 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.
Index ¶
- type AgentConfiguration_GetConfigurationClient
- type AgentConfiguration_GetConfigurationServer
- type MockAgentConfigurationClient
- type MockAgentConfigurationClientGetConfigurationCall
- func (c *MockAgentConfigurationClientGetConfigurationCall) Do(...) *MockAgentConfigurationClientGetConfigurationCall
- func (c *MockAgentConfigurationClientGetConfigurationCall) DoAndReturn(...) *MockAgentConfigurationClientGetConfigurationCall
- func (c *MockAgentConfigurationClientGetConfigurationCall) Return(arg0 grpc.ServerStreamingClient[rpc.ConfigurationResponse], arg1 error) *MockAgentConfigurationClientGetConfigurationCall
- type MockAgentConfigurationClientMockRecorder
- type MockAgentConfigurationServer
- type MockAgentConfigurationServerGetConfigurationCall
- func (c *MockAgentConfigurationServerGetConfigurationCall) Do(f func(*rpc.ConfigurationRequest, ...) error) *MockAgentConfigurationServerGetConfigurationCall
- func (c *MockAgentConfigurationServerGetConfigurationCall) DoAndReturn(f func(*rpc.ConfigurationRequest, ...) error) *MockAgentConfigurationServerGetConfigurationCall
- func (c *MockAgentConfigurationServerGetConfigurationCall) Return(arg0 error) *MockAgentConfigurationServerGetConfigurationCall
- type MockAgentConfigurationServerMockRecorder
- type MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
- func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do(f func()) ...
- func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn(f func()) ...
- func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return() ...
- type MockAgentConfiguration_GetConfigurationClient
- func (m *MockAgentConfiguration_GetConfigurationClient) CloseSend() error
- func (m *MockAgentConfiguration_GetConfigurationClient) Context() context.Context
- func (m *MockAgentConfiguration_GetConfigurationClient) EXPECT() *MockAgentConfiguration_GetConfigurationClientMockRecorder
- func (m *MockAgentConfiguration_GetConfigurationClient) Header() (metadata.MD, error)
- func (m *MockAgentConfiguration_GetConfigurationClient) Recv() (*rpc.ConfigurationResponse, error)
- func (m_2 *MockAgentConfiguration_GetConfigurationClient) RecvMsg(m any) error
- func (m_2 *MockAgentConfiguration_GetConfigurationClient) SendMsg(m any) error
- func (m *MockAgentConfiguration_GetConfigurationClient) Trailer() metadata.MD
- type MockAgentConfiguration_GetConfigurationClientCloseSendCall
- func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) Do(f func() error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
- func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) DoAndReturn(f func() error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
- func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
- type MockAgentConfiguration_GetConfigurationClientContextCall
- func (c *MockAgentConfiguration_GetConfigurationClientContextCall) Do(f func() context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
- func (c *MockAgentConfiguration_GetConfigurationClientContextCall) DoAndReturn(f func() context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
- func (c *MockAgentConfiguration_GetConfigurationClientContextCall) Return(arg0 context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
- type MockAgentConfiguration_GetConfigurationClientHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) Do(f func() (metadata.MD, error)) *MockAgentConfiguration_GetConfigurationClientHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockAgentConfiguration_GetConfigurationClientHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockAgentConfiguration_GetConfigurationClientHeaderCall
- type MockAgentConfiguration_GetConfigurationClientMockRecorder
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) CloseSend() *MockAgentConfiguration_GetConfigurationClientCloseSendCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Context() *MockAgentConfiguration_GetConfigurationClientContextCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Header() *MockAgentConfiguration_GetConfigurationClientHeaderCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Recv() *MockAgentConfiguration_GetConfigurationClientRecvCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) RecvMsg(m any) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) SendMsg(m any) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
- func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Trailer() *MockAgentConfiguration_GetConfigurationClientTrailerCall
- type MockAgentConfiguration_GetConfigurationClientRecvCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) Do(f func() (*rpc.ConfigurationResponse, error)) *MockAgentConfiguration_GetConfigurationClientRecvCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) DoAndReturn(f func() (*rpc.ConfigurationResponse, error)) *MockAgentConfiguration_GetConfigurationClientRecvCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) Return(arg0 *rpc.ConfigurationResponse, arg1 error) *MockAgentConfiguration_GetConfigurationClientRecvCall
- type MockAgentConfiguration_GetConfigurationClientRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
- type MockAgentConfiguration_GetConfigurationClientSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
- type MockAgentConfiguration_GetConfigurationClientTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) Do(f func() metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) Return(arg0 metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
- type MockAgentConfiguration_GetConfigurationServer
- func (m *MockAgentConfiguration_GetConfigurationServer) Context() context.Context
- func (m *MockAgentConfiguration_GetConfigurationServer) EXPECT() *MockAgentConfiguration_GetConfigurationServerMockRecorder
- func (m_2 *MockAgentConfiguration_GetConfigurationServer) RecvMsg(m any) error
- func (m *MockAgentConfiguration_GetConfigurationServer) Send(arg0 *rpc.ConfigurationResponse) error
- func (m *MockAgentConfiguration_GetConfigurationServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockAgentConfiguration_GetConfigurationServer) SendMsg(m any) error
- func (m *MockAgentConfiguration_GetConfigurationServer) SetHeader(arg0 metadata.MD) error
- func (m *MockAgentConfiguration_GetConfigurationServer) SetTrailer(arg0 metadata.MD)
- type MockAgentConfiguration_GetConfigurationServerContextCall
- func (c *MockAgentConfiguration_GetConfigurationServerContextCall) Do(f func() context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
- func (c *MockAgentConfiguration_GetConfigurationServerContextCall) DoAndReturn(f func() context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
- func (c *MockAgentConfiguration_GetConfigurationServerContextCall) Return(arg0 context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
- type MockAgentConfiguration_GetConfigurationServerMockRecorder
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) Context() *MockAgentConfiguration_GetConfigurationServerContextCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) RecvMsg(m any) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) Send(arg0 any) *MockAgentConfiguration_GetConfigurationServerSendCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SendHeader(arg0 any) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SendMsg(m any) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SetHeader(arg0 any) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
- func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SetTrailer(arg0 any) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
- type MockAgentConfiguration_GetConfigurationServerRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
- type MockAgentConfiguration_GetConfigurationServerSendCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendCall) Do(f func(*rpc.ConfigurationResponse) error) *MockAgentConfiguration_GetConfigurationServerSendCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendCall) DoAndReturn(f func(*rpc.ConfigurationResponse) error) *MockAgentConfiguration_GetConfigurationServerSendCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendCall
- type MockAgentConfiguration_GetConfigurationServerSendHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Do(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
- type MockAgentConfiguration_GetConfigurationServerSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
- func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
- type MockAgentConfiguration_GetConfigurationServerSetHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Do(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
- type MockAgentConfiguration_GetConfigurationServerSetTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Do(f func(metadata.MD)) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
- func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Return() *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
- type MockClientConnInterface
- func (m *MockClientConnInterface) EXPECT() *MockClientConnInterfaceMockRecorder
- func (m *MockClientConnInterface) Invoke(arg0 context.Context, arg1 string, arg2, arg3 any, arg4 ...grpc.CallOption) error
- func (m *MockClientConnInterface) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, ...) (grpc.ClientStream, error)
- type MockClientConnInterfaceInvokeCall
- func (c *MockClientConnInterfaceInvokeCall) Do(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockClientConnInterfaceInvokeCall
- func (c *MockClientConnInterfaceInvokeCall) DoAndReturn(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockClientConnInterfaceInvokeCall
- func (c *MockClientConnInterfaceInvokeCall) Return(arg0 error) *MockClientConnInterfaceInvokeCall
- type MockClientConnInterfaceMockRecorder
- type MockClientConnInterfaceNewStreamCall
- func (c *MockClientConnInterfaceNewStreamCall) Do(...) *MockClientConnInterfaceNewStreamCall
- func (c *MockClientConnInterfaceNewStreamCall) DoAndReturn(...) *MockClientConnInterfaceNewStreamCall
- func (c *MockClientConnInterfaceNewStreamCall) Return(arg0 grpc.ClientStream, arg1 error) *MockClientConnInterfaceNewStreamCall
- type MockClientStream
- func (m *MockClientStream) CloseSend() error
- func (m *MockClientStream) Context() context.Context
- func (m *MockClientStream) EXPECT() *MockClientStreamMockRecorder
- func (m *MockClientStream) Header() (metadata.MD, error)
- func (m *MockClientStream) RecvMsg(arg0 any) error
- func (m *MockClientStream) SendMsg(arg0 any) error
- func (m *MockClientStream) Trailer() metadata.MD
- type MockClientStreamCloseSendCall
- type MockClientStreamContextCall
- type MockClientStreamHeaderCall
- func (c *MockClientStreamHeaderCall) Do(f func() (metadata.MD, error)) *MockClientStreamHeaderCall
- func (c *MockClientStreamHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockClientStreamHeaderCall
- func (c *MockClientStreamHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockClientStreamHeaderCall
- type MockClientStreamMockRecorder
- func (mr *MockClientStreamMockRecorder) CloseSend() *MockClientStreamCloseSendCall
- func (mr *MockClientStreamMockRecorder) Context() *MockClientStreamContextCall
- func (mr *MockClientStreamMockRecorder) Header() *MockClientStreamHeaderCall
- func (mr *MockClientStreamMockRecorder) RecvMsg(arg0 any) *MockClientStreamRecvMsgCall
- func (mr *MockClientStreamMockRecorder) SendMsg(arg0 any) *MockClientStreamSendMsgCall
- func (mr *MockClientStreamMockRecorder) Trailer() *MockClientStreamTrailerCall
- type MockClientStreamRecvMsgCall
- type MockClientStreamSendMsgCall
- type MockClientStreamTrailerCall
- type MockConfigurationWatcherInterface
- type MockConfigurationWatcherInterfaceMockRecorder
- type MockConfigurationWatcherInterfaceWatchCall
- func (c *MockConfigurationWatcherInterfaceWatchCall) Do(f func(context.Context, rpc.ConfigurationCallback)) *MockConfigurationWatcherInterfaceWatchCall
- func (c *MockConfigurationWatcherInterfaceWatchCall) DoAndReturn(f func(context.Context, rpc.ConfigurationCallback)) *MockConfigurationWatcherInterfaceWatchCall
- func (c *MockConfigurationWatcherInterfaceWatchCall) Return() *MockConfigurationWatcherInterfaceWatchCall
- type MockGitlabAccess_MakeRequestServer
- func (m *MockGitlabAccess_MakeRequestServer) Context() context.Context
- func (m *MockGitlabAccess_MakeRequestServer) EXPECT() *MockGitlabAccess_MakeRequestServerMockRecorder
- func (m *MockGitlabAccess_MakeRequestServer) Recv() (*grpctool.HttpRequest, error)
- func (m *MockGitlabAccess_MakeRequestServer) RecvMsg(arg0 any) error
- func (m *MockGitlabAccess_MakeRequestServer) Send(arg0 *grpctool.HttpResponse) error
- func (m *MockGitlabAccess_MakeRequestServer) SendHeader(arg0 metadata.MD) error
- func (m *MockGitlabAccess_MakeRequestServer) SendMsg(arg0 any) error
- func (m *MockGitlabAccess_MakeRequestServer) SetHeader(arg0 metadata.MD) error
- func (m *MockGitlabAccess_MakeRequestServer) SetTrailer(arg0 metadata.MD)
- type MockGitlabAccess_MakeRequestServerContextCall
- func (c *MockGitlabAccess_MakeRequestServerContextCall) Do(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall
- func (c *MockGitlabAccess_MakeRequestServerContextCall) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall
- func (c *MockGitlabAccess_MakeRequestServerContextCall) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestServerContextCall
- type MockGitlabAccess_MakeRequestServerMockRecorder
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Context() *MockGitlabAccess_MakeRequestServerContextCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Recv() *MockGitlabAccess_MakeRequestServerRecvCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) RecvMsg(arg0 any) *MockGitlabAccess_MakeRequestServerRecvMsgCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Send(arg0 any) *MockGitlabAccess_MakeRequestServerSendCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SendHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSendHeaderCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SendMsg(arg0 any) *MockGitlabAccess_MakeRequestServerSendMsgCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSetHeaderCall
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetTrailer(arg0 any) *MockGitlabAccess_MakeRequestServerSetTrailerCall
- type MockGitlabAccess_MakeRequestServerRecvCall
- func (c *MockGitlabAccess_MakeRequestServerRecvCall) Do(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall
- func (c *MockGitlabAccess_MakeRequestServerRecvCall) DoAndReturn(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall
- func (c *MockGitlabAccess_MakeRequestServerRecvCall) Return(arg0 *grpctool.HttpRequest, arg1 error) *MockGitlabAccess_MakeRequestServerRecvCall
- type MockGitlabAccess_MakeRequestServerRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
- type MockGitlabAccess_MakeRequestServerSendCall
- func (c *MockGitlabAccess_MakeRequestServerSendCall) Do(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall
- func (c *MockGitlabAccess_MakeRequestServerSendCall) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall
- func (c *MockGitlabAccess_MakeRequestServerSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendCall
- type MockGitlabAccess_MakeRequestServerSendHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
- type MockGitlabAccess_MakeRequestServerSendMsgCall
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendMsgCall
- type MockGitlabAccess_MakeRequestServerSetHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
- type MockGitlabAccess_MakeRequestServerSetTrailerCall
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) Do(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) Return() *MockGitlabAccess_MakeRequestServerSetTrailerCall
- type MockInboundGRPCToOutboundHTTPStream
- func (m *MockInboundGRPCToOutboundHTTPStream) Context() context.Context
- func (m *MockInboundGRPCToOutboundHTTPStream) EXPECT() *MockInboundGRPCToOutboundHTTPStreamMockRecorder
- func (m *MockInboundGRPCToOutboundHTTPStream) RecvMsg(arg0 any) error
- func (m *MockInboundGRPCToOutboundHTTPStream) Send(arg0 *grpctool.HttpResponse) error
- func (m *MockInboundGRPCToOutboundHTTPStream) SendHeader(arg0 metadata.MD) error
- func (m *MockInboundGRPCToOutboundHTTPStream) SendMsg(arg0 any) error
- func (m *MockInboundGRPCToOutboundHTTPStream) SetHeader(arg0 metadata.MD) error
- func (m *MockInboundGRPCToOutboundHTTPStream) SetTrailer(arg0 metadata.MD)
- type MockInboundGRPCToOutboundHTTPStreamContextCall
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) Do(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) DoAndReturn(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) Return(arg0 context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
- type MockInboundGRPCToOutboundHTTPStreamMockRecorder
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) Context() *MockInboundGRPCToOutboundHTTPStreamContextCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) RecvMsg(arg0 any) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) Send(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendMsg(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetTrailer(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- type MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- type MockInboundGRPCToOutboundHTTPStreamSendCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) Do(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendCall
- type MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- type MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- type MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- type MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Do(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Return() *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- type MockPoolConn
- func (m *MockPoolConn) Done()
- func (m *MockPoolConn) EXPECT() *MockPoolConnMockRecorder
- func (m *MockPoolConn) Invoke(arg0 context.Context, arg1 string, arg2, arg3 any, arg4 ...grpc.CallOption) error
- func (m *MockPoolConn) NewStream(arg0 context.Context, arg1 *grpc.StreamDesc, arg2 string, ...) (grpc.ClientStream, error)
- type MockPoolConnDoneCall
- type MockPoolConnInvokeCall
- func (c *MockPoolConnInvokeCall) Do(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockPoolConnInvokeCall
- func (c *MockPoolConnInvokeCall) DoAndReturn(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockPoolConnInvokeCall
- func (c *MockPoolConnInvokeCall) Return(arg0 error) *MockPoolConnInvokeCall
- type MockPoolConnMockRecorder
- type MockPoolConnNewStreamCall
- type MockPoolInterface
- type MockPoolInterfaceDialCall
- func (c *MockPoolInterfaceDialCall) Do(f func(context.Context, string) (grpctool.PoolConn, error)) *MockPoolInterfaceDialCall
- func (c *MockPoolInterfaceDialCall) DoAndReturn(f func(context.Context, string) (grpctool.PoolConn, error)) *MockPoolInterfaceDialCall
- func (c *MockPoolInterfaceDialCall) Return(arg0 grpctool.PoolConn, arg1 error) *MockPoolInterfaceDialCall
- type MockPoolInterfaceMockRecorder
- type MockPoolInterfaceShutdownCall
- type MockServerErrorReporter
- type MockServerErrorReporterMockRecorder
- type MockServerErrorReporterReportCall
- func (c *MockServerErrorReporterReportCall) Do(f func(context.Context, string, error)) *MockServerErrorReporterReportCall
- func (c *MockServerErrorReporterReportCall) DoAndReturn(f func(context.Context, string, error)) *MockServerErrorReporterReportCall
- func (c *MockServerErrorReporterReportCall) Return() *MockServerErrorReporterReportCall
- type MockServerStream
- func (m *MockServerStream) Context() context.Context
- func (m *MockServerStream) EXPECT() *MockServerStreamMockRecorder
- func (m *MockServerStream) RecvMsg(arg0 any) error
- func (m *MockServerStream) SendHeader(arg0 metadata.MD) error
- func (m *MockServerStream) SendMsg(arg0 any) error
- func (m *MockServerStream) SetHeader(arg0 metadata.MD) error
- func (m *MockServerStream) SetTrailer(arg0 metadata.MD)
- type MockServerStreamContextCall
- type MockServerStreamMockRecorder
- func (mr *MockServerStreamMockRecorder) Context() *MockServerStreamContextCall
- func (mr *MockServerStreamMockRecorder) RecvMsg(arg0 any) *MockServerStreamRecvMsgCall
- func (mr *MockServerStreamMockRecorder) SendHeader(arg0 any) *MockServerStreamSendHeaderCall
- func (mr *MockServerStreamMockRecorder) SendMsg(arg0 any) *MockServerStreamSendMsgCall
- func (mr *MockServerStreamMockRecorder) SetHeader(arg0 any) *MockServerStreamSetHeaderCall
- func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 any) *MockServerStreamSetTrailerCall
- type MockServerStreamRecvMsgCall
- type MockServerStreamSendHeaderCall
- func (c *MockServerStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockServerStreamSendHeaderCall
- func (c *MockServerStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerStreamSendHeaderCall
- func (c *MockServerStreamSendHeaderCall) Return(arg0 error) *MockServerStreamSendHeaderCall
- type MockServerStreamSendMsgCall
- type MockServerStreamSetHeaderCall
- func (c *MockServerStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockServerStreamSetHeaderCall
- func (c *MockServerStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerStreamSetHeaderCall
- func (c *MockServerStreamSetHeaderCall) Return(arg0 error) *MockServerStreamSetHeaderCall
- type MockServerStreamSetTrailerCall
- type MockServerTransportStream
- func (m *MockServerTransportStream) EXPECT() *MockServerTransportStreamMockRecorder
- func (m *MockServerTransportStream) Method() string
- func (m *MockServerTransportStream) SendHeader(arg0 metadata.MD) error
- func (m *MockServerTransportStream) SetHeader(arg0 metadata.MD) error
- func (m *MockServerTransportStream) SetTrailer(arg0 metadata.MD) error
- type MockServerTransportStreamMethodCall
- func (c *MockServerTransportStreamMethodCall) Do(f func() string) *MockServerTransportStreamMethodCall
- func (c *MockServerTransportStreamMethodCall) DoAndReturn(f func() string) *MockServerTransportStreamMethodCall
- func (c *MockServerTransportStreamMethodCall) Return(arg0 string) *MockServerTransportStreamMethodCall
- type MockServerTransportStreamMockRecorder
- func (mr *MockServerTransportStreamMockRecorder) Method() *MockServerTransportStreamMethodCall
- func (mr *MockServerTransportStreamMockRecorder) SendHeader(arg0 any) *MockServerTransportStreamSendHeaderCall
- func (mr *MockServerTransportStreamMockRecorder) SetHeader(arg0 any) *MockServerTransportStreamSetHeaderCall
- func (mr *MockServerTransportStreamMockRecorder) SetTrailer(arg0 any) *MockServerTransportStreamSetTrailerCall
- type MockServerTransportStreamSendHeaderCall
- func (c *MockServerTransportStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSendHeaderCall
- func (c *MockServerTransportStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSendHeaderCall
- func (c *MockServerTransportStreamSendHeaderCall) Return(arg0 error) *MockServerTransportStreamSendHeaderCall
- type MockServerTransportStreamSetHeaderCall
- func (c *MockServerTransportStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSetHeaderCall
- func (c *MockServerTransportStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSetHeaderCall
- func (c *MockServerTransportStreamSetHeaderCall) Return(arg0 error) *MockServerTransportStreamSetHeaderCall
- type MockServerTransportStreamSetTrailerCall
- func (c *MockServerTransportStreamSetTrailerCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSetTrailerCall
- func (c *MockServerTransportStreamSetTrailerCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSetTrailerCall
- func (c *MockServerTransportStreamSetTrailerCall) Return(arg0 error) *MockServerTransportStreamSetTrailerCall
- type MockUnsafeAgentConfigurationServer
- type MockUnsafeAgentConfigurationServerMockRecorder
- type MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
- func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do(f func()) ...
- func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn(f func()) ...
- func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return() ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentConfiguration_GetConfigurationClient ¶ added in v17.3.0
type AgentConfiguration_GetConfigurationClient interface { grpc.ServerStreamingClient[rpc.ConfigurationResponse] }
Workaround for https://github.com/uber-go/mock/issues/197.
type AgentConfiguration_GetConfigurationServer ¶ added in v17.3.0
type AgentConfiguration_GetConfigurationServer interface { grpc.ServerStreamingServer[rpc.ConfigurationResponse] }
Workaround for https://github.com/uber-go/mock/issues/197.
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 ¶
func (m *MockAgentConfigurationClient) EXPECT() *MockAgentConfigurationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentConfigurationClient) GetConfiguration ¶
func (m *MockAgentConfigurationClient) GetConfiguration(ctx context.Context, in *rpc.ConfigurationRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[rpc.ConfigurationResponse], error)
GetConfiguration mocks base method.
type MockAgentConfigurationClientGetConfigurationCall ¶
MockAgentConfigurationClientGetConfigurationCall wrap *gomock.Call
func (*MockAgentConfigurationClientGetConfigurationCall) Do ¶
func (c *MockAgentConfigurationClientGetConfigurationCall) Do(f func(context.Context, *rpc.ConfigurationRequest, ...grpc.CallOption) (grpc.ServerStreamingClient[rpc.ConfigurationResponse], error)) *MockAgentConfigurationClientGetConfigurationCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfigurationClientGetConfigurationCall) DoAndReturn ¶
func (c *MockAgentConfigurationClientGetConfigurationCall) DoAndReturn(f func(context.Context, *rpc.ConfigurationRequest, ...grpc.CallOption) (grpc.ServerStreamingClient[rpc.ConfigurationResponse], error)) *MockAgentConfigurationClientGetConfigurationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfigurationClientGetConfigurationCall) Return ¶
func (c *MockAgentConfigurationClientGetConfigurationCall) Return(arg0 grpc.ServerStreamingClient[rpc.ConfigurationResponse], arg1 error) *MockAgentConfigurationClientGetConfigurationCall
Return rewrite *gomock.Call.Return
type MockAgentConfigurationClientMockRecorder ¶
type MockAgentConfigurationClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentConfigurationClientMockRecorder is the mock recorder for MockAgentConfigurationClient.
func (*MockAgentConfigurationClientMockRecorder) GetConfiguration ¶
func (mr *MockAgentConfigurationClientMockRecorder) GetConfiguration(ctx, in any, opts ...any) *MockAgentConfigurationClientGetConfigurationCall
GetConfiguration indicates an expected call of GetConfiguration.
type MockAgentConfigurationServer ¶ added in v17.3.0
type MockAgentConfigurationServer struct {
// contains filtered or unexported fields
}
MockAgentConfigurationServer is a mock of AgentConfigurationServer interface.
func NewMockAgentConfigurationServer ¶ added in v17.3.0
func NewMockAgentConfigurationServer(ctrl *gomock.Controller) *MockAgentConfigurationServer
NewMockAgentConfigurationServer creates a new mock instance.
func (*MockAgentConfigurationServer) EXPECT ¶ added in v17.3.0
func (m *MockAgentConfigurationServer) EXPECT() *MockAgentConfigurationServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentConfigurationServer) GetConfiguration ¶ added in v17.3.0
func (m *MockAgentConfigurationServer) GetConfiguration(arg0 *rpc.ConfigurationRequest, arg1 grpc.ServerStreamingServer[rpc.ConfigurationResponse]) error
GetConfiguration mocks base method.
type MockAgentConfigurationServerGetConfigurationCall ¶ added in v17.3.0
MockAgentConfigurationServerGetConfigurationCall wrap *gomock.Call
func (*MockAgentConfigurationServerGetConfigurationCall) Do ¶ added in v17.3.0
func (c *MockAgentConfigurationServerGetConfigurationCall) Do(f func(*rpc.ConfigurationRequest, grpc.ServerStreamingServer[rpc.ConfigurationResponse]) error) *MockAgentConfigurationServerGetConfigurationCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfigurationServerGetConfigurationCall) DoAndReturn ¶ added in v17.3.0
func (c *MockAgentConfigurationServerGetConfigurationCall) DoAndReturn(f func(*rpc.ConfigurationRequest, grpc.ServerStreamingServer[rpc.ConfigurationResponse]) error) *MockAgentConfigurationServerGetConfigurationCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfigurationServerGetConfigurationCall) Return ¶ added in v17.3.0
func (c *MockAgentConfigurationServerGetConfigurationCall) Return(arg0 error) *MockAgentConfigurationServerGetConfigurationCall
Return rewrite *gomock.Call.Return
type MockAgentConfigurationServerMockRecorder ¶ added in v17.3.0
type MockAgentConfigurationServerMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentConfigurationServerMockRecorder is the mock recorder for MockAgentConfigurationServer.
func (*MockAgentConfigurationServerMockRecorder) GetConfiguration ¶ added in v17.3.0
func (mr *MockAgentConfigurationServerMockRecorder) GetConfiguration(arg0, arg1 any) *MockAgentConfigurationServerGetConfigurationCall
GetConfiguration indicates an expected call of GetConfiguration.
type MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall ¶ added in v17.3.0
type MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall struct {
*gomock.Call
}
MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall wrap *gomock.Call
func (*MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do ¶ added in v17.3.0
func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do(f func()) *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn(f func()) *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return ¶ added in v17.3.0
func (c *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return() *MockAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockAgentConfiguration_GetConfigurationClient) CloseSend() error
CloseSend mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) Context ¶
func (m *MockAgentConfiguration_GetConfigurationClient) Context() context.Context
Context mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) EXPECT ¶
func (m *MockAgentConfiguration_GetConfigurationClient) EXPECT() *MockAgentConfiguration_GetConfigurationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentConfiguration_GetConfigurationClient) Header ¶
func (m *MockAgentConfiguration_GetConfigurationClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) Recv ¶
func (m *MockAgentConfiguration_GetConfigurationClient) Recv() (*rpc.ConfigurationResponse, error)
Recv mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) RecvMsg ¶
func (m_2 *MockAgentConfiguration_GetConfigurationClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) SendMsg ¶
func (m_2 *MockAgentConfiguration_GetConfigurationClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockAgentConfiguration_GetConfigurationClient) Trailer ¶
func (m *MockAgentConfiguration_GetConfigurationClient) Trailer() metadata.MD
Trailer mocks base method.
type MockAgentConfiguration_GetConfigurationClientCloseSendCall ¶
MockAgentConfiguration_GetConfigurationClientCloseSendCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientCloseSendCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) Do(f func() error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientCloseSendCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) DoAndReturn(f func() error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientCloseSendCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientCloseSendCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientCloseSendCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationClientContextCall ¶
MockAgentConfiguration_GetConfigurationClientContextCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientContextCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientContextCall) Do(f func() context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientContextCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientContextCall) DoAndReturn(f func() context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientContextCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientContextCall) Return(arg0 context.Context) *MockAgentConfiguration_GetConfigurationClientContextCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationClientHeaderCall ¶
MockAgentConfiguration_GetConfigurationClientHeaderCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientHeaderCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) Do(f func() (metadata.MD, error)) *MockAgentConfiguration_GetConfigurationClientHeaderCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientHeaderCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockAgentConfiguration_GetConfigurationClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientHeaderCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockAgentConfiguration_GetConfigurationClientHeaderCall
Return rewrite *gomock.Call.Return
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 ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) CloseSend() *MockAgentConfiguration_GetConfigurationClientCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Context ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Context() *MockAgentConfiguration_GetConfigurationClientContextCall
Context indicates an expected call of Context.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Header ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Header() *MockAgentConfiguration_GetConfigurationClientHeaderCall
Header indicates an expected call of Header.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Recv ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Recv() *MockAgentConfiguration_GetConfigurationClientRecvCall
Recv indicates an expected call of Recv.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) RecvMsg ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) RecvMsg(m any) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) SendMsg ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) SendMsg(m any) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockAgentConfiguration_GetConfigurationClientMockRecorder) Trailer ¶
func (mr *MockAgentConfiguration_GetConfigurationClientMockRecorder) Trailer() *MockAgentConfiguration_GetConfigurationClientTrailerCall
Trailer indicates an expected call of Trailer.
type MockAgentConfiguration_GetConfigurationClientRecvCall ¶
MockAgentConfiguration_GetConfigurationClientRecvCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientRecvCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) Do(f func() (*rpc.ConfigurationResponse, error)) *MockAgentConfiguration_GetConfigurationClientRecvCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientRecvCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) DoAndReturn(f func() (*rpc.ConfigurationResponse, error)) *MockAgentConfiguration_GetConfigurationClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientRecvCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvCall) Return(arg0 *rpc.ConfigurationResponse, arg1 error) *MockAgentConfiguration_GetConfigurationClientRecvCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationClientRecvMsgCall ¶
MockAgentConfiguration_GetConfigurationClientRecvMsgCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientRecvMsgCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientRecvMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientRecvMsgCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationClientSendMsgCall ¶
MockAgentConfiguration_GetConfigurationClientSendMsgCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientSendMsgCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientSendMsgCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientSendMsgCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientSendMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationClientSendMsgCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationClientTrailerCall ¶
MockAgentConfiguration_GetConfigurationClientTrailerCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationClientTrailerCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) Do(f func() metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationClientTrailerCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationClientTrailerCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationClientTrailerCall) Return(arg0 metadata.MD) *MockAgentConfiguration_GetConfigurationClientTrailerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockAgentConfiguration_GetConfigurationServer) Context() context.Context
Context mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) EXPECT ¶
func (m *MockAgentConfiguration_GetConfigurationServer) EXPECT() *MockAgentConfiguration_GetConfigurationServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentConfiguration_GetConfigurationServer) RecvMsg ¶
func (m_2 *MockAgentConfiguration_GetConfigurationServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) Send ¶
func (m *MockAgentConfiguration_GetConfigurationServer) Send(arg0 *rpc.ConfigurationResponse) error
Send mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) SendHeader ¶
func (m *MockAgentConfiguration_GetConfigurationServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) SendMsg ¶
func (m_2 *MockAgentConfiguration_GetConfigurationServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) SetHeader ¶
func (m *MockAgentConfiguration_GetConfigurationServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockAgentConfiguration_GetConfigurationServer) SetTrailer ¶
func (m *MockAgentConfiguration_GetConfigurationServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockAgentConfiguration_GetConfigurationServerContextCall ¶
MockAgentConfiguration_GetConfigurationServerContextCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerContextCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerContextCall) Do(f func() context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerContextCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerContextCall) DoAndReturn(f func() context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerContextCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerContextCall) Return(arg0 context.Context) *MockAgentConfiguration_GetConfigurationServerContextCall
Return rewrite *gomock.Call.Return
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 ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) Context() *MockAgentConfiguration_GetConfigurationServerContextCall
Context indicates an expected call of Context.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) RecvMsg ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) RecvMsg(m any) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) Send ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) Send(arg0 any) *MockAgentConfiguration_GetConfigurationServerSendCall
Send indicates an expected call of Send.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SendHeader ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SendHeader(arg0 any) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SendMsg ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SendMsg(m any) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SetHeader ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SetHeader(arg0 any) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockAgentConfiguration_GetConfigurationServerMockRecorder) SetTrailer ¶
func (mr *MockAgentConfiguration_GetConfigurationServerMockRecorder) SetTrailer(arg0 any) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockAgentConfiguration_GetConfigurationServerRecvMsgCall ¶
MockAgentConfiguration_GetConfigurationServerRecvMsgCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerRecvMsgCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerRecvMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerRecvMsgCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationServerSendCall ¶
MockAgentConfiguration_GetConfigurationServerSendCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerSendCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendCall) Do(f func(*rpc.ConfigurationResponse) error) *MockAgentConfiguration_GetConfigurationServerSendCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerSendCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendCall) DoAndReturn(f func(*rpc.ConfigurationResponse) error) *MockAgentConfiguration_GetConfigurationServerSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerSendCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationServerSendHeaderCall ¶
MockAgentConfiguration_GetConfigurationServerSendHeaderCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Do(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerSendHeaderCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendHeaderCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendHeaderCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationServerSendMsgCall ¶
MockAgentConfiguration_GetConfigurationServerSendMsgCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerSendMsgCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) Do(f func(any) error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerSendMsgCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) DoAndReturn(f func(any) error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerSendMsgCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerSendMsgCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSendMsgCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationServerSetHeaderCall ¶
MockAgentConfiguration_GetConfigurationServerSetHeaderCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Do(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerSetHeaderCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetHeaderCall) Return(arg0 error) *MockAgentConfiguration_GetConfigurationServerSetHeaderCall
Return rewrite *gomock.Call.Return
type MockAgentConfiguration_GetConfigurationServerSetTrailerCall ¶
MockAgentConfiguration_GetConfigurationServerSetTrailerCall wrap *gomock.Call
func (*MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Do ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Do(f func(metadata.MD)) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockAgentConfiguration_GetConfigurationServerSetTrailerCall) DoAndReturn ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Return ¶
func (c *MockAgentConfiguration_GetConfigurationServerSetTrailerCall) Return() *MockAgentConfiguration_GetConfigurationServerSetTrailerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockClientConnInterface) EXPECT() *MockClientConnInterfaceMockRecorder
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 any, 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 MockClientConnInterfaceInvokeCall ¶
MockClientConnInterfaceInvokeCall wrap *gomock.Call
func (*MockClientConnInterfaceInvokeCall) Do ¶
func (c *MockClientConnInterfaceInvokeCall) Do(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockClientConnInterfaceInvokeCall
Do rewrite *gomock.Call.Do
func (*MockClientConnInterfaceInvokeCall) DoAndReturn ¶
func (c *MockClientConnInterfaceInvokeCall) DoAndReturn(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockClientConnInterfaceInvokeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientConnInterfaceInvokeCall) Return ¶
func (c *MockClientConnInterfaceInvokeCall) Return(arg0 error) *MockClientConnInterfaceInvokeCall
Return rewrite *gomock.Call.Return
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 any, arg4 ...any) *MockClientConnInterfaceInvokeCall
Invoke indicates an expected call of Invoke.
func (*MockClientConnInterfaceMockRecorder) NewStream ¶
func (mr *MockClientConnInterfaceMockRecorder) NewStream(arg0, arg1, arg2 any, arg3 ...any) *MockClientConnInterfaceNewStreamCall
NewStream indicates an expected call of NewStream.
type MockClientConnInterfaceNewStreamCall ¶
MockClientConnInterfaceNewStreamCall wrap *gomock.Call
func (*MockClientConnInterfaceNewStreamCall) Do ¶
func (c *MockClientConnInterfaceNewStreamCall) Do(f func(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)) *MockClientConnInterfaceNewStreamCall
Do rewrite *gomock.Call.Do
func (*MockClientConnInterfaceNewStreamCall) DoAndReturn ¶
func (c *MockClientConnInterfaceNewStreamCall) DoAndReturn(f func(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)) *MockClientConnInterfaceNewStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientConnInterfaceNewStreamCall) Return ¶
func (c *MockClientConnInterfaceNewStreamCall) Return(arg0 grpc.ClientStream, arg1 error) *MockClientConnInterfaceNewStreamCall
Return rewrite *gomock.Call.Return
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, []any)
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 ¶
func (m *MockClientStream) EXPECT() *MockClientStreamMockRecorder
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 any) error
RecvMsg mocks base method.
func (*MockClientStream) SendMsg ¶
func (m *MockClientStream) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockClientStream) Trailer ¶
func (m *MockClientStream) Trailer() metadata.MD
Trailer mocks base method.
type MockClientStreamCloseSendCall ¶
MockClientStreamCloseSendCall wrap *gomock.Call
func (*MockClientStreamCloseSendCall) Do ¶
func (c *MockClientStreamCloseSendCall) Do(f func() error) *MockClientStreamCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamCloseSendCall) DoAndReturn ¶
func (c *MockClientStreamCloseSendCall) DoAndReturn(f func() error) *MockClientStreamCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamCloseSendCall) Return ¶
func (c *MockClientStreamCloseSendCall) Return(arg0 error) *MockClientStreamCloseSendCall
Return rewrite *gomock.Call.Return
type MockClientStreamContextCall ¶
MockClientStreamContextCall wrap *gomock.Call
func (*MockClientStreamContextCall) Do ¶
func (c *MockClientStreamContextCall) Do(f func() context.Context) *MockClientStreamContextCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamContextCall) DoAndReturn ¶
func (c *MockClientStreamContextCall) DoAndReturn(f func() context.Context) *MockClientStreamContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamContextCall) Return ¶
func (c *MockClientStreamContextCall) Return(arg0 context.Context) *MockClientStreamContextCall
Return rewrite *gomock.Call.Return
type MockClientStreamHeaderCall ¶
MockClientStreamHeaderCall wrap *gomock.Call
func (*MockClientStreamHeaderCall) Do ¶
func (c *MockClientStreamHeaderCall) Do(f func() (metadata.MD, error)) *MockClientStreamHeaderCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamHeaderCall) DoAndReturn ¶
func (c *MockClientStreamHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockClientStreamHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamHeaderCall) Return ¶
func (c *MockClientStreamHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockClientStreamHeaderCall
Return rewrite *gomock.Call.Return
type MockClientStreamMockRecorder ¶
type MockClientStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockClientStreamMockRecorder is the mock recorder for MockClientStream.
func (*MockClientStreamMockRecorder) CloseSend ¶
func (mr *MockClientStreamMockRecorder) CloseSend() *MockClientStreamCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockClientStreamMockRecorder) Context ¶
func (mr *MockClientStreamMockRecorder) Context() *MockClientStreamContextCall
Context indicates an expected call of Context.
func (*MockClientStreamMockRecorder) Header ¶
func (mr *MockClientStreamMockRecorder) Header() *MockClientStreamHeaderCall
Header indicates an expected call of Header.
func (*MockClientStreamMockRecorder) RecvMsg ¶
func (mr *MockClientStreamMockRecorder) RecvMsg(arg0 any) *MockClientStreamRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockClientStreamMockRecorder) SendMsg ¶
func (mr *MockClientStreamMockRecorder) SendMsg(arg0 any) *MockClientStreamSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockClientStreamMockRecorder) Trailer ¶
func (mr *MockClientStreamMockRecorder) Trailer() *MockClientStreamTrailerCall
Trailer indicates an expected call of Trailer.
type MockClientStreamRecvMsgCall ¶
MockClientStreamRecvMsgCall wrap *gomock.Call
func (*MockClientStreamRecvMsgCall) Do ¶
func (c *MockClientStreamRecvMsgCall) Do(f func(any) error) *MockClientStreamRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamRecvMsgCall) DoAndReturn ¶
func (c *MockClientStreamRecvMsgCall) DoAndReturn(f func(any) error) *MockClientStreamRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamRecvMsgCall) Return ¶
func (c *MockClientStreamRecvMsgCall) Return(arg0 error) *MockClientStreamRecvMsgCall
Return rewrite *gomock.Call.Return
type MockClientStreamSendMsgCall ¶
MockClientStreamSendMsgCall wrap *gomock.Call
func (*MockClientStreamSendMsgCall) Do ¶
func (c *MockClientStreamSendMsgCall) Do(f func(any) error) *MockClientStreamSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamSendMsgCall) DoAndReturn ¶
func (c *MockClientStreamSendMsgCall) DoAndReturn(f func(any) error) *MockClientStreamSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamSendMsgCall) Return ¶
func (c *MockClientStreamSendMsgCall) Return(arg0 error) *MockClientStreamSendMsgCall
Return rewrite *gomock.Call.Return
type MockClientStreamTrailerCall ¶
MockClientStreamTrailerCall wrap *gomock.Call
func (*MockClientStreamTrailerCall) Do ¶
func (c *MockClientStreamTrailerCall) Do(f func() metadata.MD) *MockClientStreamTrailerCall
Do rewrite *gomock.Call.Do
func (*MockClientStreamTrailerCall) DoAndReturn ¶
func (c *MockClientStreamTrailerCall) DoAndReturn(f func() metadata.MD) *MockClientStreamTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockClientStreamTrailerCall) Return ¶
func (c *MockClientStreamTrailerCall) Return(arg0 metadata.MD) *MockClientStreamTrailerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockConfigurationWatcherInterface) EXPECT() *MockConfigurationWatcherInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigurationWatcherInterface) Watch ¶
func (m *MockConfigurationWatcherInterface) Watch(arg0 context.Context, arg1 rpc.ConfigurationCallback)
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 any) *MockConfigurationWatcherInterfaceWatchCall
Watch indicates an expected call of Watch.
type MockConfigurationWatcherInterfaceWatchCall ¶
MockConfigurationWatcherInterfaceWatchCall wrap *gomock.Call
func (*MockConfigurationWatcherInterfaceWatchCall) Do ¶
func (c *MockConfigurationWatcherInterfaceWatchCall) Do(f func(context.Context, rpc.ConfigurationCallback)) *MockConfigurationWatcherInterfaceWatchCall
Do rewrite *gomock.Call.Do
func (*MockConfigurationWatcherInterfaceWatchCall) DoAndReturn ¶
func (c *MockConfigurationWatcherInterfaceWatchCall) DoAndReturn(f func(context.Context, rpc.ConfigurationCallback)) *MockConfigurationWatcherInterfaceWatchCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockConfigurationWatcherInterfaceWatchCall) Return ¶
func (c *MockConfigurationWatcherInterfaceWatchCall) Return() *MockConfigurationWatcherInterfaceWatchCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockGitlabAccess_MakeRequestServer) Context() context.Context
Context mocks base method.
func (*MockGitlabAccess_MakeRequestServer) EXPECT ¶
func (m *MockGitlabAccess_MakeRequestServer) EXPECT() *MockGitlabAccess_MakeRequestServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabAccess_MakeRequestServer) Recv ¶
func (m *MockGitlabAccess_MakeRequestServer) Recv() (*grpctool.HttpRequest, error)
Recv mocks base method.
func (*MockGitlabAccess_MakeRequestServer) RecvMsg ¶
func (m *MockGitlabAccess_MakeRequestServer) RecvMsg(arg0 any) error
RecvMsg mocks base method.
func (*MockGitlabAccess_MakeRequestServer) Send ¶
func (m *MockGitlabAccess_MakeRequestServer) Send(arg0 *grpctool.HttpResponse) error
Send mocks base method.
func (*MockGitlabAccess_MakeRequestServer) SendHeader ¶
func (m *MockGitlabAccess_MakeRequestServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockGitlabAccess_MakeRequestServer) SendMsg ¶
func (m *MockGitlabAccess_MakeRequestServer) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockGitlabAccess_MakeRequestServer) SetHeader ¶
func (m *MockGitlabAccess_MakeRequestServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockGitlabAccess_MakeRequestServer) SetTrailer ¶
func (m *MockGitlabAccess_MakeRequestServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockGitlabAccess_MakeRequestServerContextCall ¶
MockGitlabAccess_MakeRequestServerContextCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerContextCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall) Do(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerContextCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerContextCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestServerContextCall
Return rewrite *gomock.Call.Return
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 ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Context() *MockGitlabAccess_MakeRequestServerContextCall
Context indicates an expected call of Context.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) Recv ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Recv() *MockGitlabAccess_MakeRequestServerRecvCall
Recv indicates an expected call of Recv.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) RecvMsg ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) RecvMsg(arg0 any) *MockGitlabAccess_MakeRequestServerRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) Send ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) Send(arg0 any) *MockGitlabAccess_MakeRequestServerSendCall
Send indicates an expected call of Send.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) SendHeader ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SendHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) SendMsg ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SendMsg(arg0 any) *MockGitlabAccess_MakeRequestServerSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) SetHeader ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockGitlabAccess_MakeRequestServerMockRecorder) SetTrailer ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder) SetTrailer(arg0 any) *MockGitlabAccess_MakeRequestServerSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockGitlabAccess_MakeRequestServerRecvCall ¶
MockGitlabAccess_MakeRequestServerRecvCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerRecvCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall) Do(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerRecvCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall) DoAndReturn(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerRecvCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall) Return(arg0 *grpctool.HttpRequest, arg1 error) *MockGitlabAccess_MakeRequestServerRecvCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerRecvMsgCall ¶
MockGitlabAccess_MakeRequestServerRecvMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerRecvMsgCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendCall ¶
MockGitlabAccess_MakeRequestServerSendCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall) Do(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendHeaderCall ¶
MockGitlabAccess_MakeRequestServerSendHeaderCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendHeaderCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendMsgCall ¶
MockGitlabAccess_MakeRequestServerSendMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendMsgCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendMsgCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendMsgCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendMsgCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSetHeaderCall ¶
MockGitlabAccess_MakeRequestServerSetHeaderCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSetHeaderCall
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSetTrailerCall ¶
MockGitlabAccess_MakeRequestServerSetTrailerCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) Do(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall) Return() *MockGitlabAccess_MakeRequestServerSetTrailerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockInboundGRPCToOutboundHTTPStream) Context() context.Context
Context mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) EXPECT ¶
func (m *MockInboundGRPCToOutboundHTTPStream) EXPECT() *MockInboundGRPCToOutboundHTTPStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInboundGRPCToOutboundHTTPStream) RecvMsg ¶
func (m *MockInboundGRPCToOutboundHTTPStream) RecvMsg(arg0 any) error
RecvMsg mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) Send ¶
func (m *MockInboundGRPCToOutboundHTTPStream) Send(arg0 *grpctool.HttpResponse) error
Send mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) SendHeader ¶
func (m *MockInboundGRPCToOutboundHTTPStream) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) SendMsg ¶
func (m *MockInboundGRPCToOutboundHTTPStream) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) SetHeader ¶
func (m *MockInboundGRPCToOutboundHTTPStream) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream) SetTrailer ¶
func (m *MockInboundGRPCToOutboundHTTPStream) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockInboundGRPCToOutboundHTTPStreamContextCall ¶
MockInboundGRPCToOutboundHTTPStreamContextCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamContextCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) Do(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamContextCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) DoAndReturn(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamContextCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall) Return(arg0 context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamMockRecorder ¶
type MockInboundGRPCToOutboundHTTPStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockInboundGRPCToOutboundHTTPStreamMockRecorder is the mock recorder for MockInboundGRPCToOutboundHTTPStream.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) Context ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) Context() *MockInboundGRPCToOutboundHTTPStreamContextCall
Context indicates an expected call of Context.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) RecvMsg ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) RecvMsg(arg0 any) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) Send ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) Send(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendCall
Send indicates an expected call of Send.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendHeader ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendMsg ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SendMsg(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetHeader ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetTrailer ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder) SetTrailer(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockInboundGRPCToOutboundHTTPStreamRecvMsgCall ¶
MockInboundGRPCToOutboundHTTPStreamRecvMsgCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendCall ¶
MockInboundGRPCToOutboundHTTPStreamSendCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) Do(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendHeaderCall ¶
MockInboundGRPCToOutboundHTTPStreamSendHeaderCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendMsgCall ¶
MockInboundGRPCToOutboundHTTPStreamSendMsgCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSetHeaderCall ¶
MockInboundGRPCToOutboundHTTPStreamSetHeaderCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSetTrailerCall ¶
MockInboundGRPCToOutboundHTTPStreamSetTrailerCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Do(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall) Return() *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
Return rewrite *gomock.Call.Return
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) EXPECT ¶
func (m *MockPoolConn) EXPECT() *MockPoolConnMockRecorder
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 any, 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 MockPoolConnDoneCall ¶
MockPoolConnDoneCall wrap *gomock.Call
func (*MockPoolConnDoneCall) Do ¶
func (c *MockPoolConnDoneCall) Do(f func()) *MockPoolConnDoneCall
Do rewrite *gomock.Call.Do
func (*MockPoolConnDoneCall) DoAndReturn ¶
func (c *MockPoolConnDoneCall) DoAndReturn(f func()) *MockPoolConnDoneCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolConnDoneCall) Return ¶
func (c *MockPoolConnDoneCall) Return() *MockPoolConnDoneCall
Return rewrite *gomock.Call.Return
type MockPoolConnInvokeCall ¶
MockPoolConnInvokeCall wrap *gomock.Call
func (*MockPoolConnInvokeCall) Do ¶
func (c *MockPoolConnInvokeCall) Do(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockPoolConnInvokeCall
Do rewrite *gomock.Call.Do
func (*MockPoolConnInvokeCall) DoAndReturn ¶
func (c *MockPoolConnInvokeCall) DoAndReturn(f func(context.Context, string, any, any, ...grpc.CallOption) error) *MockPoolConnInvokeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolConnInvokeCall) Return ¶
func (c *MockPoolConnInvokeCall) Return(arg0 error) *MockPoolConnInvokeCall
Return rewrite *gomock.Call.Return
type MockPoolConnMockRecorder ¶
type MockPoolConnMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolConnMockRecorder is the mock recorder for MockPoolConn.
func (*MockPoolConnMockRecorder) Done ¶
func (mr *MockPoolConnMockRecorder) Done() *MockPoolConnDoneCall
Done indicates an expected call of Done.
func (*MockPoolConnMockRecorder) Invoke ¶
func (mr *MockPoolConnMockRecorder) Invoke(arg0, arg1, arg2, arg3 any, arg4 ...any) *MockPoolConnInvokeCall
Invoke indicates an expected call of Invoke.
func (*MockPoolConnMockRecorder) NewStream ¶
func (mr *MockPoolConnMockRecorder) NewStream(arg0, arg1, arg2 any, arg3 ...any) *MockPoolConnNewStreamCall
NewStream indicates an expected call of NewStream.
type MockPoolConnNewStreamCall ¶
MockPoolConnNewStreamCall wrap *gomock.Call
func (*MockPoolConnNewStreamCall) Do ¶
func (c *MockPoolConnNewStreamCall) Do(f func(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)) *MockPoolConnNewStreamCall
Do rewrite *gomock.Call.Do
func (*MockPoolConnNewStreamCall) DoAndReturn ¶
func (c *MockPoolConnNewStreamCall) DoAndReturn(f func(context.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error)) *MockPoolConnNewStreamCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolConnNewStreamCall) Return ¶
func (c *MockPoolConnNewStreamCall) Return(arg0 grpc.ClientStream, arg1 error) *MockPoolConnNewStreamCall
Return rewrite *gomock.Call.Return
type MockPoolInterface ¶
type MockPoolInterface struct {
// contains filtered or unexported fields
}
MockPoolInterface is a mock of PoolInterface interface.
func NewMockPoolInterface ¶
func NewMockPoolInterface(ctrl *gomock.Controller) *MockPoolInterface
NewMockPoolInterface creates a new mock instance.
func (*MockPoolInterface) EXPECT ¶
func (m *MockPoolInterface) EXPECT() *MockPoolInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPoolInterface) Shutdown ¶ added in v17.5.0
func (m *MockPoolInterface) Shutdown(arg0 time.Duration)
Shutdown mocks base method.
type MockPoolInterfaceDialCall ¶
MockPoolInterfaceDialCall wrap *gomock.Call
func (*MockPoolInterfaceDialCall) Do ¶
func (c *MockPoolInterfaceDialCall) Do(f func(context.Context, string) (grpctool.PoolConn, error)) *MockPoolInterfaceDialCall
Do rewrite *gomock.Call.Do
func (*MockPoolInterfaceDialCall) DoAndReturn ¶
func (c *MockPoolInterfaceDialCall) DoAndReturn(f func(context.Context, string) (grpctool.PoolConn, error)) *MockPoolInterfaceDialCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolInterfaceDialCall) Return ¶
func (c *MockPoolInterfaceDialCall) Return(arg0 grpctool.PoolConn, arg1 error) *MockPoolInterfaceDialCall
Return rewrite *gomock.Call.Return
type MockPoolInterfaceMockRecorder ¶
type MockPoolInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolInterfaceMockRecorder is the mock recorder for MockPoolInterface.
func (*MockPoolInterfaceMockRecorder) Dial ¶
func (mr *MockPoolInterfaceMockRecorder) Dial(arg0, arg1 any) *MockPoolInterfaceDialCall
Dial indicates an expected call of Dial.
func (*MockPoolInterfaceMockRecorder) Shutdown ¶ added in v17.5.0
func (mr *MockPoolInterfaceMockRecorder) Shutdown(arg0 any) *MockPoolInterfaceShutdownCall
Shutdown indicates an expected call of Shutdown.
type MockPoolInterfaceShutdownCall ¶ added in v17.5.0
MockPoolInterfaceShutdownCall wrap *gomock.Call
func (*MockPoolInterfaceShutdownCall) Do ¶ added in v17.5.0
func (c *MockPoolInterfaceShutdownCall) Do(f func(time.Duration)) *MockPoolInterfaceShutdownCall
Do rewrite *gomock.Call.Do
func (*MockPoolInterfaceShutdownCall) DoAndReturn ¶ added in v17.5.0
func (c *MockPoolInterfaceShutdownCall) DoAndReturn(f func(time.Duration)) *MockPoolInterfaceShutdownCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockPoolInterfaceShutdownCall) Return ¶ added in v17.5.0
func (c *MockPoolInterfaceShutdownCall) Return() *MockPoolInterfaceShutdownCall
Return rewrite *gomock.Call.Return
type MockServerErrorReporter ¶
type MockServerErrorReporter struct {
// contains filtered or unexported fields
}
MockServerErrorReporter is a mock of ServerErrorReporter interface.
func NewMockServerErrorReporter ¶
func NewMockServerErrorReporter(ctrl *gomock.Controller) *MockServerErrorReporter
NewMockServerErrorReporter creates a new mock instance.
func (*MockServerErrorReporter) EXPECT ¶
func (m *MockServerErrorReporter) EXPECT() *MockServerErrorReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockServerErrorReporterMockRecorder ¶
type MockServerErrorReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockServerErrorReporterMockRecorder is the mock recorder for MockServerErrorReporter.
func (*MockServerErrorReporterMockRecorder) Report ¶
func (mr *MockServerErrorReporterMockRecorder) Report(arg0, arg1, arg2 any) *MockServerErrorReporterReportCall
Report indicates an expected call of Report.
type MockServerErrorReporterReportCall ¶
MockServerErrorReporterReportCall wrap *gomock.Call
func (*MockServerErrorReporterReportCall) Do ¶
func (c *MockServerErrorReporterReportCall) Do(f func(context.Context, string, error)) *MockServerErrorReporterReportCall
Do rewrite *gomock.Call.Do
func (*MockServerErrorReporterReportCall) DoAndReturn ¶
func (c *MockServerErrorReporterReportCall) DoAndReturn(f func(context.Context, string, error)) *MockServerErrorReporterReportCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerErrorReporterReportCall) Return ¶
func (c *MockServerErrorReporterReportCall) Return() *MockServerErrorReporterReportCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockServerStream) EXPECT() *MockServerStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerStream) RecvMsg ¶
func (m *MockServerStream) RecvMsg(arg0 any) 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 any) 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 MockServerStreamContextCall ¶
MockServerStreamContextCall wrap *gomock.Call
func (*MockServerStreamContextCall) Do ¶
func (c *MockServerStreamContextCall) Do(f func() context.Context) *MockServerStreamContextCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamContextCall) DoAndReturn ¶
func (c *MockServerStreamContextCall) DoAndReturn(f func() context.Context) *MockServerStreamContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamContextCall) Return ¶
func (c *MockServerStreamContextCall) Return(arg0 context.Context) *MockServerStreamContextCall
Return rewrite *gomock.Call.Return
type MockServerStreamMockRecorder ¶
type MockServerStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockServerStreamMockRecorder is the mock recorder for MockServerStream.
func (*MockServerStreamMockRecorder) Context ¶
func (mr *MockServerStreamMockRecorder) Context() *MockServerStreamContextCall
Context indicates an expected call of Context.
func (*MockServerStreamMockRecorder) RecvMsg ¶
func (mr *MockServerStreamMockRecorder) RecvMsg(arg0 any) *MockServerStreamRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockServerStreamMockRecorder) SendHeader ¶
func (mr *MockServerStreamMockRecorder) SendHeader(arg0 any) *MockServerStreamSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockServerStreamMockRecorder) SendMsg ¶
func (mr *MockServerStreamMockRecorder) SendMsg(arg0 any) *MockServerStreamSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockServerStreamMockRecorder) SetHeader ¶
func (mr *MockServerStreamMockRecorder) SetHeader(arg0 any) *MockServerStreamSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockServerStreamMockRecorder) SetTrailer ¶
func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 any) *MockServerStreamSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockServerStreamRecvMsgCall ¶
MockServerStreamRecvMsgCall wrap *gomock.Call
func (*MockServerStreamRecvMsgCall) Do ¶
func (c *MockServerStreamRecvMsgCall) Do(f func(any) error) *MockServerStreamRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamRecvMsgCall) DoAndReturn ¶
func (c *MockServerStreamRecvMsgCall) DoAndReturn(f func(any) error) *MockServerStreamRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamRecvMsgCall) Return ¶
func (c *MockServerStreamRecvMsgCall) Return(arg0 error) *MockServerStreamRecvMsgCall
Return rewrite *gomock.Call.Return
type MockServerStreamSendHeaderCall ¶
MockServerStreamSendHeaderCall wrap *gomock.Call
func (*MockServerStreamSendHeaderCall) Do ¶
func (c *MockServerStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockServerStreamSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamSendHeaderCall) DoAndReturn ¶
func (c *MockServerStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerStreamSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamSendHeaderCall) Return ¶
func (c *MockServerStreamSendHeaderCall) Return(arg0 error) *MockServerStreamSendHeaderCall
Return rewrite *gomock.Call.Return
type MockServerStreamSendMsgCall ¶
MockServerStreamSendMsgCall wrap *gomock.Call
func (*MockServerStreamSendMsgCall) Do ¶
func (c *MockServerStreamSendMsgCall) Do(f func(any) error) *MockServerStreamSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamSendMsgCall) DoAndReturn ¶
func (c *MockServerStreamSendMsgCall) DoAndReturn(f func(any) error) *MockServerStreamSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamSendMsgCall) Return ¶
func (c *MockServerStreamSendMsgCall) Return(arg0 error) *MockServerStreamSendMsgCall
Return rewrite *gomock.Call.Return
type MockServerStreamSetHeaderCall ¶
MockServerStreamSetHeaderCall wrap *gomock.Call
func (*MockServerStreamSetHeaderCall) Do ¶
func (c *MockServerStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockServerStreamSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamSetHeaderCall) DoAndReturn ¶
func (c *MockServerStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerStreamSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamSetHeaderCall) Return ¶
func (c *MockServerStreamSetHeaderCall) Return(arg0 error) *MockServerStreamSetHeaderCall
Return rewrite *gomock.Call.Return
type MockServerStreamSetTrailerCall ¶
MockServerStreamSetTrailerCall wrap *gomock.Call
func (*MockServerStreamSetTrailerCall) Do ¶
func (c *MockServerStreamSetTrailerCall) Do(f func(metadata.MD)) *MockServerStreamSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockServerStreamSetTrailerCall) DoAndReturn ¶
func (c *MockServerStreamSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockServerStreamSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerStreamSetTrailerCall) Return ¶
func (c *MockServerStreamSetTrailerCall) Return() *MockServerStreamSetTrailerCall
Return rewrite *gomock.Call.Return
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 ¶
func (m *MockServerTransportStream) EXPECT() *MockServerTransportStreamMockRecorder
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 MockServerTransportStreamMethodCall ¶
MockServerTransportStreamMethodCall wrap *gomock.Call
func (*MockServerTransportStreamMethodCall) Do ¶
func (c *MockServerTransportStreamMethodCall) Do(f func() string) *MockServerTransportStreamMethodCall
Do rewrite *gomock.Call.Do
func (*MockServerTransportStreamMethodCall) DoAndReturn ¶
func (c *MockServerTransportStreamMethodCall) DoAndReturn(f func() string) *MockServerTransportStreamMethodCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerTransportStreamMethodCall) Return ¶
func (c *MockServerTransportStreamMethodCall) Return(arg0 string) *MockServerTransportStreamMethodCall
Return rewrite *gomock.Call.Return
type MockServerTransportStreamMockRecorder ¶
type MockServerTransportStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockServerTransportStreamMockRecorder is the mock recorder for MockServerTransportStream.
func (*MockServerTransportStreamMockRecorder) Method ¶
func (mr *MockServerTransportStreamMockRecorder) Method() *MockServerTransportStreamMethodCall
Method indicates an expected call of Method.
func (*MockServerTransportStreamMockRecorder) SendHeader ¶
func (mr *MockServerTransportStreamMockRecorder) SendHeader(arg0 any) *MockServerTransportStreamSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockServerTransportStreamMockRecorder) SetHeader ¶
func (mr *MockServerTransportStreamMockRecorder) SetHeader(arg0 any) *MockServerTransportStreamSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockServerTransportStreamMockRecorder) SetTrailer ¶
func (mr *MockServerTransportStreamMockRecorder) SetTrailer(arg0 any) *MockServerTransportStreamSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockServerTransportStreamSendHeaderCall ¶
MockServerTransportStreamSendHeaderCall wrap *gomock.Call
func (*MockServerTransportStreamSendHeaderCall) Do ¶
func (c *MockServerTransportStreamSendHeaderCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockServerTransportStreamSendHeaderCall) DoAndReturn ¶
func (c *MockServerTransportStreamSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerTransportStreamSendHeaderCall) Return ¶
func (c *MockServerTransportStreamSendHeaderCall) Return(arg0 error) *MockServerTransportStreamSendHeaderCall
Return rewrite *gomock.Call.Return
type MockServerTransportStreamSetHeaderCall ¶
MockServerTransportStreamSetHeaderCall wrap *gomock.Call
func (*MockServerTransportStreamSetHeaderCall) Do ¶
func (c *MockServerTransportStreamSetHeaderCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockServerTransportStreamSetHeaderCall) DoAndReturn ¶
func (c *MockServerTransportStreamSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerTransportStreamSetHeaderCall) Return ¶
func (c *MockServerTransportStreamSetHeaderCall) Return(arg0 error) *MockServerTransportStreamSetHeaderCall
Return rewrite *gomock.Call.Return
type MockServerTransportStreamSetTrailerCall ¶
MockServerTransportStreamSetTrailerCall wrap *gomock.Call
func (*MockServerTransportStreamSetTrailerCall) Do ¶
func (c *MockServerTransportStreamSetTrailerCall) Do(f func(metadata.MD) error) *MockServerTransportStreamSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockServerTransportStreamSetTrailerCall) DoAndReturn ¶
func (c *MockServerTransportStreamSetTrailerCall) DoAndReturn(f func(metadata.MD) error) *MockServerTransportStreamSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockServerTransportStreamSetTrailerCall) Return ¶
func (c *MockServerTransportStreamSetTrailerCall) Return(arg0 error) *MockServerTransportStreamSetTrailerCall
Return rewrite *gomock.Call.Return
type MockUnsafeAgentConfigurationServer ¶ added in v17.3.0
type MockUnsafeAgentConfigurationServer struct {
// contains filtered or unexported fields
}
MockUnsafeAgentConfigurationServer is a mock of UnsafeAgentConfigurationServer interface.
func NewMockUnsafeAgentConfigurationServer ¶ added in v17.3.0
func NewMockUnsafeAgentConfigurationServer(ctrl *gomock.Controller) *MockUnsafeAgentConfigurationServer
NewMockUnsafeAgentConfigurationServer creates a new mock instance.
func (*MockUnsafeAgentConfigurationServer) EXPECT ¶ added in v17.3.0
func (m *MockUnsafeAgentConfigurationServer) EXPECT() *MockUnsafeAgentConfigurationServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeAgentConfigurationServerMockRecorder ¶ added in v17.3.0
type MockUnsafeAgentConfigurationServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeAgentConfigurationServerMockRecorder is the mock recorder for MockUnsafeAgentConfigurationServer.
type MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall ¶ added in v17.3.0
type MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall struct {
*gomock.Call
}
MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall wrap *gomock.Call
func (*MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do ¶ added in v17.3.0
func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Do(f func()) *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
Do rewrite *gomock.Call.Do
func (*MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) DoAndReturn(f func()) *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return ¶ added in v17.3.0
func (c *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall) Return() *MockUnsafeAgentConfigurationServermustEmbedUnimplementedAgentConfigurationServerCall
Return rewrite *gomock.Call.Return