Documentation ¶
Overview ¶
Package mock_kubernetes_api is a generated GoMock package.
Package mock_kubernetes_api is a generated GoMock package.
Index ¶
- type KubernetesApi_MakeRequestClient
- type MockKubernetesApiClient
- type MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) Do(...) *MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) DoAndReturn(...) *MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) Return(arg0 grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], ...) *MockKubernetesApiClientMakeRequestCall
- type MockKubernetesApiClientMockRecorder
- type MockKubernetesApiServer
- type MockKubernetesApiServerMakeRequestCall
- func (c *MockKubernetesApiServerMakeRequestCall) Do(...) *MockKubernetesApiServerMakeRequestCall
- func (c *MockKubernetesApiServerMakeRequestCall) DoAndReturn(...) *MockKubernetesApiServerMakeRequestCall
- func (c *MockKubernetesApiServerMakeRequestCall) Return(arg0 error) *MockKubernetesApiServerMakeRequestCall
- type MockKubernetesApiServerMockRecorder
- type MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do(f func()) *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn(f func()) *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return() *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- type MockKubernetesApi_MakeRequestClient
- func (m *MockKubernetesApi_MakeRequestClient) CloseSend() error
- func (m *MockKubernetesApi_MakeRequestClient) Context() context.Context
- func (m *MockKubernetesApi_MakeRequestClient) EXPECT() *MockKubernetesApi_MakeRequestClientMockRecorder
- func (m *MockKubernetesApi_MakeRequestClient) Header() (metadata.MD, error)
- func (m *MockKubernetesApi_MakeRequestClient) Recv() (*grpctool.HttpResponse, error)
- func (m_2 *MockKubernetesApi_MakeRequestClient) RecvMsg(m any) error
- func (m *MockKubernetesApi_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
- func (m_2 *MockKubernetesApi_MakeRequestClient) SendMsg(m any) error
- func (m *MockKubernetesApi_MakeRequestClient) Trailer() metadata.MD
- type MockKubernetesApi_MakeRequestClientCloseSendCall
- func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Do(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
- func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) DoAndReturn(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
- func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientCloseSendCall
- type MockKubernetesApi_MakeRequestClientContextCall
- func (c *MockKubernetesApi_MakeRequestClientContextCall) Do(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
- func (c *MockKubernetesApi_MakeRequestClientContextCall) DoAndReturn(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
- func (c *MockKubernetesApi_MakeRequestClientContextCall) Return(arg0 context.Context) *MockKubernetesApi_MakeRequestClientContextCall
- type MockKubernetesApi_MakeRequestClientHeaderCall
- func (c *MockKubernetesApi_MakeRequestClientHeaderCall) Do(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
- func (c *MockKubernetesApi_MakeRequestClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
- func (c *MockKubernetesApi_MakeRequestClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockKubernetesApi_MakeRequestClientHeaderCall
- type MockKubernetesApi_MakeRequestClientMockRecorder
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) CloseSend() *MockKubernetesApi_MakeRequestClientCloseSendCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Context() *MockKubernetesApi_MakeRequestClientContextCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Header() *MockKubernetesApi_MakeRequestClientHeaderCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Recv() *MockKubernetesApi_MakeRequestClientRecvCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) RecvMsg(m any) *MockKubernetesApi_MakeRequestClientRecvMsgCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Send(arg0 any) *MockKubernetesApi_MakeRequestClientSendCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) SendMsg(m any) *MockKubernetesApi_MakeRequestClientSendMsgCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Trailer() *MockKubernetesApi_MakeRequestClientTrailerCall
- type MockKubernetesApi_MakeRequestClientRecvCall
- func (c *MockKubernetesApi_MakeRequestClientRecvCall) Do(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
- func (c *MockKubernetesApi_MakeRequestClientRecvCall) DoAndReturn(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
- func (c *MockKubernetesApi_MakeRequestClientRecvCall) Return(arg0 *grpctool.HttpResponse, arg1 error) *MockKubernetesApi_MakeRequestClientRecvCall
- type MockKubernetesApi_MakeRequestClientRecvMsgCall
- func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
- func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
- func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
- type MockKubernetesApi_MakeRequestClientSendCall
- func (c *MockKubernetesApi_MakeRequestClientSendCall) Do(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
- func (c *MockKubernetesApi_MakeRequestClientSendCall) DoAndReturn(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
- func (c *MockKubernetesApi_MakeRequestClientSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendCall
- type MockKubernetesApi_MakeRequestClientSendMsgCall
- func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
- func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
- func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendMsgCall
- type MockKubernetesApi_MakeRequestClientTrailerCall
- func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Do(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
- func (c *MockKubernetesApi_MakeRequestClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
- func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Return(arg0 metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
- type MockUnsafeKubernetesApiServer
- type MockUnsafeKubernetesApiServerMockRecorder
- type MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do(f func()) *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn(f func()) *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
- func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return() *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesApi_MakeRequestClient ¶ added in v17.3.0
type KubernetesApi_MakeRequestClient interface { grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse] }
Workaround for https://github.com/uber-go/mock/issues/197.
type MockKubernetesApiClient ¶
type MockKubernetesApiClient struct {
// contains filtered or unexported fields
}
MockKubernetesApiClient is a mock of KubernetesApiClient interface.
func NewMockKubernetesApiClient ¶
func NewMockKubernetesApiClient(ctrl *gomock.Controller) *MockKubernetesApiClient
NewMockKubernetesApiClient creates a new mock instance.
func (*MockKubernetesApiClient) EXPECT ¶
func (m *MockKubernetesApiClient) EXPECT() *MockKubernetesApiClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubernetesApiClient) MakeRequest ¶
func (m *MockKubernetesApiClient) MakeRequest(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)
MakeRequest mocks base method.
type MockKubernetesApiClientMakeRequestCall ¶
MockKubernetesApiClientMakeRequestCall wrap *gomock.Call
func (*MockKubernetesApiClientMakeRequestCall) Do ¶
func (c *MockKubernetesApiClientMakeRequestCall) Do(f func(context.Context, ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)) *MockKubernetesApiClientMakeRequestCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApiClientMakeRequestCall) DoAndReturn ¶
func (c *MockKubernetesApiClientMakeRequestCall) DoAndReturn(f func(context.Context, ...grpc.CallOption) (grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], error)) *MockKubernetesApiClientMakeRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApiClientMakeRequestCall) Return ¶
func (c *MockKubernetesApiClientMakeRequestCall) Return(arg0 grpc.BidiStreamingClient[grpctool.HttpRequest, grpctool.HttpResponse], arg1 error) *MockKubernetesApiClientMakeRequestCall
Return rewrite *gomock.Call.Return
type MockKubernetesApiClientMockRecorder ¶
type MockKubernetesApiClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubernetesApiClientMockRecorder is the mock recorder for MockKubernetesApiClient.
func (*MockKubernetesApiClientMockRecorder) MakeRequest ¶
func (mr *MockKubernetesApiClientMockRecorder) MakeRequest(ctx any, opts ...any) *MockKubernetesApiClientMakeRequestCall
MakeRequest indicates an expected call of MakeRequest.
type MockKubernetesApiServer ¶ added in v17.3.0
type MockKubernetesApiServer struct {
// contains filtered or unexported fields
}
MockKubernetesApiServer is a mock of KubernetesApiServer interface.
func NewMockKubernetesApiServer ¶ added in v17.3.0
func NewMockKubernetesApiServer(ctrl *gomock.Controller) *MockKubernetesApiServer
NewMockKubernetesApiServer creates a new mock instance.
func (*MockKubernetesApiServer) EXPECT ¶ added in v17.3.0
func (m *MockKubernetesApiServer) EXPECT() *MockKubernetesApiServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubernetesApiServer) MakeRequest ¶ added in v17.3.0
func (m *MockKubernetesApiServer) MakeRequest(arg0 grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error
MakeRequest mocks base method.
type MockKubernetesApiServerMakeRequestCall ¶ added in v17.3.0
MockKubernetesApiServerMakeRequestCall wrap *gomock.Call
func (*MockKubernetesApiServerMakeRequestCall) Do ¶ added in v17.3.0
func (c *MockKubernetesApiServerMakeRequestCall) Do(f func(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error) *MockKubernetesApiServerMakeRequestCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApiServerMakeRequestCall) DoAndReturn ¶ added in v17.3.0
func (c *MockKubernetesApiServerMakeRequestCall) DoAndReturn(f func(grpc.BidiStreamingServer[grpctool.HttpRequest, grpctool.HttpResponse]) error) *MockKubernetesApiServerMakeRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApiServerMakeRequestCall) Return ¶ added in v17.3.0
func (c *MockKubernetesApiServerMakeRequestCall) Return(arg0 error) *MockKubernetesApiServerMakeRequestCall
Return rewrite *gomock.Call.Return
type MockKubernetesApiServerMockRecorder ¶ added in v17.3.0
type MockKubernetesApiServerMockRecorder struct {
// contains filtered or unexported fields
}
MockKubernetesApiServerMockRecorder is the mock recorder for MockKubernetesApiServer.
func (*MockKubernetesApiServerMockRecorder) MakeRequest ¶ added in v17.3.0
func (mr *MockKubernetesApiServerMockRecorder) MakeRequest(arg0 any) *MockKubernetesApiServerMakeRequestCall
MakeRequest indicates an expected call of MakeRequest.
type MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall ¶ added in v17.3.0
MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall wrap *gomock.Call
func (*MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do ¶ added in v17.3.0
func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do(f func()) *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn(f func()) *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return ¶ added in v17.3.0
func (c *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return() *MockKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClient ¶
type MockKubernetesApi_MakeRequestClient struct {
// contains filtered or unexported fields
}
MockKubernetesApi_MakeRequestClient is a mock of KubernetesApi_MakeRequestClient interface.
func NewMockKubernetesApi_MakeRequestClient ¶
func NewMockKubernetesApi_MakeRequestClient(ctrl *gomock.Controller) *MockKubernetesApi_MakeRequestClient
NewMockKubernetesApi_MakeRequestClient creates a new mock instance.
func (*MockKubernetesApi_MakeRequestClient) CloseSend ¶
func (m *MockKubernetesApi_MakeRequestClient) CloseSend() error
CloseSend mocks base method.
func (*MockKubernetesApi_MakeRequestClient) Context ¶
func (m *MockKubernetesApi_MakeRequestClient) Context() context.Context
Context mocks base method.
func (*MockKubernetesApi_MakeRequestClient) EXPECT ¶
func (m *MockKubernetesApi_MakeRequestClient) EXPECT() *MockKubernetesApi_MakeRequestClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKubernetesApi_MakeRequestClient) Header ¶
func (m *MockKubernetesApi_MakeRequestClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockKubernetesApi_MakeRequestClient) Recv ¶
func (m *MockKubernetesApi_MakeRequestClient) Recv() (*grpctool.HttpResponse, error)
Recv mocks base method.
func (*MockKubernetesApi_MakeRequestClient) RecvMsg ¶
func (m_2 *MockKubernetesApi_MakeRequestClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockKubernetesApi_MakeRequestClient) Send ¶
func (m *MockKubernetesApi_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
Send mocks base method.
func (*MockKubernetesApi_MakeRequestClient) SendMsg ¶
func (m_2 *MockKubernetesApi_MakeRequestClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockKubernetesApi_MakeRequestClient) Trailer ¶
func (m *MockKubernetesApi_MakeRequestClient) Trailer() metadata.MD
Trailer mocks base method.
type MockKubernetesApi_MakeRequestClientCloseSendCall ¶
MockKubernetesApi_MakeRequestClientCloseSendCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Do(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) DoAndReturn(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientCloseSendCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientContextCall ¶
MockKubernetesApi_MakeRequestClientContextCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientContextCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientContextCall) Do(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientContextCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientContextCall) DoAndReturn(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientContextCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientContextCall) Return(arg0 context.Context) *MockKubernetesApi_MakeRequestClientContextCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientHeaderCall ¶
MockKubernetesApi_MakeRequestClientHeaderCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientHeaderCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientHeaderCall) Do(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientHeaderCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientHeaderCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockKubernetesApi_MakeRequestClientHeaderCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientMockRecorder ¶
type MockKubernetesApi_MakeRequestClientMockRecorder struct {
// contains filtered or unexported fields
}
MockKubernetesApi_MakeRequestClientMockRecorder is the mock recorder for MockKubernetesApi_MakeRequestClient.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) CloseSend ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) CloseSend() *MockKubernetesApi_MakeRequestClientCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) Context ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Context() *MockKubernetesApi_MakeRequestClientContextCall
Context indicates an expected call of Context.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) Header ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Header() *MockKubernetesApi_MakeRequestClientHeaderCall
Header indicates an expected call of Header.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) Recv ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Recv() *MockKubernetesApi_MakeRequestClientRecvCall
Recv indicates an expected call of Recv.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) RecvMsg ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) RecvMsg(m any) *MockKubernetesApi_MakeRequestClientRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) Send ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Send(arg0 any) *MockKubernetesApi_MakeRequestClientSendCall
Send indicates an expected call of Send.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) SendMsg ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) SendMsg(m any) *MockKubernetesApi_MakeRequestClientSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockKubernetesApi_MakeRequestClientMockRecorder) Trailer ¶
func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Trailer() *MockKubernetesApi_MakeRequestClientTrailerCall
Trailer indicates an expected call of Trailer.
type MockKubernetesApi_MakeRequestClientRecvCall ¶
MockKubernetesApi_MakeRequestClientRecvCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientRecvCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientRecvCall) Do(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientRecvCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientRecvCall) DoAndReturn(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientRecvCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientRecvCall) Return(arg0 *grpctool.HttpResponse, arg1 error) *MockKubernetesApi_MakeRequestClientRecvCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientRecvMsgCall ¶
MockKubernetesApi_MakeRequestClientRecvMsgCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientSendCall ¶
MockKubernetesApi_MakeRequestClientSendCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientSendCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientSendCall) Do(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientSendCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientSendCall) DoAndReturn(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientSendCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientSendMsgCall ¶
MockKubernetesApi_MakeRequestClientSendMsgCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendMsgCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientTrailerCall ¶
MockKubernetesApi_MakeRequestClientTrailerCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientTrailerCall) Do ¶
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Do(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientTrailerCall) DoAndReturn ¶
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientTrailerCall) Return ¶
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Return(arg0 metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
Return rewrite *gomock.Call.Return
type MockUnsafeKubernetesApiServer ¶ added in v17.3.0
type MockUnsafeKubernetesApiServer struct {
// contains filtered or unexported fields
}
MockUnsafeKubernetesApiServer is a mock of UnsafeKubernetesApiServer interface.
func NewMockUnsafeKubernetesApiServer ¶ added in v17.3.0
func NewMockUnsafeKubernetesApiServer(ctrl *gomock.Controller) *MockUnsafeKubernetesApiServer
NewMockUnsafeKubernetesApiServer creates a new mock instance.
func (*MockUnsafeKubernetesApiServer) EXPECT ¶ added in v17.3.0
func (m *MockUnsafeKubernetesApiServer) EXPECT() *MockUnsafeKubernetesApiServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeKubernetesApiServerMockRecorder ¶ added in v17.3.0
type MockUnsafeKubernetesApiServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeKubernetesApiServerMockRecorder is the mock recorder for MockUnsafeKubernetesApiServer.
type MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall ¶ added in v17.3.0
type MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall struct {
*gomock.Call
}
MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall wrap *gomock.Call
func (*MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do ¶ added in v17.3.0
func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Do(f func()) *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
Do rewrite *gomock.Call.Do
func (*MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn ¶ added in v17.3.0
func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) DoAndReturn(f func()) *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return ¶ added in v17.3.0
func (c *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall) Return() *MockUnsafeKubernetesApiServermustEmbedUnimplementedKubernetesApiServerCall
Return rewrite *gomock.Call.Return