mocks

package
v0.14.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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) Apply added in v0.12.0

func (m *MockKubectlGetter) Apply(ctx context.Context, kubeconfig string, obj runtime.Object) error

Apply mocks base method.

func (*MockKubectlGetter) Delete

func (m *MockKubectlGetter) Delete(ctx context.Context, resourceType, name, namespace, kubeconfig string) error

Delete mocks base method.

func (*MockKubectlGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockKubectlGetter) GetObject

func (m *MockKubectlGetter) GetObject(ctx context.Context, resourceType, name, namespace, kubeconfig string, obj runtime.Object) error

GetObject mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL