Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- type MockClientMockRecorder
- type MockKubectlGetter
- func (m *MockKubectlGetter) Apply(ctx context.Context, kubeconfig string, obj runtime.Object) error
- func (m *MockKubectlGetter) Delete(ctx context.Context, resourceType, name, namespace, kubeconfig string) error
- func (m *MockKubectlGetter) EXPECT() *MockKubectlGetterMockRecorder
- func (m *MockKubectlGetter) GetObject(ctx context.Context, resourceType, name, namespace, kubeconfig string, ...) error
- type MockKubectlGetterMockRecorder
- func (mr *MockKubectlGetterMockRecorder) Apply(ctx, kubeconfig, obj interface{}) *gomock.Call
- func (mr *MockKubectlGetterMockRecorder) Delete(ctx, resourceType, name, namespace, kubeconfig interface{}) *gomock.Call
- func (mr *MockKubectlGetterMockRecorder) GetObject(ctx, resourceType, name, namespace, kubeconfig, obj interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Get ¶
func (m *MockClient) Get(ctx context.Context, name, namespace string, obj kubernetes.Object) error
Get mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Get ¶
func (mr *MockClientMockRecorder) Get(ctx, name, namespace, obj interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockKubectlGetter ¶
type MockKubectlGetter struct {
// contains filtered or unexported fields
}
MockKubectlGetter is a mock of KubectlGetter interface.
func NewMockKubectlGetter ¶
func NewMockKubectlGetter(ctrl *gomock.Controller) *MockKubectlGetter
NewMockKubectlGetter creates a new mock instance.
func (*MockKubectlGetter) Delete ¶
func (m *MockKubectlGetter) Delete(ctx context.Context, resourceType, name, namespace, kubeconfig string) error
Delete mocks base method.
func (*MockKubectlGetter) EXPECT ¶
func (m *MockKubectlGetter) EXPECT() *MockKubectlGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockKubectlGetterMockRecorder ¶
type MockKubectlGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlGetterMockRecorder is the mock recorder for MockKubectlGetter.
func (*MockKubectlGetterMockRecorder) Apply ¶ added in v0.12.0
func (mr *MockKubectlGetterMockRecorder) Apply(ctx, kubeconfig, obj interface{}) *gomock.Call
Apply indicates an expected call of Apply.
func (*MockKubectlGetterMockRecorder) Delete ¶
func (mr *MockKubectlGetterMockRecorder) Delete(ctx, resourceType, name, namespace, kubeconfig interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockKubectlGetterMockRecorder) GetObject ¶
func (mr *MockKubectlGetterMockRecorder) GetObject(ctx, resourceType, name, namespace, kubeconfig, obj interface{}) *gomock.Call
GetObject indicates an expected call of GetObject.