Documentation ¶
Overview ¶
Package mock_kubernetes_api is a generated GoMock package.
Index ¶
- type MockKubernetesApiClient
- type MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) Do(...) *MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) DoAndReturn(...) *MockKubernetesApiClientMakeRequestCall
- func (c *MockKubernetesApiClientMakeRequestCall) Return(arg0 rpc.KubernetesApi_MakeRequestClient, arg1 error) *MockKubernetesApiClientMakeRequestCall
- type MockKubernetesApiClientMockRecorder
- 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 *MockKubernetesApi_MakeRequestClient) RecvMsg(arg0 any) error
- func (m *MockKubernetesApi_MakeRequestClient) Send(arg0 *grpctool.HttpRequest) error
- func (m *MockKubernetesApi_MakeRequestClient) SendMsg(arg0 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(arg0 any) *MockKubernetesApi_MakeRequestClientRecvMsgCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) Send(arg0 any) *MockKubernetesApi_MakeRequestClientSendCall
- func (mr *MockKubernetesApi_MakeRequestClientMockRecorder) SendMsg(arg0 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(arg0 context.Context, arg1 ...grpc.CallOption) (rpc.KubernetesApi_MakeRequestClient, error)
MakeRequest mocks base method.
type MockKubernetesApiClientMakeRequestCall ¶ added in v16.8.0
MockKubernetesApiClientMakeRequestCall wrap *gomock.Call
func (*MockKubernetesApiClientMakeRequestCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApiClientMakeRequestCall) Do(f func(context.Context, ...grpc.CallOption) (rpc.KubernetesApi_MakeRequestClient, error)) *MockKubernetesApiClientMakeRequestCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApiClientMakeRequestCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApiClientMakeRequestCall) DoAndReturn(f func(context.Context, ...grpc.CallOption) (rpc.KubernetesApi_MakeRequestClient, error)) *MockKubernetesApiClientMakeRequestCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApiClientMakeRequestCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApiClientMakeRequestCall) Return(arg0 rpc.KubernetesApi_MakeRequestClient, 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(arg0 any, arg1 ...any) *MockKubernetesApiClientMakeRequestCall
MakeRequest indicates an expected call of MakeRequest.
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 *MockKubernetesApi_MakeRequestClient) RecvMsg(arg0 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 *MockKubernetesApi_MakeRequestClient) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockKubernetesApi_MakeRequestClient) Trailer ¶
func (m *MockKubernetesApi_MakeRequestClient) Trailer() metadata.MD
Trailer mocks base method.
type MockKubernetesApi_MakeRequestClientCloseSendCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientCloseSendCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Do(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) DoAndReturn(f func() error) *MockKubernetesApi_MakeRequestClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientCloseSendCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientCloseSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientCloseSendCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientContextCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientContextCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientContextCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientContextCall) Do(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientContextCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientContextCall) DoAndReturn(f func() context.Context) *MockKubernetesApi_MakeRequestClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientContextCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientContextCall) Return(arg0 context.Context) *MockKubernetesApi_MakeRequestClientContextCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientHeaderCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientHeaderCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientHeaderCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientHeaderCall) Do(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientHeaderCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockKubernetesApi_MakeRequestClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientHeaderCall) Return ¶ added in v16.8.0
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(arg0 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(arg0 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 ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientRecvCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientRecvCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvCall) Do(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientRecvCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvCall) DoAndReturn(f func() (*grpctool.HttpResponse, error)) *MockKubernetesApi_MakeRequestClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientRecvCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvCall) Return(arg0 *grpctool.HttpResponse, arg1 error) *MockKubernetesApi_MakeRequestClientRecvCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientRecvMsgCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientRecvMsgCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientRecvMsgCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientRecvMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientRecvMsgCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientSendCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientSendCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientSendCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendCall) Do(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientSendCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendCall) DoAndReturn(f func(*grpctool.HttpRequest) error) *MockKubernetesApi_MakeRequestClientSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientSendCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientSendMsgCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientSendMsgCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Do(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) DoAndReturn(f func(any) error) *MockKubernetesApi_MakeRequestClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientSendMsgCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientSendMsgCall) Return(arg0 error) *MockKubernetesApi_MakeRequestClientSendMsgCall
Return rewrite *gomock.Call.Return
type MockKubernetesApi_MakeRequestClientTrailerCall ¶ added in v16.8.0
MockKubernetesApi_MakeRequestClientTrailerCall wrap *gomock.Call
func (*MockKubernetesApi_MakeRequestClientTrailerCall) Do ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Do(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
Do rewrite *gomock.Call.Do
func (*MockKubernetesApi_MakeRequestClientTrailerCall) DoAndReturn ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockKubernetesApi_MakeRequestClientTrailerCall) Return ¶ added in v16.8.0
func (c *MockKubernetesApi_MakeRequestClientTrailerCall) Return(arg0 metadata.MD) *MockKubernetesApi_MakeRequestClientTrailerCall
Return rewrite *gomock.Call.Return