mocks

package
v0.9.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 12 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 MockConfigMapController

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

MockConfigMapController is a mock of ConfigMapController interface.

func NewMockConfigMapController

func NewMockConfigMapController(ctrl *gomock.Controller) *MockConfigMapController

NewMockConfigMapController creates a new mock instance.

func (*MockConfigMapController) AddGenericHandler

func (m *MockConfigMapController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericHandler mocks base method.

func (*MockConfigMapController) AddGenericRemoveHandler

func (m *MockConfigMapController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericRemoveHandler mocks base method.

func (*MockConfigMapController) Cache

Cache mocks base method.

func (*MockConfigMapController) Create

func (m *MockConfigMapController) Create(arg0 *v10.ConfigMap) (*v10.ConfigMap, error)

Create mocks base method.

func (*MockConfigMapController) Delete

func (m *MockConfigMapController) Delete(arg0, arg1 string, arg2 *v11.DeleteOptions) error

Delete mocks base method.

func (*MockConfigMapController) EXPECT

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

func (*MockConfigMapController) Enqueue

func (m *MockConfigMapController) Enqueue(arg0, arg1 string)

Enqueue mocks base method.

func (*MockConfigMapController) EnqueueAfter

func (m *MockConfigMapController) EnqueueAfter(arg0, arg1 string, arg2 time.Duration)

EnqueueAfter mocks base method.

func (*MockConfigMapController) Get

func (m *MockConfigMapController) Get(arg0, arg1 string, arg2 v11.GetOptions) (*v10.ConfigMap, error)

Get mocks base method.

func (*MockConfigMapController) GroupVersionKind

func (m *MockConfigMapController) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind mocks base method.

func (*MockConfigMapController) Informer

Informer mocks base method.

func (*MockConfigMapController) List

List mocks base method.

func (*MockConfigMapController) OnChange

func (m *MockConfigMapController) OnChange(arg0 context.Context, arg1 string, arg2 v1.ConfigMapHandler)

OnChange mocks base method.

func (*MockConfigMapController) OnRemove

func (m *MockConfigMapController) OnRemove(arg0 context.Context, arg1 string, arg2 v1.ConfigMapHandler)

OnRemove mocks base method.

func (*MockConfigMapController) Patch

func (m *MockConfigMapController) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v10.ConfigMap, error)

Patch mocks base method.

func (*MockConfigMapController) Update

func (m *MockConfigMapController) Update(arg0 *v10.ConfigMap) (*v10.ConfigMap, error)

Update mocks base method.

func (*MockConfigMapController) Updater

Updater mocks base method.

func (*MockConfigMapController) Watch

Watch mocks base method.

type MockConfigMapControllerMockRecorder

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

MockConfigMapControllerMockRecorder is the mock recorder for MockConfigMapController.

func (*MockConfigMapControllerMockRecorder) AddGenericHandler

func (mr *MockConfigMapControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericHandler indicates an expected call of AddGenericHandler.

func (*MockConfigMapControllerMockRecorder) AddGenericRemoveHandler

func (mr *MockConfigMapControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.

func (*MockConfigMapControllerMockRecorder) Cache

Cache indicates an expected call of Cache.

func (*MockConfigMapControllerMockRecorder) Create

func (mr *MockConfigMapControllerMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockConfigMapControllerMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockConfigMapControllerMockRecorder) Enqueue

func (mr *MockConfigMapControllerMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockConfigMapControllerMockRecorder) EnqueueAfter

func (mr *MockConfigMapControllerMockRecorder) EnqueueAfter(arg0, arg1, arg2 interface{}) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockConfigMapControllerMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockConfigMapControllerMockRecorder) GroupVersionKind

func (mr *MockConfigMapControllerMockRecorder) GroupVersionKind() *gomock.Call

GroupVersionKind indicates an expected call of GroupVersionKind.

func (*MockConfigMapControllerMockRecorder) Informer

Informer indicates an expected call of Informer.

func (*MockConfigMapControllerMockRecorder) List

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

List indicates an expected call of List.

func (*MockConfigMapControllerMockRecorder) OnChange

func (mr *MockConfigMapControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockConfigMapControllerMockRecorder) OnRemove

func (mr *MockConfigMapControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call

OnRemove indicates an expected call of OnRemove.

func (*MockConfigMapControllerMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockConfigMapControllerMockRecorder) Update

func (mr *MockConfigMapControllerMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockConfigMapControllerMockRecorder) Updater

Updater indicates an expected call of Updater.

func (*MockConfigMapControllerMockRecorder) Watch

func (mr *MockConfigMapControllerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) ConfigMap

func (m *MockInterface) ConfigMap() v1.ConfigMapController

ConfigMap mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) Endpoints

func (m *MockInterface) Endpoints() v1.EndpointsController

Endpoints mocks base method.

func (*MockInterface) Event

func (m *MockInterface) Event() v1.EventController

Event mocks base method.

func (*MockInterface) Namespace

func (m *MockInterface) Namespace() v1.NamespaceController

Namespace mocks base method.

func (*MockInterface) Node

func (m *MockInterface) Node() v1.NodeController

Node mocks base method.

func (*MockInterface) PersistentVolume

func (m *MockInterface) PersistentVolume() v1.PersistentVolumeController

PersistentVolume mocks base method.

func (*MockInterface) PersistentVolumeClaim

func (m *MockInterface) PersistentVolumeClaim() v1.PersistentVolumeClaimController

PersistentVolumeClaim mocks base method.

func (*MockInterface) Pod

func (m *MockInterface) Pod() v1.PodController

Pod mocks base method.

func (*MockInterface) Secret

func (m *MockInterface) Secret() v1.SecretController

Secret mocks base method.

func (*MockInterface) Service

func (m *MockInterface) Service() v1.ServiceController

Service mocks base method.

func (*MockInterface) ServiceAccount

func (m *MockInterface) ServiceAccount() v1.ServiceAccountController

ServiceAccount mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) ConfigMap

func (mr *MockInterfaceMockRecorder) ConfigMap() *gomock.Call

ConfigMap indicates an expected call of ConfigMap.

func (*MockInterfaceMockRecorder) Endpoints

func (mr *MockInterfaceMockRecorder) Endpoints() *gomock.Call

Endpoints indicates an expected call of Endpoints.

func (*MockInterfaceMockRecorder) Event

func (mr *MockInterfaceMockRecorder) Event() *gomock.Call

Event indicates an expected call of Event.

func (*MockInterfaceMockRecorder) Namespace

func (mr *MockInterfaceMockRecorder) Namespace() *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockInterfaceMockRecorder) Node

