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(ctx context.Context, method string, args, reply any, opts ...grpc.CallOption) error
- func (m *MockClientConnInterface) NewStream(ctx context.Context, desc *grpc.StreamDesc, method 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_2 *MockClientStream) RecvMsg(m any) error
- func (m_2 *MockClientStream) SendMsg(m 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(m any) *MockClientStreamRecvMsgCall
- func (mr *MockClientStreamMockRecorder) SendMsg(m 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[Req, Res]) Context() context.Context
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) EXPECT() *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) Recv() (*grpctool.HttpRequest, error)
- func (m_2 *MockGitlabAccess_MakeRequestServer[Req, Res]) RecvMsg(m any) error
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) Send(arg0 *grpctool.HttpResponse) error
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockGitlabAccess_MakeRequestServer[Req, Res]) SendMsg(m any) error
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SetHeader(arg0 metadata.MD) error
- func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SetTrailer(arg0 metadata.MD)
- type MockGitlabAccess_MakeRequestServerContextCall
- func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Do(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerMockRecorder
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Context() *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Recv() *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) RecvMsg(m any) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Send(arg0 any) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendMsg(m any) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
- func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetTrailer(arg0 any) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerRecvCall
- func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Do(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) DoAndReturn(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Return(arg0 *grpctool.HttpRequest, arg1 error) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerRecvMsgCall
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerSendCall
- func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Do(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerSendHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerSendMsgCall
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerSetHeaderCall
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
- type MockGitlabAccess_MakeRequestServerSetTrailerCall
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Do(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) DoAndReturn(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
- func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Return() *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
- type MockInboundGRPCToOutboundHTTPStream
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) Context() context.Context
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) EXPECT() *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]
- func (m_2 *MockInboundGRPCToOutboundHTTPStream[Res]) RecvMsg(m any) error
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) Send(arg0 *grpctool.HttpResponse) error
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockInboundGRPCToOutboundHTTPStream[Res]) SendMsg(m any) error
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SetHeader(arg0 metadata.MD) error
- func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SetTrailer(arg0 metadata.MD)
- type MockInboundGRPCToOutboundHTTPStreamContextCall
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Do(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) DoAndReturn(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Return(arg0 context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamMockRecorder
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Context() *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) RecvMsg(m any) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Send(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendMsg(m any) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
- func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetTrailer(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamRecvMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamSendCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Do(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamSendHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamSendMsgCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamSetHeaderCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
- type MockInboundGRPCToOutboundHTTPStreamSetTrailerCall
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Do(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) DoAndReturn(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
- func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Return() *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
- type MockPoolConn
- func (m *MockPoolConn) Done()
- func (m *MockPoolConn) EXPECT() *MockPoolConnMockRecorder
- func (m *MockPoolConn) Invoke(ctx context.Context, method string, args, reply any, opts ...grpc.CallOption) error
- func (m *MockPoolConn) NewStream(ctx context.Context, desc *grpc.StreamDesc, method 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_2 *MockServerStream) RecvMsg(m any) error
- func (m *MockServerStream) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockServerStream) SendMsg(m 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(m any) *MockServerStreamRecvMsgCall
- func (mr *MockServerStreamMockRecorder) SendHeader(arg0 any) *MockServerStreamSendHeaderCall
- func (mr *MockServerStreamMockRecorder) SendMsg(m 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(md metadata.MD) error
- func (m *MockServerTransportStream) SetHeader(md metadata.MD) error
- func (m *MockServerTransportStream) SetTrailer(md 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(md any) *MockServerTransportStreamSendHeaderCall
- func (mr *MockServerTransportStreamMockRecorder) SetHeader(md any) *MockServerTransportStreamSetHeaderCall
- func (mr *MockServerTransportStreamMockRecorder) SetTrailer(md 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(ctx context.Context, method string, args, reply any, opts ...grpc.CallOption) error
Invoke mocks base method.
func (*MockClientConnInterface) NewStream ¶
func (m *MockClientConnInterface) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...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(ctx, method, args, reply any, opts ...any) *MockClientConnInterfaceInvokeCall
Invoke indicates an expected call of Invoke.
func (*MockClientConnInterfaceMockRecorder) NewStream ¶
func (mr *MockClientConnInterfaceMockRecorder) NewStream(ctx, desc, method any, opts ...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_2 *MockClientStream) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockClientStream) SendMsg ¶
func (m_2 *MockClientStream) SendMsg(m 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(m any) *MockClientStreamRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockClientStreamMockRecorder) SendMsg ¶
func (mr *MockClientStreamMockRecorder) SendMsg(m 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[Req any, Res any] struct { // contains filtered or unexported fields }
MockGitlabAccess_MakeRequestServer is a mock of GitlabAccess_MakeRequestServer interface.
func NewMockGitlabAccess_MakeRequestServer ¶
func NewMockGitlabAccess_MakeRequestServer[Req any, Res any](ctrl *gomock.Controller) *MockGitlabAccess_MakeRequestServer[Req, Res]
NewMockGitlabAccess_MakeRequestServer creates a new mock instance.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) Context ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) Context() context.Context
Context mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) EXPECT ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) EXPECT() *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) Recv ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) Recv() (*grpctool.HttpRequest, error)
Recv mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) RecvMsg ¶
func (m_2 *MockGitlabAccess_MakeRequestServer[Req, Res]) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) Send ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) Send(arg0 *grpctool.HttpResponse) error
Send mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) SendHeader ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) SendMsg ¶
func (m_2 *MockGitlabAccess_MakeRequestServer[Req, Res]) SendMsg(m any) error
SendMsg mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) SetHeader ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockGitlabAccess_MakeRequestServer[Req, Res]) SetTrailer ¶
func (m *MockGitlabAccess_MakeRequestServer[Req, Res]) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockGitlabAccess_MakeRequestServerContextCall ¶
MockGitlabAccess_MakeRequestServerContextCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Do(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) DoAndReturn(f func() context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]) Return(arg0 context.Context) *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerMockRecorder ¶
type MockGitlabAccess_MakeRequestServerMockRecorder[Req any, Res any] struct { // contains filtered or unexported fields }
MockGitlabAccess_MakeRequestServerMockRecorder is the mock recorder for MockGitlabAccess_MakeRequestServer.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Context ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Context() *MockGitlabAccess_MakeRequestServerContextCall[Req, Res]
Context indicates an expected call of Context.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Recv ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Recv() *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
Recv indicates an expected call of Recv.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) RecvMsg ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) RecvMsg(m any) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
RecvMsg indicates an expected call of RecvMsg.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Send ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) Send(arg0 any) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
Send indicates an expected call of Send.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendHeader ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
SendHeader indicates an expected call of SendHeader.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendMsg ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SendMsg(m any) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
SendMsg indicates an expected call of SendMsg.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetHeader ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetHeader(arg0 any) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
SetHeader indicates an expected call of SetHeader.
func (*MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetTrailer ¶
func (mr *MockGitlabAccess_MakeRequestServerMockRecorder[Req, Res]) SetTrailer(arg0 any) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
SetTrailer indicates an expected call of SetTrailer.
type MockGitlabAccess_MakeRequestServerRecvCall ¶
MockGitlabAccess_MakeRequestServerRecvCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Do(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) DoAndReturn(f func() (*grpctool.HttpRequest, error)) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]) Return(arg0 *grpctool.HttpRequest, arg1 error) *MockGitlabAccess_MakeRequestServerRecvCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerRecvMsgCall ¶
MockGitlabAccess_MakeRequestServerRecvMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerRecvMsgCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendCall ¶
MockGitlabAccess_MakeRequestServerSendCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Do(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendHeaderCall ¶
MockGitlabAccess_MakeRequestServerSendHeaderCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendHeaderCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSendMsgCall ¶
MockGitlabAccess_MakeRequestServerSendMsgCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Do(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) DoAndReturn(f func(any) error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSendMsgCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSetHeaderCall ¶
MockGitlabAccess_MakeRequestServerSetHeaderCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Do(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) DoAndReturn(f func(metadata.MD) error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]) Return(arg0 error) *MockGitlabAccess_MakeRequestServerSetHeaderCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockGitlabAccess_MakeRequestServerSetTrailerCall ¶
MockGitlabAccess_MakeRequestServerSetTrailerCall wrap *gomock.Call
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Do ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Do(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
Do rewrite *gomock.Call.Do
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) DoAndReturn ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) DoAndReturn(f func(metadata.MD)) *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Return ¶
func (c *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]) Return() *MockGitlabAccess_MakeRequestServerSetTrailerCall[Req, Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStream ¶
type MockInboundGRPCToOutboundHTTPStream[Res any] struct { // contains filtered or unexported fields }
MockInboundGRPCToOutboundHTTPStream is a mock of InboundGRPCToOutboundHTTPStream interface.
func NewMockInboundGRPCToOutboundHTTPStream ¶
func NewMockInboundGRPCToOutboundHTTPStream[Res any](ctrl *gomock.Controller) *MockInboundGRPCToOutboundHTTPStream[Res]
NewMockInboundGRPCToOutboundHTTPStream creates a new mock instance.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) Context ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) Context() context.Context
Context mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) EXPECT ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) EXPECT() *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) RecvMsg ¶
func (m_2 *MockInboundGRPCToOutboundHTTPStream[Res]) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) Send ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) Send(arg0 *grpctool.HttpResponse) error
Send mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) SendHeader ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) SendMsg ¶
func (m_2 *MockInboundGRPCToOutboundHTTPStream[Res]) SendMsg(m any) error
SendMsg mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) SetHeader ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockInboundGRPCToOutboundHTTPStream[Res]) SetTrailer ¶
func (m *MockInboundGRPCToOutboundHTTPStream[Res]) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockInboundGRPCToOutboundHTTPStreamContextCall ¶
MockInboundGRPCToOutboundHTTPStreamContextCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Do(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) DoAndReturn(f func() context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]) Return(arg0 context.Context) *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamMockRecorder ¶
type MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res any] struct { // contains filtered or unexported fields }
MockInboundGRPCToOutboundHTTPStreamMockRecorder is the mock recorder for MockInboundGRPCToOutboundHTTPStream.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Context ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Context() *MockInboundGRPCToOutboundHTTPStreamContextCall[Res]
Context indicates an expected call of Context.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) RecvMsg ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) RecvMsg(m any) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
RecvMsg indicates an expected call of RecvMsg.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Send ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) Send(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
Send indicates an expected call of Send.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendHeader ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
SendHeader indicates an expected call of SendHeader.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendMsg ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SendMsg(m any) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
SendMsg indicates an expected call of SendMsg.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetHeader ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetHeader(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
SetHeader indicates an expected call of SetHeader.
func (*MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetTrailer ¶
func (mr *MockInboundGRPCToOutboundHTTPStreamMockRecorder[Res]) SetTrailer(arg0 any) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
SetTrailer indicates an expected call of SetTrailer.
type MockInboundGRPCToOutboundHTTPStreamRecvMsgCall ¶
MockInboundGRPCToOutboundHTTPStreamRecvMsgCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamRecvMsgCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendCall ¶
MockInboundGRPCToOutboundHTTPStreamSendCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Do(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) DoAndReturn(f func(*grpctool.HttpResponse) error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendHeaderCall ¶
MockInboundGRPCToOutboundHTTPStreamSendHeaderCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendHeaderCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSendMsgCall ¶
MockInboundGRPCToOutboundHTTPStreamSendMsgCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Do(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) DoAndReturn(f func(any) error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSendMsgCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSetHeaderCall ¶
MockInboundGRPCToOutboundHTTPStreamSetHeaderCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Do(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) DoAndReturn(f func(metadata.MD) error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]) Return(arg0 error) *MockInboundGRPCToOutboundHTTPStreamSetHeaderCall[Res]
Return rewrite *gomock.Call.Return
type MockInboundGRPCToOutboundHTTPStreamSetTrailerCall ¶
MockInboundGRPCToOutboundHTTPStreamSetTrailerCall wrap *gomock.Call
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Do ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Do(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
Do rewrite *gomock.Call.Do
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) DoAndReturn ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) DoAndReturn(f func(metadata.MD)) *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Return ¶
func (c *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]) Return() *MockInboundGRPCToOutboundHTTPStreamSetTrailerCall[Res]
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(ctx context.Context, method string, args, reply any, opts ...grpc.CallOption) error
Invoke mocks base method.
func (*MockPoolConn) NewStream ¶
func (m *MockPoolConn) NewStream(ctx context.Context, desc *grpc.StreamDesc, method string, opts ...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(ctx, method, args, reply any, opts ...any) *MockPoolConnInvokeCall
Invoke indicates an expected call of Invoke.
func (*MockPoolConnMockRecorder) NewStream ¶
func (mr *MockPoolConnMockRecorder) NewStream(ctx, desc, method any, opts ...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(deadline 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(ctx, targetURL any) *MockPoolInterfaceDialCall
Dial indicates an expected call of Dial.
func (*MockPoolInterfaceMockRecorder) Shutdown ¶ added in v17.5.0
func (mr *MockPoolInterfaceMockRecorder) Shutdown(deadline 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(ctx, fullMethod, err 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_2 *MockServerStream) RecvMsg(m 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_2 *MockServerStream) SendMsg(m 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(m 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(m 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(md metadata.MD) error
SendHeader mocks base method.
func (*MockServerTransportStream) SetHeader ¶
func (m *MockServerTransportStream) SetHeader(md metadata.MD) error
SetHeader mocks base method.
func (*MockServerTransportStream) SetTrailer ¶
func (m *MockServerTransportStream) SetTrailer(md 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(md any) *MockServerTransportStreamSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockServerTransportStreamMockRecorder) SetHeader ¶
func (mr *MockServerTransportStreamMockRecorder) SetHeader(md any) *MockServerTransportStreamSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockServerTransportStreamMockRecorder) SetTrailer ¶
func (mr *MockServerTransportStreamMockRecorder) SetTrailer(md 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