Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockResourceClient
- func (m *MockResourceClient) ApplyStatus(statusClient resources.StatusClient, inputResource resources.InputResource, ...) (resources.Resource, error)
- func (m *MockResourceClient) Delete(namespace, name string, opts clients.DeleteOpts) error
- func (m *MockResourceClient) EXPECT() *MockResourceClientMockRecorder
- func (m *MockResourceClient) Kind() string
- func (m *MockResourceClient) List(namespace string, opts clients.ListOpts) (resources.ResourceList, error)
- func (m *MockResourceClient) NewResource() resources.Resource
- func (m *MockResourceClient) Read(namespace, name string, opts clients.ReadOpts) (resources.Resource, error)
- func (m *MockResourceClient) Register() error
- func (m *MockResourceClient) Watch(namespace string, opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)
- func (m *MockResourceClient) Write(resource resources.Resource, opts clients.WriteOpts) (resources.Resource, error)
- type MockResourceClientMockRecorder
- func (mr *MockResourceClientMockRecorder) ApplyStatus(statusClient, inputResource, opts interface{}) *gomock.Call
- func (mr *MockResourceClientMockRecorder) Delete(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockResourceClientMockRecorder) Kind() *gomock.Call
- func (mr *MockResourceClientMockRecorder) List(namespace, opts interface{}) *gomock.Call
- func (mr *MockResourceClientMockRecorder) NewResource() *gomock.Call
- func (mr *MockResourceClientMockRecorder) Read(namespace, name, opts interface{}) *gomock.Call
- func (mr *MockResourceClientMockRecorder) Register() *gomock.Call
- func (mr *MockResourceClientMockRecorder) Watch(namespace, opts interface{}) *gomock.Call
- func (mr *MockResourceClientMockRecorder) Write(resource, opts interface{}) *gomock.Call
- type MockResourceWatcher
- type MockResourceWatcherMockRecorder
- type MockStorageWriteOpts
- type MockStorageWriteOptsMockRecorder
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 ¶
func (m *MockResourceClient) EXPECT() *MockResourceClientMockRecorder
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 ¶
func (m *MockResourceClient) List(namespace string, opts clients.ListOpts) (resources.ResourceList, error)
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.
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 ¶
func (mr *MockResourceClientMockRecorder) Kind() *gomock.Call
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 ¶
func (m *MockResourceWatcher) EXPECT() *MockResourceWatcherMockRecorder
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 ¶
func (m *MockStorageWriteOpts) EXPECT() *MockStorageWriteOptsMockRecorder
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.