Documentation
¶
Index ¶
- type MockJanitorClient
- func (_m *MockJanitorClient) AddKnownTypeToState(obj types.Object)
- func (_m *MockJanitorClient) AllReady() bool
- func (_m *MockJanitorClient) AnyChanged() bool
- func (_m *MockJanitorClient) Cleanup(ctx context.Context, objectList types.ObjectList, ...) (int, error)
- func (_m *MockJanitorClient) CleanupAll(ctx context.Context, listOpts []pkgclient.ListOption) (int, error)
- func (_m *MockJanitorClient) CreateOrUpdate(ctx context.Context, obj pkgclient.Object, mutate controllerutil.MutateFn) (controllerutil.OperationResult, error)
- func (_m *MockJanitorClient) Delete(ctx context.Context, obj pkgclient.Object, opts ...pkgclient.DeleteOption) error
- func (_m *MockJanitorClient) EXPECT() *MockJanitorClient_Expecter
- func (_m *MockJanitorClient) Get(ctx context.Context, key pkgtypes.NamespacedName, obj pkgclient.Object, ...) error
- func (_m *MockJanitorClient) List(ctx context.Context, list pkgclient.ObjectList, opts ...pkgclient.ListOption) error
- func (_m *MockJanitorClient) Reset()
- func (_m *MockJanitorClient) Scheme() *runtime.Scheme
- func (_m *MockJanitorClient) Wrap(ctx context.Context, objectList types.ObjectList, ...) (int, error)
- type MockJanitorClient_AddKnownTypeToState_Call
- func (_c *MockJanitorClient_AddKnownTypeToState_Call) Return() *MockJanitorClient_AddKnownTypeToState_Call
- func (_c *MockJanitorClient_AddKnownTypeToState_Call) Run(run func(obj types.Object)) *MockJanitorClient_AddKnownTypeToState_Call
- func (_c *MockJanitorClient_AddKnownTypeToState_Call) RunAndReturn(run func(types.Object)) *MockJanitorClient_AddKnownTypeToState_Call
- type MockJanitorClient_AllReady_Call
- type MockJanitorClient_AnyChanged_Call
- func (_c *MockJanitorClient_AnyChanged_Call) Return(_a0 bool) *MockJanitorClient_AnyChanged_Call
- func (_c *MockJanitorClient_AnyChanged_Call) Run(run func()) *MockJanitorClient_AnyChanged_Call
- func (_c *MockJanitorClient_AnyChanged_Call) RunAndReturn(run func() bool) *MockJanitorClient_AnyChanged_Call
- type MockJanitorClient_CleanupAll_Call
- func (_c *MockJanitorClient_CleanupAll_Call) Return(_a0 int, _a1 error) *MockJanitorClient_CleanupAll_Call
- func (_c *MockJanitorClient_CleanupAll_Call) Run(run func(ctx context.Context, listOpts []pkgclient.ListOption)) *MockJanitorClient_CleanupAll_Call
- func (_c *MockJanitorClient_CleanupAll_Call) RunAndReturn(run func(context.Context, []pkgclient.ListOption) (int, error)) *MockJanitorClient_CleanupAll_Call
- type MockJanitorClient_Cleanup_Call
- func (_c *MockJanitorClient_Cleanup_Call) Return(deleted int, err error) *MockJanitorClient_Cleanup_Call
- func (_c *MockJanitorClient_Cleanup_Call) Run(run func(ctx context.Context, objectList types.ObjectList, ...)) *MockJanitorClient_Cleanup_Call
- func (_c *MockJanitorClient_Cleanup_Call) RunAndReturn(...) *MockJanitorClient_Cleanup_Call
- type MockJanitorClient_CreateOrUpdate_Call
- func (_c *MockJanitorClient_CreateOrUpdate_Call) Return(_a0 controllerutil.OperationResult, _a1 error) *MockJanitorClient_CreateOrUpdate_Call
- func (_c *MockJanitorClient_CreateOrUpdate_Call) Run(...) *MockJanitorClient_CreateOrUpdate_Call
- func (_c *MockJanitorClient_CreateOrUpdate_Call) RunAndReturn(...) *MockJanitorClient_CreateOrUpdate_Call
- type MockJanitorClient_Delete_Call
- func (_c *MockJanitorClient_Delete_Call) Return(_a0 error) *MockJanitorClient_Delete_Call
- func (_c *MockJanitorClient_Delete_Call) Run(...) *MockJanitorClient_Delete_Call
- func (_c *MockJanitorClient_Delete_Call) RunAndReturn(run func(context.Context, pkgclient.Object, ...pkgclient.DeleteOption) error) *MockJanitorClient_Delete_Call
- type MockJanitorClient_Expecter
- func (_e *MockJanitorClient_Expecter) AddKnownTypeToState(obj interface{}) *MockJanitorClient_AddKnownTypeToState_Call
- func (_e *MockJanitorClient_Expecter) AllReady() *MockJanitorClient_AllReady_Call
- func (_e *MockJanitorClient_Expecter) AnyChanged() *MockJanitorClient_AnyChanged_Call
- func (_e *MockJanitorClient_Expecter) Cleanup(ctx interface{}, objectList interface{}, listOpts interface{}) *MockJanitorClient_Cleanup_Call
- func (_e *MockJanitorClient_Expecter) CleanupAll(ctx interface{}, listOpts interface{}) *MockJanitorClient_CleanupAll_Call
- func (_e *MockJanitorClient_Expecter) CreateOrUpdate(ctx interface{}, obj interface{}, mutate interface{}) *MockJanitorClient_CreateOrUpdate_Call
- func (_e *MockJanitorClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *MockJanitorClient_Delete_Call
- func (_e *MockJanitorClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *MockJanitorClient_Get_Call
- func (_e *MockJanitorClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *MockJanitorClient_List_Call
- func (_e *MockJanitorClient_Expecter) Reset() *MockJanitorClient_Reset_Call
- func (_e *MockJanitorClient_Expecter) Scheme() *MockJanitorClient_Scheme_Call
- func (_e *MockJanitorClient_Expecter) Wrap(ctx interface{}, objectList interface{}, listOpts interface{}, f interface{}) *MockJanitorClient_Wrap_Call
- type MockJanitorClient_Get_Call
- type MockJanitorClient_List_Call
- func (_c *MockJanitorClient_List_Call) Return(_a0 error) *MockJanitorClient_List_Call
- func (_c *MockJanitorClient_List_Call) Run(...) *MockJanitorClient_List_Call
- func (_c *MockJanitorClient_List_Call) RunAndReturn(run func(context.Context, pkgclient.ObjectList, ...pkgclient.ListOption) error) *MockJanitorClient_List_Call
- type MockJanitorClient_Reset_Call
- type MockJanitorClient_Scheme_Call
- func (_c *MockJanitorClient_Scheme_Call) Return(_a0 *runtime.Scheme) *MockJanitorClient_Scheme_Call
- func (_c *MockJanitorClient_Scheme_Call) Run(run func()) *MockJanitorClient_Scheme_Call
- func (_c *MockJanitorClient_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *MockJanitorClient_Scheme_Call
- type MockJanitorClient_Wrap_Call
- func (_c *MockJanitorClient_Wrap_Call) Return(deleted int, err error) *MockJanitorClient_Wrap_Call
- func (_c *MockJanitorClient_Wrap_Call) Run(run func(ctx context.Context, objectList types.ObjectList, ...)) *MockJanitorClient_Wrap_Call
- func (_c *MockJanitorClient_Wrap_Call) RunAndReturn(...) *MockJanitorClient_Wrap_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockJanitorClient ¶
MockJanitorClient is an autogenerated mock type for the JanitorClient type
func NewMockJanitorClient ¶
func NewMockJanitorClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockJanitorClient
NewMockJanitorClient creates a new instance of MockJanitorClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockJanitorClient) AddKnownTypeToState ¶
func (_m *MockJanitorClient) AddKnownTypeToState(obj types.Object)
AddKnownTypeToState provides a mock function with given fields: obj
func (*MockJanitorClient) AllReady ¶
func (_m *MockJanitorClient) AllReady() bool
AllReady provides a mock function with no fields
func (*MockJanitorClient) AnyChanged ¶
func (_m *MockJanitorClient) AnyChanged() bool
AnyChanged provides a mock function with no fields
func (*MockJanitorClient) Cleanup ¶
func (_m *MockJanitorClient) Cleanup(ctx context.Context, objectList types.ObjectList, listOpts []pkgclient.ListOption) (int, error)
Cleanup provides a mock function with given fields: ctx, objectList, listOpts
func (*MockJanitorClient) CleanupAll ¶
func (_m *MockJanitorClient) CleanupAll(ctx context.Context, listOpts []pkgclient.ListOption) (int, error)
CleanupAll provides a mock function with given fields: ctx, listOpts
func (*MockJanitorClient) CreateOrUpdate ¶
func (_m *MockJanitorClient) CreateOrUpdate(ctx context.Context, obj pkgclient.Object, mutate controllerutil.MutateFn) (controllerutil.OperationResult, error)
CreateOrUpdate provides a mock function with given fields: ctx, obj, mutate
func (*MockJanitorClient) Delete ¶
func (_m *MockJanitorClient) Delete(ctx context.Context, obj pkgclient.Object, opts ...pkgclient.DeleteOption) error
Delete provides a mock function with given fields: ctx, obj, opts
func (*MockJanitorClient) EXPECT ¶
func (_m *MockJanitorClient) EXPECT() *MockJanitorClient_Expecter
func (*MockJanitorClient) Get ¶
func (_m *MockJanitorClient) Get(ctx context.Context, key pkgtypes.NamespacedName, obj pkgclient.Object, opts ...pkgclient.GetOption) error
Get provides a mock function with given fields: ctx, key, obj, opts
func (*MockJanitorClient) List ¶
func (_m *MockJanitorClient) List(ctx context.Context, list pkgclient.ObjectList, opts ...pkgclient.ListOption) error
List provides a mock function with given fields: ctx, list, opts
func (*MockJanitorClient) Reset ¶
func (_m *MockJanitorClient) Reset()
Reset provides a mock function with no fields
func (*MockJanitorClient) Scheme ¶
func (_m *MockJanitorClient) Scheme() *runtime.Scheme
Scheme provides a mock function with no fields
func (*MockJanitorClient) Wrap ¶
func (_m *MockJanitorClient) Wrap(ctx context.Context, objectList types.ObjectList, listOpts []pkgclient.ListOption, f func(client.ScopedClient) bool) (int, error)
Wrap provides a mock function with given fields: ctx, objectList, listOpts, f
type MockJanitorClient_AddKnownTypeToState_Call ¶
MockJanitorClient_AddKnownTypeToState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddKnownTypeToState'
func (*MockJanitorClient_AddKnownTypeToState_Call) Return ¶
func (_c *MockJanitorClient_AddKnownTypeToState_Call) Return() *MockJanitorClient_AddKnownTypeToState_Call
func (*MockJanitorClient_AddKnownTypeToState_Call) Run ¶
func (_c *MockJanitorClient_AddKnownTypeToState_Call) Run(run func(obj types.Object)) *MockJanitorClient_AddKnownTypeToState_Call
func (*MockJanitorClient_AddKnownTypeToState_Call) RunAndReturn ¶
func (_c *MockJanitorClient_AddKnownTypeToState_Call) RunAndReturn(run func(types.Object)) *MockJanitorClient_AddKnownTypeToState_Call
type MockJanitorClient_AllReady_Call ¶
MockJanitorClient_AllReady_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllReady'
func (*MockJanitorClient_AllReady_Call) Return ¶
func (_c *MockJanitorClient_AllReady_Call) Return(_a0 bool) *MockJanitorClient_AllReady_Call
func (*MockJanitorClient_AllReady_Call) Run ¶
func (_c *MockJanitorClient_AllReady_Call) Run(run func()) *MockJanitorClient_AllReady_Call
func (*MockJanitorClient_AllReady_Call) RunAndReturn ¶
func (_c *MockJanitorClient_AllReady_Call) RunAndReturn(run func() bool) *MockJanitorClient_AllReady_Call
type MockJanitorClient_AnyChanged_Call ¶
MockJanitorClient_AnyChanged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnyChanged'
func (*MockJanitorClient_AnyChanged_Call) Return ¶
func (_c *MockJanitorClient_AnyChanged_Call) Return(_a0 bool) *MockJanitorClient_AnyChanged_Call
func (*MockJanitorClient_AnyChanged_Call) Run ¶
func (_c *MockJanitorClient_AnyChanged_Call) Run(run func()) *MockJanitorClient_AnyChanged_Call
func (*MockJanitorClient_AnyChanged_Call) RunAndReturn ¶
func (_c *MockJanitorClient_AnyChanged_Call) RunAndReturn(run func() bool) *MockJanitorClient_AnyChanged_Call
type MockJanitorClient_CleanupAll_Call ¶
MockJanitorClient_CleanupAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanupAll'
func (*MockJanitorClient_CleanupAll_Call) Return ¶
func (_c *MockJanitorClient_CleanupAll_Call) Return(_a0 int, _a1 error) *MockJanitorClient_CleanupAll_Call
func (*MockJanitorClient_CleanupAll_Call) Run ¶
func (_c *MockJanitorClient_CleanupAll_Call) Run(run func(ctx context.Context, listOpts []pkgclient.ListOption)) *MockJanitorClient_CleanupAll_Call
func (*MockJanitorClient_CleanupAll_Call) RunAndReturn ¶
func (_c *MockJanitorClient_CleanupAll_Call) RunAndReturn(run func(context.Context, []pkgclient.ListOption) (int, error)) *MockJanitorClient_CleanupAll_Call
type MockJanitorClient_Cleanup_Call ¶
MockJanitorClient_Cleanup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cleanup'
func (*MockJanitorClient_Cleanup_Call) Return ¶
func (_c *MockJanitorClient_Cleanup_Call) Return(deleted int, err error) *MockJanitorClient_Cleanup_Call
func (*MockJanitorClient_Cleanup_Call) Run ¶
func (_c *MockJanitorClient_Cleanup_Call) Run(run func(ctx context.Context, objectList types.ObjectList, listOpts []pkgclient.ListOption)) *MockJanitorClient_Cleanup_Call
func (*MockJanitorClient_Cleanup_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Cleanup_Call) RunAndReturn(run func(context.Context, types.ObjectList, []pkgclient.ListOption) (int, error)) *MockJanitorClient_Cleanup_Call
type MockJanitorClient_CreateOrUpdate_Call ¶
MockJanitorClient_CreateOrUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateOrUpdate'
func (*MockJanitorClient_CreateOrUpdate_Call) Return ¶
func (_c *MockJanitorClient_CreateOrUpdate_Call) Return(_a0 controllerutil.OperationResult, _a1 error) *MockJanitorClient_CreateOrUpdate_Call
func (*MockJanitorClient_CreateOrUpdate_Call) Run ¶
func (_c *MockJanitorClient_CreateOrUpdate_Call) Run(run func(ctx context.Context, obj pkgclient.Object, mutate controllerutil.MutateFn)) *MockJanitorClient_CreateOrUpdate_Call
func (*MockJanitorClient_CreateOrUpdate_Call) RunAndReturn ¶
func (_c *MockJanitorClient_CreateOrUpdate_Call) RunAndReturn(run func(context.Context, pkgclient.Object, controllerutil.MutateFn) (controllerutil.OperationResult, error)) *MockJanitorClient_CreateOrUpdate_Call
type MockJanitorClient_Delete_Call ¶
MockJanitorClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*MockJanitorClient_Delete_Call) Return ¶
func (_c *MockJanitorClient_Delete_Call) Return(_a0 error) *MockJanitorClient_Delete_Call
func (*MockJanitorClient_Delete_Call) Run ¶
func (_c *MockJanitorClient_Delete_Call) Run(run func(ctx context.Context, obj pkgclient.Object, opts ...pkgclient.DeleteOption)) *MockJanitorClient_Delete_Call
func (*MockJanitorClient_Delete_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Delete_Call) RunAndReturn(run func(context.Context, pkgclient.Object, ...pkgclient.DeleteOption) error) *MockJanitorClient_Delete_Call
type MockJanitorClient_Expecter ¶
type MockJanitorClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockJanitorClient_Expecter) AddKnownTypeToState ¶
func (_e *MockJanitorClient_Expecter) AddKnownTypeToState(obj interface{}) *MockJanitorClient_AddKnownTypeToState_Call
AddKnownTypeToState is a helper method to define mock.On call
- obj types.Object
func (*MockJanitorClient_Expecter) AllReady ¶
func (_e *MockJanitorClient_Expecter) AllReady() *MockJanitorClient_AllReady_Call
AllReady is a helper method to define mock.On call
func (*MockJanitorClient_Expecter) AnyChanged ¶
func (_e *MockJanitorClient_Expecter) AnyChanged() *MockJanitorClient_AnyChanged_Call
AnyChanged is a helper method to define mock.On call
func (*MockJanitorClient_Expecter) Cleanup ¶
func (_e *MockJanitorClient_Expecter) Cleanup(ctx interface{}, objectList interface{}, listOpts interface{}) *MockJanitorClient_Cleanup_Call
Cleanup is a helper method to define mock.On call
- ctx context.Context
- objectList types.ObjectList
- listOpts []pkgclient.ListOption
func (*MockJanitorClient_Expecter) CleanupAll ¶
func (_e *MockJanitorClient_Expecter) CleanupAll(ctx interface{}, listOpts interface{}) *MockJanitorClient_CleanupAll_Call
CleanupAll is a helper method to define mock.On call
- ctx context.Context
- listOpts []pkgclient.ListOption
func (*MockJanitorClient_Expecter) CreateOrUpdate ¶
func (_e *MockJanitorClient_Expecter) CreateOrUpdate(ctx interface{}, obj interface{}, mutate interface{}) *MockJanitorClient_CreateOrUpdate_Call
CreateOrUpdate is a helper method to define mock.On call
- ctx context.Context
- obj pkgclient.Object
- mutate controllerutil.MutateFn
func (*MockJanitorClient_Expecter) Delete ¶
func (_e *MockJanitorClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *MockJanitorClient_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- obj pkgclient.Object
- opts ...pkgclient.DeleteOption
func (*MockJanitorClient_Expecter) Get ¶
func (_e *MockJanitorClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *MockJanitorClient_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key pkgtypes.NamespacedName
- obj pkgclient.Object
- opts ...pkgclient.GetOption
func (*MockJanitorClient_Expecter) List ¶
func (_e *MockJanitorClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *MockJanitorClient_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- list pkgclient.ObjectList
- opts ...pkgclient.ListOption
func (*MockJanitorClient_Expecter) Reset ¶
func (_e *MockJanitorClient_Expecter) Reset() *MockJanitorClient_Reset_Call
Reset is a helper method to define mock.On call
func (*MockJanitorClient_Expecter) Scheme ¶
func (_e *MockJanitorClient_Expecter) Scheme() *MockJanitorClient_Scheme_Call
Scheme is a helper method to define mock.On call
func (*MockJanitorClient_Expecter) Wrap ¶
func (_e *MockJanitorClient_Expecter) Wrap(ctx interface{}, objectList interface{}, listOpts interface{}, f interface{}) *MockJanitorClient_Wrap_Call
Wrap is a helper method to define mock.On call
- ctx context.Context
- objectList types.ObjectList
- listOpts []pkgclient.ListOption
- f func(client.ScopedClient) bool
type MockJanitorClient_Get_Call ¶
MockJanitorClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockJanitorClient_Get_Call) Return ¶
func (_c *MockJanitorClient_Get_Call) Return(_a0 error) *MockJanitorClient_Get_Call
func (*MockJanitorClient_Get_Call) Run ¶
func (_c *MockJanitorClient_Get_Call) Run(run func(ctx context.Context, key pkgtypes.NamespacedName, obj pkgclient.Object, opts ...pkgclient.GetOption)) *MockJanitorClient_Get_Call
func (*MockJanitorClient_Get_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Get_Call) RunAndReturn(run func(context.Context, pkgtypes.NamespacedName, pkgclient.Object, ...pkgclient.GetOption) error) *MockJanitorClient_Get_Call
type MockJanitorClient_List_Call ¶
MockJanitorClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*MockJanitorClient_List_Call) Return ¶
func (_c *MockJanitorClient_List_Call) Return(_a0 error) *MockJanitorClient_List_Call
func (*MockJanitorClient_List_Call) Run ¶
func (_c *MockJanitorClient_List_Call) Run(run func(ctx context.Context, list pkgclient.ObjectList, opts ...pkgclient.ListOption)) *MockJanitorClient_List_Call
func (*MockJanitorClient_List_Call) RunAndReturn ¶
func (_c *MockJanitorClient_List_Call) RunAndReturn(run func(context.Context, pkgclient.ObjectList, ...pkgclient.ListOption) error) *MockJanitorClient_List_Call
type MockJanitorClient_Reset_Call ¶
MockJanitorClient_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*MockJanitorClient_Reset_Call) Return ¶
func (_c *MockJanitorClient_Reset_Call) Return() *MockJanitorClient_Reset_Call
func (*MockJanitorClient_Reset_Call) Run ¶
func (_c *MockJanitorClient_Reset_Call) Run(run func()) *MockJanitorClient_Reset_Call
func (*MockJanitorClient_Reset_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Reset_Call) RunAndReturn(run func()) *MockJanitorClient_Reset_Call
type MockJanitorClient_Scheme_Call ¶
MockJanitorClient_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'
func (*MockJanitorClient_Scheme_Call) Return ¶
func (_c *MockJanitorClient_Scheme_Call) Return(_a0 *runtime.Scheme) *MockJanitorClient_Scheme_Call
func (*MockJanitorClient_Scheme_Call) Run ¶
func (_c *MockJanitorClient_Scheme_Call) Run(run func()) *MockJanitorClient_Scheme_Call
func (*MockJanitorClient_Scheme_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *MockJanitorClient_Scheme_Call
type MockJanitorClient_Wrap_Call ¶
MockJanitorClient_Wrap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Wrap'
func (*MockJanitorClient_Wrap_Call) Return ¶
func (_c *MockJanitorClient_Wrap_Call) Return(deleted int, err error) *MockJanitorClient_Wrap_Call
func (*MockJanitorClient_Wrap_Call) Run ¶
func (_c *MockJanitorClient_Wrap_Call) Run(run func(ctx context.Context, objectList types.ObjectList, listOpts []pkgclient.ListOption, f func(client.ScopedClient) bool)) *MockJanitorClient_Wrap_Call
func (*MockJanitorClient_Wrap_Call) RunAndReturn ¶
func (_c *MockJanitorClient_Wrap_Call) RunAndReturn(run func(context.Context, types.ObjectList, []pkgclient.ListOption, func(client.ScopedClient) bool) (int, error)) *MockJanitorClient_Wrap_Call