mocks

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 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) 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) 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