Node indicates an expected call of Node.

func (*MockInterfaceMockRecorder) PersistentVolume

func (mr *MockInterfaceMockRecorder) PersistentVolume() *gomock.Call

PersistentVolume indicates an expected call of PersistentVolume.

func (*MockInterfaceMockRecorder) PersistentVolumeClaim

func (mr *MockInterfaceMockRecorder) PersistentVolumeClaim() *gomock.Call

PersistentVolumeClaim indicates an expected call of PersistentVolumeClaim.

func (*MockInterfaceMockRecorder) Pod

Pod indicates an expected call of Pod.

func (*MockInterfaceMockRecorder) Secret

func (mr *MockInterfaceMockRecorder) Secret() *gomock.Call

Secret indicates an expected call of Secret.

func (*MockInterfaceMockRecorder) Service

func (mr *MockInterfaceMockRecorder) Service() *gomock.Call

Service indicates an expected call of Service.

func (*MockInterfaceMockRecorder) ServiceAccount

func (mr *MockInterfaceMockRecorder) ServiceAccount() *gomock.Call

ServiceAccount indicates an expected call of ServiceAccount.

type MockSecretController

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

MockSecretController is a mock of SecretController interface.

func NewMockSecretController

func NewMockSecretController(ctrl *gomock.Controller) *MockSecretController

NewMockSecretController creates a new mock instance.

func (*MockSecretController) AddGenericHandler

