mocks

package
v0.35.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 4 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 MockResourceClient

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

MockResourceClient is a mock of ResourceClient interface.

func NewMockResourceClient

func NewMockResourceClient(ctrl *gomock.Controller) *MockResourceClient

NewMockResourceClient creates a new mock instance.

func (*MockResourceClient) ApplyStatus added in v0.30.3

func (m *MockResourceClient) ApplyStatus(statusClient resources.StatusClient, inputResource resources.InputResource, opts clients.ApplyStatusOpts) (resources.Resource, error)

ApplyStatus mocks base method.

func (*MockResourceClient) Delete

func (m *MockResourceClient) Delete(namespace, name string, opts clients.DeleteOpts) error

Delete mocks base method.

func (*MockResourceClient) EXPECT

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

func (*MockResourceClient) Kind

func (m *MockResourceClient) Kind() string

Kind mocks base method.

func (*MockResourceClient) List

List mocks base method.

func (*MockResourceClient) NewResource

func (m *MockResourceClient) NewResource() resources.Resource

NewResource mocks base method.

func (*MockResourceClient) Read

func (m *MockResourceClient) Read(namespace, name string, opts clients.ReadOpts) (resources.Resource, error)

Read mocks base method.

func (*MockResourceClient) Register

func (m *MockResourceClient) Register() error

Register mocks base method.

func (*MockResourceClient) Watch

func (m *MockResourceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)

Watch mocks base method.

func (*MockResourceClient) Write

Write mocks base method.

type MockResourceClientMockRecorder

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

MockResourceClientMockRecorder is the mock recorder for MockResourceClient.

func (*MockResourceClientMockRecorder) ApplyStatus added in v0.30.3

func (mr *MockResourceClientMockRecorder) ApplyStatus(statusClient, inputResource, opts interface{}) *gomock.Call

ApplyStatus indicates an expected call of ApplyStatus.

func (*MockResourceClientMockRecorder) Delete

func (mr *MockResourceClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockResourceClientMockRecorder) Kind

Kind indicates an expected call of Kind.

func (*MockResourceClientMockRecorder) List

func (mr *MockResourceClientMockRecorder) List(namespace, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceClientMockRecorder) NewResource

func (mr *MockResourceClientMockRecorder) NewResource() *gomock.Call

NewResource indicates an expected call of NewResource.

func (*MockResourceClientMockRecorder) Read

func (mr *MockResourceClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call

Read indicates an expected call of Read.

func (*MockResourceClientMockRecorder) Register

func (mr *MockResourceClientMockRecorder) Register() *gomock.Call

Register indicates an expected call of Register.

func (*MockResourceClientMockRecorder) Watch

func (mr *MockResourceClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

func (*MockResourceClientMockRecorder) Write

func (mr *MockResourceClientMockRecorder) Write(resource, opts interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockResourceWatcher

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

MockResourceWatcher is a mock of ResourceWatcher interface.

func NewMockResourceWatcher

func NewMockResourceWatcher(ctrl *gomock.Controller) *MockResourceWatcher

NewMockResourceWatcher creates a new mock instance.

func (*MockResourceWatcher) EXPECT

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

func (*MockResourceWatcher) Watch

func (m *MockResourceWatcher) Watch(namespace string, opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)

Watch mocks base method.

type MockResourceWatcherMockRecorder

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

MockResourceWatcherMockRecorder is the mock recorder for MockResourceWatcher.

func (*MockResourceWatcherMockRecorder) Watch

func (mr *MockResourceWatcherMockRecorder) Watch(namespace, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockStorageWriteOpts

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

MockStorageWriteOpts is a mock of StorageWriteOpts interface.

func NewMockStorageWriteOpts

func NewMockStorageWriteOpts(ctrl *gomock.Controller) *MockStorageWriteOpts

NewMockStorageWriteOpts creates a new mock instance.

func (*MockStorageWriteOpts) EXPECT

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

func (*MockStorageWriteOpts) StorageWriteOptsTag

func (m *MockStorageWriteOpts) StorageWriteOptsTag()

StorageWriteOptsTag mocks base method.

type MockStorageWriteOptsMockRecorder

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

MockStorageWriteOptsMockRecorder is the mock recorder for MockStorageWriteOpts.

func (*MockStorageWriteOptsMockRecorder) StorageWriteOptsTag

func (mr *MockStorageWriteOptsMockRecorder) StorageWriteOptsTag() *gomock.Call

StorageWriteOptsTag indicates an expected call of StorageWriteOptsTag.

Jump to

Keyboard shortcuts

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