mocks

package
v0.0.0-...-b5acc33 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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 K8sClient

type K8sClient struct {
	// contains filtered or unexported fields
}

K8sClient is a mock of Client interface.

func NewK8sClient

func NewK8sClient(ctrl *gomock.Controller) *K8sClient

NewK8sClient creates a new mock instance.

func (*K8sClient) Create

func (m *K8sClient) Create(arg0 context.Context, arg1 client.Object, arg2 ...client.CreateOption) error

Create mocks base method.

func (*K8sClient) Delete

func (m *K8sClient) Delete(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteOption) error

Delete mocks base method.

func (*K8sClient) DeleteAllOf

func (m *K8sClient) DeleteAllOf(arg0 context.Context, arg1 client.Object, arg2 ...client.DeleteAllOfOption) error

DeleteAllOf mocks base method.

func (*K8sClient) EXPECT

func (m *K8sClient) EXPECT() *K8sClientMockRecorder

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

func (*K8sClient) Get

func (m *K8sClient) Get(arg0 context.Context, arg1 types.NamespacedName, arg2 client.Object, arg3 ...client.GetOption) error

Get mocks base method.

func (*K8sClient) GroupVersionKindFor

func (m *K8sClient) GroupVersionKindFor(arg0 runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor mocks base method.

func (*K8sClient) IsObjectNamespaced

func (m *K8sClient) IsObjectNamespaced(arg0 runtime.Object) (bool, error)

IsObjectNamespaced mocks base method.

func (*K8sClient) List

func (m *K8sClient) List(arg0 context.Context, arg1 client.ObjectList, arg2 ...client.ListOption) error

List mocks base method.

func (*K8sClient) Patch

func (m *K8sClient) Patch(arg0 context.Context, arg1 client.Object, arg2 client.Patch, arg3 ...client.PatchOption) error

Patch mocks base method.

func (*K8sClient) RESTMapper

func (m *K8sClient) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*K8sClient) Scheme

func (m *K8sClient) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*K8sClient) Status

func (m *K8sClient) Status() client.SubResourceWriter

Status mocks base method.

func (*K8sClient) SubResource

func (m *K8sClient) SubResource(arg0 string) client.SubResourceClient

SubResource mocks base method.

func (*K8sClient) Update

func (m *K8sClient) Update(arg0 context.Context, arg1 client.Object, arg2 ...client.UpdateOption) error

Update mocks base method.

type K8sClientMockRecorder

type K8sClientMockRecorder struct {
	// contains filtered or unexported fields
}

K8sClientMockRecorder is the mock recorder for K8sClient.

func (*K8sClientMockRecorder) Create

func (mr *K8sClientMockRecorder) Create(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*K8sClientMockRecorder) Delete

func (mr *K8sClientMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*K8sClientMockRecorder) DeleteAllOf

func (mr *K8sClientMockRecorder) DeleteAllOf(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*K8sClientMockRecorder) Get

func (mr *K8sClientMockRecorder) Get(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*K8sClientMockRecorder) GroupVersionKindFor

func (mr *K8sClientMockRecorder) GroupVersionKindFor(arg0 interface{}) *gomock.Call

GroupVersionKindFor indicates an expected call of GroupVersionKindFor.

func (*K8sClientMockRecorder) IsObjectNamespaced

func (mr *K8sClientMockRecorder) IsObjectNamespaced(arg0 interface{}) *gomock.Call

IsObjectNamespaced indicates an expected call of IsObjectNamespaced.

func (*K8sClientMockRecorder) List

func (mr *K8sClientMockRecorder) List(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

List indicates an expected call of List.

func (*K8sClientMockRecorder) Patch

func (mr *K8sClientMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*K8sClientMockRecorder) RESTMapper

func (mr *K8sClientMockRecorder) RESTMapper() *gomock.Call

RESTMapper indicates an expected call of RESTMapper.

func (*K8sClientMockRecorder) Scheme

func (mr *K8sClientMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*K8sClientMockRecorder) Status

func (mr *K8sClientMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*K8sClientMockRecorder) SubResource

func (mr *K8sClientMockRecorder) SubResource(arg0 interface{}) *gomock.Call

SubResource indicates an expected call of SubResource.

func (*K8sClientMockRecorder) Update

func (mr *K8sClientMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

type K8sStatus

type K8sStatus struct {
	// contains filtered or unexported fields
}

K8sStatus is a mock of SubResourceWriter interface.

func NewK8sStatus

func NewK8sStatus(ctrl *gomock.Controller) *K8sStatus

NewK8sStatus creates a new mock instance.

func (*K8sStatus) Create

func (m *K8sStatus) Create(arg0 context.Context, arg1, arg2 client.Object, arg3 ...client.SubResourceCreateOption) error

Create mocks base method.

func (*K8sStatus) EXPECT

func (m *K8sStatus) EXPECT() *K8sStatusMockRecorder

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

func (*K8sStatus) Patch

func (m *K8sStatus) Patch(arg0 context.Context, arg1 client.Object, arg2 client.Patch, arg3 ...client.SubResourcePatchOption) error

Patch mocks base method.

func (*K8sStatus) Update

func (m *K8sStatus) Update(arg0 context.Context, arg1 client.Object, arg2 ...client.SubResourceUpdateOption) error

Update mocks base method.

type K8sStatusMockRecorder

type K8sStatusMockRecorder struct {
	// contains filtered or unexported fields
}

K8sStatusMockRecorder is the mock recorder for K8sStatus.

func (*K8sStatusMockRecorder) Create

func (mr *K8sStatusMockRecorder) Create(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*K8sStatusMockRecorder) Patch

func (mr *K8sStatusMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*K8sStatusMockRecorder) Update

func (mr *K8sStatusMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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