func (m *MockSecretController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericHandler mocks base method.

func (*MockSecretController) AddGenericRemoveHandler

func (m *MockSecretController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericRemoveHandler mocks base method.

func (*MockSecretController) Cache

func (m *MockSecretController) Cache() v1.SecretCache

Cache mocks base method.

func (*MockSecretController) Create

func (m *MockSecretController) Create(arg0 *v10.Secret) (*v10.Secret, error)

Create mocks base method.

func (*MockSecretController) Delete

func (m *MockSecretController) Delete(arg0, arg1 string, arg2 *v11.DeleteOptions) error

Delete mocks base method.

func (*MockSecretController) EXPECT

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

func (*MockSecretController) Enqueue

func (m *MockSecretController) Enqueue(arg0, arg1 string)

Enqueue mocks base method.

func (*MockSecretController) EnqueueAfter

func (m *MockSecretController) EnqueueAfter(arg0, arg1 string, arg2 time.Duration)

EnqueueAfter mocks base method.

func (*MockSecretController) Get

func (m *MockSecretController) Get(arg0, arg1 string, arg2 v11.GetOptions) (*v10.Secret, error)

Get mocks base method.

func (*MockSecretController) GroupVersionKind

func (m *MockSecretController) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind mocks base method.

func (*MockSecretController) Informer

Informer mocks base method.

func (*MockSecretController) List

func (m *MockSecretController) List(arg0 string, arg1 v11.ListOptions) (*v10.SecretList, error)

List mocks base method.

func (*MockSecretController) OnChange

func (m *MockSecretController) OnChange(arg0 context.Context, arg1 string, arg2 v1.SecretHandler)

OnChange mocks base method.

func (*MockSecretController) OnRemove

func (m *MockSecretController) OnRemove(arg0 context.Context, arg1 string, arg2 v1.SecretHandler)

OnRemove mocks base method.

func (*MockSecretController) Patch

func (m *MockSecretController) Patch(arg0, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 ...string) (*v10.Secret, error)

Patch mocks base method.

func (*MockSecretController) Update

func (m *MockSecretController) Update(arg0 *v10.Secret) (*v10.Secret, error)

Update mocks base method.

func (*MockSecretController) Updater

func (m *MockSecretController) Updater() generic.Updater

Updater mocks base method.

func (*MockSecretController) Watch

Watch mocks base method.

type MockSecretControllerMockRecorder

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

MockSecretControllerMockRecorder is the mock recorder for MockSecretController.

func (*MockSecretControllerMockRecorder) AddGenericHandler

func (mr *MockSecretControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericHandler indicates an expected call of AddGenericHandler.

func (*MockSecretControllerMockRecorder) AddGenericRemoveHandler

func (mr *MockSecretControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.

func (*MockSecretControllerMockRecorder) Cache

Cache indicates an expected call of Cache.

func (*MockSecretControllerMockRecorder) Create

func (mr *MockSecretControllerMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockSecretControllerMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockSecretControllerMockRecorder) Enqueue

func (mr *MockSecretControllerMockRecorder) Enqueue(arg0, arg1 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockSecretControllerMockRecorder) EnqueueAfter

func (mr *MockSecretControllerMockRecorder) EnqueueAfter(arg0, arg1, arg2 interface{}) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockSecretControllerMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockSecretControllerMockRecorder) GroupVersionKind

func (mr *MockSecretControllerMockRecorder) GroupVersionKind() *gomock.Call

GroupVersionKind indicates an expected call of GroupVersionKind.

func (*MockSecretControllerMockRecorder) Informer

Informer indicates an expected call of Informer.

func (*MockSecretControllerMockRecorder) List

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

List indicates an expected call of List.

func (*MockSecretControllerMockRecorder) OnChange

func (mr *MockSecretControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockSecretControllerMockRecorder) OnRemove

func (mr *MockSecretControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call

OnRemove indicates an expected call of OnRemove.

func (*MockSecretControllerMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockSecretControllerMockRecorder) Update

func (mr *MockSecretControllerMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockSecretControllerMockRecorder) Updater

Updater indicates an expected call of Updater.

func (*MockSecretControllerMockRecorder) Watch

func (mr *MockSecretControllerMockRecorder) Watch(arg0, arg1 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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