watchers

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package watchers is a generated GoMock package.

Package watchers is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WatchForChanges

func WatchForChanges(cmi v1.ConfigMapInterface, configMapName string, dataField string, dataValue string, setupLogger logr.Logger, lastResourceVersion string, exitFunc func())

Types

type MockConfigMapInterface

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

MockConfigMapInterface is a mock of ConfigMapInterface interface.

func NewMockConfigMapInterface

func NewMockConfigMapInterface(ctrl *gomock.Controller) *MockConfigMapInterface

NewMockConfigMapInterface creates a new mock instance.

func (*MockConfigMapInterface) Apply

Apply mocks base method.

func (*MockConfigMapInterface) Create

Create mocks base method.

func (*MockConfigMapInterface) Delete

func (m *MockConfigMapInterface) Delete(arg0 context.Context, arg1 string, arg2 v10.DeleteOptions) error

Delete mocks base method.

func (*MockConfigMapInterface) DeleteCollection

func (m *MockConfigMapInterface) DeleteCollection(arg0 context.Context, arg1 v10.DeleteOptions, arg2 v10.ListOptions) error

DeleteCollection mocks base method.

func (*MockConfigMapInterface) EXPECT

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

func (*MockConfigMapInterface) Get

Get mocks base method.

func (*MockConfigMapInterface) List

List mocks base method.

func (*MockConfigMapInterface) Patch

func (m *MockConfigMapInterface) Patch(arg0 context.Context, arg1 string, arg2 types.PatchType, arg3 []byte, arg4 v10.PatchOptions, arg5 ...string) (*v1.ConfigMap, error)

Patch mocks base method.

func (*MockConfigMapInterface) Update

Update mocks base method.

func (*MockConfigMapInterface) Watch

Watch mocks base method.

type MockConfigMapInterfaceMockRecorder

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

MockConfigMapInterfaceMockRecorder is the mock recorder for MockConfigMapInterface.

func (*MockConfigMapInterfaceMockRecorder) Apply

func (mr *MockConfigMapInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockConfigMapInterfaceMockRecorder) Create

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

Create indicates an expected call of Create.

func (*MockConfigMapInterfaceMockRecorder) Delete

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

Delete indicates an expected call of Delete.

func (*MockConfigMapInterfaceMockRecorder) DeleteCollection

func (mr *MockConfigMapInterfaceMockRecorder) DeleteCollection(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockConfigMapInterfaceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockConfigMapInterfaceMockRecorder) List

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

List indicates an expected call of List.

func (*MockConfigMapInterfaceMockRecorder) Patch

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

Patch indicates an expected call of Patch.

func (*MockConfigMapInterfaceMockRecorder) Update

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

Update indicates an expected call of Update.

func (*MockConfigMapInterfaceMockRecorder) Watch

func (mr *MockConfigMapInterfaceMockRecorder) 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) EXPECT

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

func (*MockInterface) ResultChan

func (m *MockInterface) ResultChan() <-chan watch.Event

ResultChan mocks base method.

func (*MockInterface) Stop

func (m *MockInterface) Stop()

Stop mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) ResultChan

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

ResultChan indicates an expected call of ResultChan.

func (*MockInterfaceMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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