Documentation ¶
Index ¶
- type AsyncWorker
- type AsyncWorker_Enqueue_Call
- func (_c *AsyncWorker_Enqueue_Call) Return(_a0 error) *AsyncWorker_Enqueue_Call
- func (_c *AsyncWorker_Enqueue_Call) Run(run func(ctx context.Context, jobs ...worker.Job)) *AsyncWorker_Enqueue_Call
- func (_c *AsyncWorker_Enqueue_Call) RunAndReturn(run func(context.Context, ...worker.Job) error) *AsyncWorker_Enqueue_Call
- type AsyncWorker_Expecter
- type LoggableModule
- func (_m *LoggableModule) EXPECT() *LoggableModule_Expecter
- func (_m *LoggableModule) Log(ctx context.Context, res module.ExpandedResource, filter map[string]string) (<-chan module.LogChunk, error)
- func (_m *LoggableModule) Output(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
- func (_m *LoggableModule) Plan(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
- func (_m *LoggableModule) Sync(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
- type LoggableModule_Expecter
- func (_e *LoggableModule_Expecter) Log(ctx interface{}, res interface{}, filter interface{}) *LoggableModule_Log_Call
- func (_e *LoggableModule_Expecter) Output(ctx interface{}, res interface{}) *LoggableModule_Output_Call
- func (_e *LoggableModule_Expecter) Plan(ctx interface{}, res interface{}, act interface{}) *LoggableModule_Plan_Call
- func (_e *LoggableModule_Expecter) Sync(ctx interface{}, res interface{}) *LoggableModule_Sync_Call
- type LoggableModule_Log_Call
- type LoggableModule_Output_Call
- func (_c *LoggableModule_Output_Call) Return(_a0 json.RawMessage, _a1 error) *LoggableModule_Output_Call
- func (_c *LoggableModule_Output_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *LoggableModule_Output_Call
- func (_c *LoggableModule_Output_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *LoggableModule_Output_Call
- type LoggableModule_Plan_Call
- type LoggableModule_Sync_Call
- func (_c *LoggableModule_Sync_Call) Return(_a0 *resource.State, _a1 error) *LoggableModule_Sync_Call
- func (_c *LoggableModule_Sync_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *LoggableModule_Sync_Call
- func (_c *LoggableModule_Sync_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *LoggableModule_Sync_Call
- type ModuleDriver
- func (_m *ModuleDriver) EXPECT() *ModuleDriver_Expecter
- func (_m *ModuleDriver) Output(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
- func (_m *ModuleDriver) Plan(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
- func (_m *ModuleDriver) Sync(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
- type ModuleDriver_Expecter
- func (_e *ModuleDriver_Expecter) Output(ctx interface{}, res interface{}) *ModuleDriver_Output_Call
- func (_e *ModuleDriver_Expecter) Plan(ctx interface{}, res interface{}, act interface{}) *ModuleDriver_Plan_Call
- func (_e *ModuleDriver_Expecter) Sync(ctx interface{}, res interface{}) *ModuleDriver_Sync_Call
- type ModuleDriver_Output_Call
- func (_c *ModuleDriver_Output_Call) Return(_a0 json.RawMessage, _a1 error) *ModuleDriver_Output_Call
- func (_c *ModuleDriver_Output_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleDriver_Output_Call
- func (_c *ModuleDriver_Output_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *ModuleDriver_Output_Call
- type ModuleDriver_Plan_Call
- type ModuleDriver_Sync_Call
- func (_c *ModuleDriver_Sync_Call) Return(_a0 *resource.State, _a1 error) *ModuleDriver_Sync_Call
- func (_c *ModuleDriver_Sync_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleDriver_Sync_Call
- func (_c *ModuleDriver_Sync_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *ModuleDriver_Sync_Call
- type ModuleRegistry
- type ModuleRegistry_Expecter
- type ModuleRegistry_GetDriver_Call
- func (_c *ModuleRegistry_GetDriver_Call) Return(_a0 module.Driver, _a1 module.Descriptor, _a2 error) *ModuleRegistry_GetDriver_Call
- func (_c *ModuleRegistry_GetDriver_Call) Run(run func(ctx context.Context, mod module.Module)) *ModuleRegistry_GetDriver_Call
- func (_c *ModuleRegistry_GetDriver_Call) RunAndReturn(...) *ModuleRegistry_GetDriver_Call
- type ModuleService
- func (_m *ModuleService) EXPECT() *ModuleService_Expecter
- func (_m *ModuleService) GetOutput(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
- func (_m *ModuleService) PlanAction(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
- func (_m *ModuleService) StreamLogs(ctx context.Context, res module.ExpandedResource, filter map[string]string) (<-chan module.LogChunk, error)
- func (_m *ModuleService) SyncState(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
- type ModuleService_Expecter
- func (_e *ModuleService_Expecter) GetOutput(ctx interface{}, res interface{}) *ModuleService_GetOutput_Call
- func (_e *ModuleService_Expecter) PlanAction(ctx interface{}, res interface{}, act interface{}) *ModuleService_PlanAction_Call
- func (_e *ModuleService_Expecter) StreamLogs(ctx interface{}, res interface{}, filter interface{}) *ModuleService_StreamLogs_Call
- func (_e *ModuleService_Expecter) SyncState(ctx interface{}, res interface{}) *ModuleService_SyncState_Call
- type ModuleService_GetOutput_Call
- func (_c *ModuleService_GetOutput_Call) Return(_a0 json.RawMessage, _a1 error) *ModuleService_GetOutput_Call
- func (_c *ModuleService_GetOutput_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleService_GetOutput_Call
- func (_c *ModuleService_GetOutput_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *ModuleService_GetOutput_Call
- type ModuleService_PlanAction_Call
- type ModuleService_StreamLogs_Call
- type ModuleService_SyncState_Call
- func (_c *ModuleService_SyncState_Call) Return(_a0 *resource.State, _a1 error) *ModuleService_SyncState_Call
- func (_c *ModuleService_SyncState_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleService_SyncState_Call
- func (_c *ModuleService_SyncState_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *ModuleService_SyncState_Call
- type ModuleStore
- func (_m *ModuleStore) CreateModule(ctx context.Context, m module.Module) error
- func (_m *ModuleStore) DeleteModule(ctx context.Context, urn string) error
- func (_m *ModuleStore) EXPECT() *ModuleStore_Expecter
- func (_m *ModuleStore) GetModule(ctx context.Context, urn string) (*module.Module, error)
- func (_m *ModuleStore) ListModules(ctx context.Context, project string) ([]module.Module, error)
- func (_m *ModuleStore) UpdateModule(ctx context.Context, m module.Module) error
- type ModuleStore_CreateModule_Call
- func (_c *ModuleStore_CreateModule_Call) Return(_a0 error) *ModuleStore_CreateModule_Call
- func (_c *ModuleStore_CreateModule_Call) Run(run func(ctx context.Context, m module.Module)) *ModuleStore_CreateModule_Call
- func (_c *ModuleStore_CreateModule_Call) RunAndReturn(run func(context.Context, module.Module) error) *ModuleStore_CreateModule_Call
- type ModuleStore_DeleteModule_Call
- func (_c *ModuleStore_DeleteModule_Call) Return(_a0 error) *ModuleStore_DeleteModule_Call
- func (_c *ModuleStore_DeleteModule_Call) Run(run func(ctx context.Context, urn string)) *ModuleStore_DeleteModule_Call
- func (_c *ModuleStore_DeleteModule_Call) RunAndReturn(run func(context.Context, string) error) *ModuleStore_DeleteModule_Call
- type ModuleStore_Expecter
- func (_e *ModuleStore_Expecter) CreateModule(ctx interface{}, m interface{}) *ModuleStore_CreateModule_Call
- func (_e *ModuleStore_Expecter) DeleteModule(ctx interface{}, urn interface{}) *ModuleStore_DeleteModule_Call
- func (_e *ModuleStore_Expecter) GetModule(ctx interface{}, urn interface{}) *ModuleStore_GetModule_Call
- func (_e *ModuleStore_Expecter) ListModules(ctx interface{}, project interface{}) *ModuleStore_ListModules_Call
- func (_e *ModuleStore_Expecter) UpdateModule(ctx interface{}, m interface{}) *ModuleStore_UpdateModule_Call
- type ModuleStore_GetModule_Call
- func (_c *ModuleStore_GetModule_Call) Return(_a0 *module.Module, _a1 error) *ModuleStore_GetModule_Call
- func (_c *ModuleStore_GetModule_Call) Run(run func(ctx context.Context, urn string)) *ModuleStore_GetModule_Call
- func (_c *ModuleStore_GetModule_Call) RunAndReturn(run func(context.Context, string) (*module.Module, error)) *ModuleStore_GetModule_Call
- type ModuleStore_ListModules_Call
- func (_c *ModuleStore_ListModules_Call) Return(_a0 []module.Module, _a1 error) *ModuleStore_ListModules_Call
- func (_c *ModuleStore_ListModules_Call) Run(run func(ctx context.Context, project string)) *ModuleStore_ListModules_Call
- func (_c *ModuleStore_ListModules_Call) RunAndReturn(run func(context.Context, string) ([]module.Module, error)) *ModuleStore_ListModules_Call
- type ModuleStore_UpdateModule_Call
- func (_c *ModuleStore_UpdateModule_Call) Return(_a0 error) *ModuleStore_UpdateModule_Call
- func (_c *ModuleStore_UpdateModule_Call) Run(run func(ctx context.Context, m module.Module)) *ModuleStore_UpdateModule_Call
- func (_c *ModuleStore_UpdateModule_Call) RunAndReturn(run func(context.Context, module.Module) error) *ModuleStore_UpdateModule_Call
- type ResourceStore
- func (_m *ResourceStore) Create(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook) error
- func (_m *ResourceStore) Delete(ctx context.Context, urn string, hooks ...resource.MutationHook) error
- func (_m *ResourceStore) EXPECT() *ResourceStore_Expecter
- func (_m *ResourceStore) GetByURN(ctx context.Context, urn string) (*resource.Resource, error)
- func (_m *ResourceStore) List(ctx context.Context, filter resource.Filter, withSpecConfigs bool) ([]resource.Resource, error)
- func (_m *ResourceStore) Revisions(ctx context.Context, selector resource.RevisionsSelector) ([]resource.Revision, error)
- func (_m *ResourceStore) SyncOne(ctx context.Context, scope map[string][]string, syncFn resource.SyncFn) error
- func (_m *ResourceStore) Update(ctx context.Context, r resource.Resource, saveRevision bool, reason string, ...) error
- type ResourceStore_Create_Call
- func (_c *ResourceStore_Create_Call) Return(_a0 error) *ResourceStore_Create_Call
- func (_c *ResourceStore_Create_Call) Run(...) *ResourceStore_Create_Call
- func (_c *ResourceStore_Create_Call) RunAndReturn(run func(context.Context, resource.Resource, ...resource.MutationHook) error) *ResourceStore_Create_Call
- type ResourceStore_Delete_Call
- func (_c *ResourceStore_Delete_Call) Return(_a0 error) *ResourceStore_Delete_Call
- func (_c *ResourceStore_Delete_Call) Run(run func(ctx context.Context, urn string, hooks ...resource.MutationHook)) *ResourceStore_Delete_Call
- func (_c *ResourceStore_Delete_Call) RunAndReturn(run func(context.Context, string, ...resource.MutationHook) error) *ResourceStore_Delete_Call
- type ResourceStore_Expecter
- func (_e *ResourceStore_Expecter) Create(ctx interface{}, r interface{}, hooks ...interface{}) *ResourceStore_Create_Call
- func (_e *ResourceStore_Expecter) Delete(ctx interface{}, urn interface{}, hooks ...interface{}) *ResourceStore_Delete_Call
- func (_e *ResourceStore_Expecter) GetByURN(ctx interface{}, urn interface{}) *ResourceStore_GetByURN_Call
- func (_e *ResourceStore_Expecter) List(ctx interface{}, filter interface{}, withSpecConfigs interface{}) *ResourceStore_List_Call
- func (_e *ResourceStore_Expecter) Revisions(ctx interface{}, selector interface{}) *ResourceStore_Revisions_Call
- func (_e *ResourceStore_Expecter) SyncOne(ctx interface{}, scope interface{}, syncFn interface{}) *ResourceStore_SyncOne_Call
- func (_e *ResourceStore_Expecter) Update(ctx interface{}, r interface{}, saveRevision interface{}, reason interface{}, ...) *ResourceStore_Update_Call
- type ResourceStore_GetByURN_Call
- func (_c *ResourceStore_GetByURN_Call) Return(_a0 *resource.Resource, _a1 error) *ResourceStore_GetByURN_Call
- func (_c *ResourceStore_GetByURN_Call) Run(run func(ctx context.Context, urn string)) *ResourceStore_GetByURN_Call
- func (_c *ResourceStore_GetByURN_Call) RunAndReturn(run func(context.Context, string) (*resource.Resource, error)) *ResourceStore_GetByURN_Call
- type ResourceStore_List_Call
- func (_c *ResourceStore_List_Call) Return(_a0 []resource.Resource, _a1 error) *ResourceStore_List_Call
- func (_c *ResourceStore_List_Call) Run(run func(ctx context.Context, filter resource.Filter, withSpecConfigs bool)) *ResourceStore_List_Call
- func (_c *ResourceStore_List_Call) RunAndReturn(run func(context.Context, resource.Filter, bool) ([]resource.Resource, error)) *ResourceStore_List_Call
- type ResourceStore_Revisions_Call
- func (_c *ResourceStore_Revisions_Call) Return(_a0 []resource.Revision, _a1 error) *ResourceStore_Revisions_Call
- func (_c *ResourceStore_Revisions_Call) Run(run func(ctx context.Context, selector resource.RevisionsSelector)) *ResourceStore_Revisions_Call
- func (_c *ResourceStore_Revisions_Call) RunAndReturn(...) *ResourceStore_Revisions_Call
- type ResourceStore_SyncOne_Call
- func (_c *ResourceStore_SyncOne_Call) Return(_a0 error) *ResourceStore_SyncOne_Call
- func (_c *ResourceStore_SyncOne_Call) Run(...) *ResourceStore_SyncOne_Call
- func (_c *ResourceStore_SyncOne_Call) RunAndReturn(run func(context.Context, map[string][]string, resource.SyncFn) error) *ResourceStore_SyncOne_Call
- type ResourceStore_Update_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncWorker ¶
AsyncWorker is an autogenerated mock type for the AsyncWorker type
func NewAsyncWorker ¶
func NewAsyncWorker(t mockConstructorTestingTNewAsyncWorker) *AsyncWorker
NewAsyncWorker creates a new instance of AsyncWorker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AsyncWorker) EXPECT ¶
func (_m *AsyncWorker) EXPECT() *AsyncWorker_Expecter
type AsyncWorker_Enqueue_Call ¶
AsyncWorker_Enqueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enqueue'
func (*AsyncWorker_Enqueue_Call) Return ¶
func (_c *AsyncWorker_Enqueue_Call) Return(_a0 error) *AsyncWorker_Enqueue_Call
func (*AsyncWorker_Enqueue_Call) Run ¶
func (_c *AsyncWorker_Enqueue_Call) Run(run func(ctx context.Context, jobs ...worker.Job)) *AsyncWorker_Enqueue_Call
func (*AsyncWorker_Enqueue_Call) RunAndReturn ¶
func (_c *AsyncWorker_Enqueue_Call) RunAndReturn(run func(context.Context, ...worker.Job) error) *AsyncWorker_Enqueue_Call
type AsyncWorker_Expecter ¶
type AsyncWorker_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncWorker_Expecter) Enqueue ¶
func (_e *AsyncWorker_Expecter) Enqueue(ctx interface{}, jobs ...interface{}) *AsyncWorker_Enqueue_Call
Enqueue is a helper method to define mock.On call
- ctx context.Context
- jobs ...worker.Job
type LoggableModule ¶
LoggableModule is an autogenerated mock type for the Loggable type
func NewLoggableModule ¶
func NewLoggableModule(t interface { mock.TestingT Cleanup(func()) }) *LoggableModule
NewLoggableModule creates a new instance of LoggableModule. 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 (*LoggableModule) EXPECT ¶
func (_m *LoggableModule) EXPECT() *LoggableModule_Expecter
func (*LoggableModule) Log ¶
func (_m *LoggableModule) Log(ctx context.Context, res module.ExpandedResource, filter map[string]string) (<-chan module.LogChunk, error)
Log provides a mock function with given fields: ctx, res, filter
func (*LoggableModule) Output ¶
func (_m *LoggableModule) Output(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
Output provides a mock function with given fields: ctx, res
func (*LoggableModule) Plan ¶
func (_m *LoggableModule) Plan(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
Plan provides a mock function with given fields: ctx, res, act
func (*LoggableModule) Sync ¶
func (_m *LoggableModule) Sync(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
Sync provides a mock function with given fields: ctx, res
type LoggableModule_Expecter ¶
type LoggableModule_Expecter struct {
// contains filtered or unexported fields
}
func (*LoggableModule_Expecter) Log ¶
func (_e *LoggableModule_Expecter) Log(ctx interface{}, res interface{}, filter interface{}) *LoggableModule_Log_Call
Log is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
- filter map[string]string
func (*LoggableModule_Expecter) Output ¶
func (_e *LoggableModule_Expecter) Output(ctx interface{}, res interface{}) *LoggableModule_Output_Call
Output is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
func (*LoggableModule_Expecter) Plan ¶
func (_e *LoggableModule_Expecter) Plan(ctx interface{}, res interface{}, act interface{}) *LoggableModule_Plan_Call
Plan is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
- act module.ActionRequest
func (*LoggableModule_Expecter) Sync ¶
func (_e *LoggableModule_Expecter) Sync(ctx interface{}, res interface{}) *LoggableModule_Sync_Call
Sync is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
type LoggableModule_Log_Call ¶
LoggableModule_Log_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Log'
func (*LoggableModule_Log_Call) Return ¶
func (_c *LoggableModule_Log_Call) Return(_a0 <-chan module.LogChunk, _a1 error) *LoggableModule_Log_Call
func (*LoggableModule_Log_Call) Run ¶
func (_c *LoggableModule_Log_Call) Run(run func(ctx context.Context, res module.ExpandedResource, filter map[string]string)) *LoggableModule_Log_Call
func (*LoggableModule_Log_Call) RunAndReturn ¶
func (_c *LoggableModule_Log_Call) RunAndReturn(run func(context.Context, module.ExpandedResource, map[string]string) (<-chan module.LogChunk, error)) *LoggableModule_Log_Call
type LoggableModule_Output_Call ¶
LoggableModule_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*LoggableModule_Output_Call) Return ¶
func (_c *LoggableModule_Output_Call) Return(_a0 json.RawMessage, _a1 error) *LoggableModule_Output_Call
func (*LoggableModule_Output_Call) Run ¶
func (_c *LoggableModule_Output_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *LoggableModule_Output_Call
func (*LoggableModule_Output_Call) RunAndReturn ¶
func (_c *LoggableModule_Output_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *LoggableModule_Output_Call
type LoggableModule_Plan_Call ¶
LoggableModule_Plan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Plan'
func (*LoggableModule_Plan_Call) Return ¶
func (_c *LoggableModule_Plan_Call) Return(_a0 *resource.Resource, _a1 error) *LoggableModule_Plan_Call
func (*LoggableModule_Plan_Call) Run ¶
func (_c *LoggableModule_Plan_Call) Run(run func(ctx context.Context, res module.ExpandedResource, act module.ActionRequest)) *LoggableModule_Plan_Call
func (*LoggableModule_Plan_Call) RunAndReturn ¶
func (_c *LoggableModule_Plan_Call) RunAndReturn(run func(context.Context, module.ExpandedResource, module.ActionRequest) (*resource.Resource, error)) *LoggableModule_Plan_Call
type LoggableModule_Sync_Call ¶
LoggableModule_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*LoggableModule_Sync_Call) Return ¶
func (_c *LoggableModule_Sync_Call) Return(_a0 *resource.State, _a1 error) *LoggableModule_Sync_Call
func (*LoggableModule_Sync_Call) Run ¶
func (_c *LoggableModule_Sync_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *LoggableModule_Sync_Call
func (*LoggableModule_Sync_Call) RunAndReturn ¶
func (_c *LoggableModule_Sync_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *LoggableModule_Sync_Call
type ModuleDriver ¶
ModuleDriver is an autogenerated mock type for the Driver type
func NewModuleDriver ¶
func NewModuleDriver(t interface { mock.TestingT Cleanup(func()) }) *ModuleDriver
NewModuleDriver creates a new instance of ModuleDriver. 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 (*ModuleDriver) EXPECT ¶
func (_m *ModuleDriver) EXPECT() *ModuleDriver_Expecter
func (*ModuleDriver) Output ¶
func (_m *ModuleDriver) Output(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
Output provides a mock function with given fields: ctx, res
func (*ModuleDriver) Plan ¶
func (_m *ModuleDriver) Plan(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
Plan provides a mock function with given fields: ctx, res, act
func (*ModuleDriver) Sync ¶
func (_m *ModuleDriver) Sync(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
Sync provides a mock function with given fields: ctx, res
type ModuleDriver_Expecter ¶
type ModuleDriver_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleDriver_Expecter) Output ¶
func (_e *ModuleDriver_Expecter) Output(ctx interface{}, res interface{}) *ModuleDriver_Output_Call
Output is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
func (*ModuleDriver_Expecter) Plan ¶
func (_e *ModuleDriver_Expecter) Plan(ctx interface{}, res interface{}, act interface{}) *ModuleDriver_Plan_Call
Plan is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
- act module.ActionRequest
func (*ModuleDriver_Expecter) Sync ¶
func (_e *ModuleDriver_Expecter) Sync(ctx interface{}, res interface{}) *ModuleDriver_Sync_Call
Sync is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
type ModuleDriver_Output_Call ¶
ModuleDriver_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*ModuleDriver_Output_Call) Return ¶
func (_c *ModuleDriver_Output_Call) Return(_a0 json.RawMessage, _a1 error) *ModuleDriver_Output_Call
func (*ModuleDriver_Output_Call) Run ¶
func (_c *ModuleDriver_Output_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleDriver_Output_Call
func (*ModuleDriver_Output_Call) RunAndReturn ¶
func (_c *ModuleDriver_Output_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *ModuleDriver_Output_Call
type ModuleDriver_Plan_Call ¶
ModuleDriver_Plan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Plan'
func (*ModuleDriver_Plan_Call) Return ¶
func (_c *ModuleDriver_Plan_Call) Return(_a0 *resource.Resource, _a1 error) *ModuleDriver_Plan_Call
func (*ModuleDriver_Plan_Call) Run ¶
func (_c *ModuleDriver_Plan_Call) Run(run func(ctx context.Context, res module.ExpandedResource, act module.ActionRequest)) *ModuleDriver_Plan_Call
func (*ModuleDriver_Plan_Call) RunAndReturn ¶
func (_c *ModuleDriver_Plan_Call) RunAndReturn(run func(context.Context, module.ExpandedResource, module.ActionRequest) (*resource.Resource, error)) *ModuleDriver_Plan_Call
type ModuleDriver_Sync_Call ¶
ModuleDriver_Sync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sync'
func (*ModuleDriver_Sync_Call) Return ¶
func (_c *ModuleDriver_Sync_Call) Return(_a0 *resource.State, _a1 error) *ModuleDriver_Sync_Call
func (*ModuleDriver_Sync_Call) Run ¶
func (_c *ModuleDriver_Sync_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleDriver_Sync_Call
func (*ModuleDriver_Sync_Call) RunAndReturn ¶
func (_c *ModuleDriver_Sync_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *ModuleDriver_Sync_Call
type ModuleRegistry ¶
ModuleRegistry is an autogenerated mock type for the Registry type
func NewModuleRegistry ¶
func NewModuleRegistry(t interface { mock.TestingT Cleanup(func()) }) *ModuleRegistry
NewModuleRegistry creates a new instance of ModuleRegistry. 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 (*ModuleRegistry) EXPECT ¶
func (_m *ModuleRegistry) EXPECT() *ModuleRegistry_Expecter
type ModuleRegistry_Expecter ¶
type ModuleRegistry_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleRegistry_Expecter) GetDriver ¶
func (_e *ModuleRegistry_Expecter) GetDriver(ctx interface{}, mod interface{}) *ModuleRegistry_GetDriver_Call
GetDriver is a helper method to define mock.On call
- ctx context.Context
- mod module.Module
type ModuleRegistry_GetDriver_Call ¶
ModuleRegistry_GetDriver_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDriver'
func (*ModuleRegistry_GetDriver_Call) Return ¶
func (_c *ModuleRegistry_GetDriver_Call) Return(_a0 module.Driver, _a1 module.Descriptor, _a2 error) *ModuleRegistry_GetDriver_Call
func (*ModuleRegistry_GetDriver_Call) Run ¶
func (_c *ModuleRegistry_GetDriver_Call) Run(run func(ctx context.Context, mod module.Module)) *ModuleRegistry_GetDriver_Call
func (*ModuleRegistry_GetDriver_Call) RunAndReturn ¶
func (_c *ModuleRegistry_GetDriver_Call) RunAndReturn(run func(context.Context, module.Module) (module.Driver, module.Descriptor, error)) *ModuleRegistry_GetDriver_Call
type ModuleService ¶
ModuleService is an autogenerated mock type for the ModuleService type
func NewModuleService ¶
func NewModuleService(t interface { mock.TestingT Cleanup(func()) }) *ModuleService
NewModuleService creates a new instance of ModuleService. 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 (*ModuleService) EXPECT ¶
func (_m *ModuleService) EXPECT() *ModuleService_Expecter
func (*ModuleService) GetOutput ¶
func (_m *ModuleService) GetOutput(ctx context.Context, res module.ExpandedResource) (json.RawMessage, error)
GetOutput provides a mock function with given fields: ctx, res
func (*ModuleService) PlanAction ¶
func (_m *ModuleService) PlanAction(ctx context.Context, res module.ExpandedResource, act module.ActionRequest) (*resource.Resource, error)
PlanAction provides a mock function with given fields: ctx, res, act
func (*ModuleService) StreamLogs ¶
func (_m *ModuleService) StreamLogs(ctx context.Context, res module.ExpandedResource, filter map[string]string) (<-chan module.LogChunk, error)
StreamLogs provides a mock function with given fields: ctx, res, filter
func (*ModuleService) SyncState ¶
func (_m *ModuleService) SyncState(ctx context.Context, res module.ExpandedResource) (*resource.State, error)
SyncState provides a mock function with given fields: ctx, res
type ModuleService_Expecter ¶
type ModuleService_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleService_Expecter) GetOutput ¶
func (_e *ModuleService_Expecter) GetOutput(ctx interface{}, res interface{}) *ModuleService_GetOutput_Call
GetOutput is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
func (*ModuleService_Expecter) PlanAction ¶
func (_e *ModuleService_Expecter) PlanAction(ctx interface{}, res interface{}, act interface{}) *ModuleService_PlanAction_Call
PlanAction is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
- act module.ActionRequest
func (*ModuleService_Expecter) StreamLogs ¶
func (_e *ModuleService_Expecter) StreamLogs(ctx interface{}, res interface{}, filter interface{}) *ModuleService_StreamLogs_Call
StreamLogs is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
- filter map[string]string
func (*ModuleService_Expecter) SyncState ¶
func (_e *ModuleService_Expecter) SyncState(ctx interface{}, res interface{}) *ModuleService_SyncState_Call
SyncState is a helper method to define mock.On call
- ctx context.Context
- res module.ExpandedResource
type ModuleService_GetOutput_Call ¶
ModuleService_GetOutput_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOutput'
func (*ModuleService_GetOutput_Call) Return ¶
func (_c *ModuleService_GetOutput_Call) Return(_a0 json.RawMessage, _a1 error) *ModuleService_GetOutput_Call
func (*ModuleService_GetOutput_Call) Run ¶
func (_c *ModuleService_GetOutput_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleService_GetOutput_Call
func (*ModuleService_GetOutput_Call) RunAndReturn ¶
func (_c *ModuleService_GetOutput_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (json.RawMessage, error)) *ModuleService_GetOutput_Call
type ModuleService_PlanAction_Call ¶
ModuleService_PlanAction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PlanAction'
func (*ModuleService_PlanAction_Call) Return ¶
func (_c *ModuleService_PlanAction_Call) Return(_a0 *resource.Resource, _a1 error) *ModuleService_PlanAction_Call
func (*ModuleService_PlanAction_Call) Run ¶
func (_c *ModuleService_PlanAction_Call) Run(run func(ctx context.Context, res module.ExpandedResource, act module.ActionRequest)) *ModuleService_PlanAction_Call
func (*ModuleService_PlanAction_Call) RunAndReturn ¶
func (_c *ModuleService_PlanAction_Call) RunAndReturn(run func(context.Context, module.ExpandedResource, module.ActionRequest) (*resource.Resource, error)) *ModuleService_PlanAction_Call
type ModuleService_StreamLogs_Call ¶
ModuleService_StreamLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamLogs'
func (*ModuleService_StreamLogs_Call) Return ¶
func (_c *ModuleService_StreamLogs_Call) Return(_a0 <-chan module.LogChunk, _a1 error) *ModuleService_StreamLogs_Call
func (*ModuleService_StreamLogs_Call) Run ¶
func (_c *ModuleService_StreamLogs_Call) Run(run func(ctx context.Context, res module.ExpandedResource, filter map[string]string)) *ModuleService_StreamLogs_Call
func (*ModuleService_StreamLogs_Call) RunAndReturn ¶
func (_c *ModuleService_StreamLogs_Call) RunAndReturn(run func(context.Context, module.ExpandedResource, map[string]string) (<-chan module.LogChunk, error)) *ModuleService_StreamLogs_Call
type ModuleService_SyncState_Call ¶
ModuleService_SyncState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncState'
func (*ModuleService_SyncState_Call) Return ¶
func (_c *ModuleService_SyncState_Call) Return(_a0 *resource.State, _a1 error) *ModuleService_SyncState_Call
func (*ModuleService_SyncState_Call) Run ¶
func (_c *ModuleService_SyncState_Call) Run(run func(ctx context.Context, res module.ExpandedResource)) *ModuleService_SyncState_Call
func (*ModuleService_SyncState_Call) RunAndReturn ¶
func (_c *ModuleService_SyncState_Call) RunAndReturn(run func(context.Context, module.ExpandedResource) (*resource.State, error)) *ModuleService_SyncState_Call
type ModuleStore ¶
ModuleStore is an autogenerated mock type for the Store type
func NewModuleStore ¶
func NewModuleStore(t interface { mock.TestingT Cleanup(func()) }) *ModuleStore
NewModuleStore creates a new instance of ModuleStore. 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 (*ModuleStore) CreateModule ¶
CreateModule provides a mock function with given fields: ctx, m
func (*ModuleStore) DeleteModule ¶
func (_m *ModuleStore) DeleteModule(ctx context.Context, urn string) error
DeleteModule provides a mock function with given fields: ctx, urn
func (*ModuleStore) EXPECT ¶
func (_m *ModuleStore) EXPECT() *ModuleStore_Expecter
func (*ModuleStore) ListModules ¶
ListModules provides a mock function with given fields: ctx, project
func (*ModuleStore) UpdateModule ¶
UpdateModule provides a mock function with given fields: ctx, m
type ModuleStore_CreateModule_Call ¶
ModuleStore_CreateModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateModule'
func (*ModuleStore_CreateModule_Call) Return ¶
func (_c *ModuleStore_CreateModule_Call) Return(_a0 error) *ModuleStore_CreateModule_Call
func (*ModuleStore_CreateModule_Call) Run ¶
func (_c *ModuleStore_CreateModule_Call) Run(run func(ctx context.Context, m module.Module)) *ModuleStore_CreateModule_Call
func (*ModuleStore_CreateModule_Call) RunAndReturn ¶
func (_c *ModuleStore_CreateModule_Call) RunAndReturn(run func(context.Context, module.Module) error) *ModuleStore_CreateModule_Call
type ModuleStore_DeleteModule_Call ¶
ModuleStore_DeleteModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteModule'
func (*ModuleStore_DeleteModule_Call) Return ¶
func (_c *ModuleStore_DeleteModule_Call) Return(_a0 error) *ModuleStore_DeleteModule_Call
func (*ModuleStore_DeleteModule_Call) Run ¶
func (_c *ModuleStore_DeleteModule_Call) Run(run func(ctx context.Context, urn string)) *ModuleStore_DeleteModule_Call
func (*ModuleStore_DeleteModule_Call) RunAndReturn ¶
func (_c *ModuleStore_DeleteModule_Call) RunAndReturn(run func(context.Context, string) error) *ModuleStore_DeleteModule_Call
type ModuleStore_Expecter ¶
type ModuleStore_Expecter struct {
// contains filtered or unexported fields
}
func (*ModuleStore_Expecter) CreateModule ¶
func (_e *ModuleStore_Expecter) CreateModule(ctx interface{}, m interface{}) *ModuleStore_CreateModule_Call
CreateModule is a helper method to define mock.On call
- ctx context.Context
- m module.Module
func (*ModuleStore_Expecter) DeleteModule ¶
func (_e *ModuleStore_Expecter) DeleteModule(ctx interface{}, urn interface{}) *ModuleStore_DeleteModule_Call
DeleteModule is a helper method to define mock.On call
- ctx context.Context
- urn string
func (*ModuleStore_Expecter) GetModule ¶
func (_e *ModuleStore_Expecter) GetModule(ctx interface{}, urn interface{}) *ModuleStore_GetModule_Call
GetModule is a helper method to define mock.On call
- ctx context.Context
- urn string
func (*ModuleStore_Expecter) ListModules ¶
func (_e *ModuleStore_Expecter) ListModules(ctx interface{}, project interface{}) *ModuleStore_ListModules_Call
ListModules is a helper method to define mock.On call
- ctx context.Context
- project string
func (*ModuleStore_Expecter) UpdateModule ¶
func (_e *ModuleStore_Expecter) UpdateModule(ctx interface{}, m interface{}) *ModuleStore_UpdateModule_Call
UpdateModule is a helper method to define mock.On call
- ctx context.Context
- m module.Module
type ModuleStore_GetModule_Call ¶
ModuleStore_GetModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetModule'
func (*ModuleStore_GetModule_Call) Return ¶
func (_c *ModuleStore_GetModule_Call) Return(_a0 *module.Module, _a1 error) *ModuleStore_GetModule_Call
func (*ModuleStore_GetModule_Call) Run ¶
func (_c *ModuleStore_GetModule_Call) Run(run func(ctx context.Context, urn string)) *ModuleStore_GetModule_Call
func (*ModuleStore_GetModule_Call) RunAndReturn ¶
func (_c *ModuleStore_GetModule_Call) RunAndReturn(run func(context.Context, string) (*module.Module, error)) *ModuleStore_GetModule_Call
type ModuleStore_ListModules_Call ¶
ModuleStore_ListModules_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListModules'
func (*ModuleStore_ListModules_Call) Return ¶
func (_c *ModuleStore_ListModules_Call) Return(_a0 []module.Module, _a1 error) *ModuleStore_ListModules_Call
func (*ModuleStore_ListModules_Call) Run ¶
func (_c *ModuleStore_ListModules_Call) Run(run func(ctx context.Context, project string)) *ModuleStore_ListModules_Call
func (*ModuleStore_ListModules_Call) RunAndReturn ¶
func (_c *ModuleStore_ListModules_Call) RunAndReturn(run func(context.Context, string) ([]module.Module, error)) *ModuleStore_ListModules_Call
type ModuleStore_UpdateModule_Call ¶
ModuleStore_UpdateModule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateModule'
func (*ModuleStore_UpdateModule_Call) Return ¶
func (_c *ModuleStore_UpdateModule_Call) Return(_a0 error) *ModuleStore_UpdateModule_Call
func (*ModuleStore_UpdateModule_Call) Run ¶
func (_c *ModuleStore_UpdateModule_Call) Run(run func(ctx context.Context, m module.Module)) *ModuleStore_UpdateModule_Call
func (*ModuleStore_UpdateModule_Call) RunAndReturn ¶
func (_c *ModuleStore_UpdateModule_Call) RunAndReturn(run func(context.Context, module.Module) error) *ModuleStore_UpdateModule_Call
type ResourceStore ¶
ResourceStore is an autogenerated mock type for the Store type
func NewResourceStore ¶
func NewResourceStore(t interface { mock.TestingT Cleanup(func()) }) *ResourceStore
NewResourceStore creates a new instance of ResourceStore. 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 (*ResourceStore) Create ¶
func (_m *ResourceStore) Create(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook) error
Create provides a mock function with given fields: ctx, r, hooks
func (*ResourceStore) Delete ¶
func (_m *ResourceStore) Delete(ctx context.Context, urn string, hooks ...resource.MutationHook) error
Delete provides a mock function with given fields: ctx, urn, hooks
func (*ResourceStore) EXPECT ¶
func (_m *ResourceStore) EXPECT() *ResourceStore_Expecter
func (*ResourceStore) List ¶
func (_m *ResourceStore) List(ctx context.Context, filter resource.Filter, withSpecConfigs bool) ([]resource.Resource, error)
List provides a mock function with given fields: ctx, filter, withSpecConfigs
func (*ResourceStore) Revisions ¶
func (_m *ResourceStore) Revisions(ctx context.Context, selector resource.RevisionsSelector) ([]resource.Revision, error)
Revisions provides a mock function with given fields: ctx, selector
type ResourceStore_Create_Call ¶
ResourceStore_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*ResourceStore_Create_Call) Return ¶
func (_c *ResourceStore_Create_Call) Return(_a0 error) *ResourceStore_Create_Call
func (*ResourceStore_Create_Call) Run ¶
func (_c *ResourceStore_Create_Call) Run(run func(ctx context.Context, r resource.Resource, hooks ...resource.MutationHook)) *ResourceStore_Create_Call
func (*ResourceStore_Create_Call) RunAndReturn ¶
func (_c *ResourceStore_Create_Call) RunAndReturn(run func(context.Context, resource.Resource, ...resource.MutationHook) error) *ResourceStore_Create_Call
type ResourceStore_Delete_Call ¶
ResourceStore_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*ResourceStore_Delete_Call) Return ¶
func (_c *ResourceStore_Delete_Call) Return(_a0 error) *ResourceStore_Delete_Call
func (*ResourceStore_Delete_Call) Run ¶
func (_c *ResourceStore_Delete_Call) Run(run func(ctx context.Context, urn string, hooks ...resource.MutationHook)) *ResourceStore_Delete_Call
func (*ResourceStore_Delete_Call) RunAndReturn ¶
func (_c *ResourceStore_Delete_Call) RunAndReturn(run func(context.Context, string, ...resource.MutationHook) error) *ResourceStore_Delete_Call
type ResourceStore_Expecter ¶
type ResourceStore_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceStore_Expecter) Create ¶
func (_e *ResourceStore_Expecter) Create(ctx interface{}, r interface{}, hooks ...interface{}) *ResourceStore_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- r resource.Resource
- hooks ...resource.MutationHook
func (*ResourceStore_Expecter) Delete ¶
func (_e *ResourceStore_Expecter) Delete(ctx interface{}, urn interface{}, hooks ...interface{}) *ResourceStore_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- urn string
- hooks ...resource.MutationHook
func (*ResourceStore_Expecter) GetByURN ¶
func (_e *ResourceStore_Expecter) GetByURN(ctx interface{}, urn interface{}) *ResourceStore_GetByURN_Call
GetByURN is a helper method to define mock.On call
- ctx context.Context
- urn string
func (*ResourceStore_Expecter) List ¶
func (_e *ResourceStore_Expecter) List(ctx interface{}, filter interface{}, withSpecConfigs interface{}) *ResourceStore_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- filter resource.Filter
- withSpecConfigs bool
func (*ResourceStore_Expecter) Revisions ¶
func (_e *ResourceStore_Expecter) Revisions(ctx interface{}, selector interface{}) *ResourceStore_Revisions_Call
Revisions is a helper method to define mock.On call
- ctx context.Context
- selector resource.RevisionsSelector
func (*ResourceStore_Expecter) SyncOne ¶
func (_e *ResourceStore_Expecter) SyncOne(ctx interface{}, scope interface{}, syncFn interface{}) *ResourceStore_SyncOne_Call
SyncOne is a helper method to define mock.On call
- ctx context.Context
- scope map[string][]string
- syncFn resource.SyncFn
func (*ResourceStore_Expecter) Update ¶
func (_e *ResourceStore_Expecter) Update(ctx interface{}, r interface{}, saveRevision interface{}, reason interface{}, hooks ...interface{}) *ResourceStore_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- r resource.Resource
- saveRevision bool
- reason string
- hooks ...resource.MutationHook
type ResourceStore_GetByURN_Call ¶
ResourceStore_GetByURN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetByURN'
func (*ResourceStore_GetByURN_Call) Return ¶
func (_c *ResourceStore_GetByURN_Call) Return(_a0 *resource.Resource, _a1 error) *ResourceStore_GetByURN_Call
func (*ResourceStore_GetByURN_Call) Run ¶
func (_c *ResourceStore_GetByURN_Call) Run(run func(ctx context.Context, urn string)) *ResourceStore_GetByURN_Call
func (*ResourceStore_GetByURN_Call) RunAndReturn ¶
func (_c *ResourceStore_GetByURN_Call) RunAndReturn(run func(context.Context, string) (*resource.Resource, error)) *ResourceStore_GetByURN_Call
type ResourceStore_List_Call ¶
ResourceStore_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ResourceStore_List_Call) Return ¶
func (_c *ResourceStore_List_Call) Return(_a0 []resource.Resource, _a1 error) *ResourceStore_List_Call
func (*ResourceStore_List_Call) Run ¶
func (_c *ResourceStore_List_Call) Run(run func(ctx context.Context, filter resource.Filter, withSpecConfigs bool)) *ResourceStore_List_Call
func (*ResourceStore_List_Call) RunAndReturn ¶
func (_c *ResourceStore_List_Call) RunAndReturn(run func(context.Context, resource.Filter, bool) ([]resource.Resource, error)) *ResourceStore_List_Call
type ResourceStore_Revisions_Call ¶
ResourceStore_Revisions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Revisions'
func (*ResourceStore_Revisions_Call) Return ¶
func (_c *ResourceStore_Revisions_Call) Return(_a0 []resource.Revision, _a1 error) *ResourceStore_Revisions_Call
func (*ResourceStore_Revisions_Call) Run ¶
func (_c *ResourceStore_Revisions_Call) Run(run func(ctx context.Context, selector resource.RevisionsSelector)) *ResourceStore_Revisions_Call
func (*ResourceStore_Revisions_Call) RunAndReturn ¶
func (_c *ResourceStore_Revisions_Call) RunAndReturn(run func(context.Context, resource.RevisionsSelector) ([]resource.Revision, error)) *ResourceStore_Revisions_Call
type ResourceStore_SyncOne_Call ¶
ResourceStore_SyncOne_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncOne'
func (*ResourceStore_SyncOne_Call) Return ¶
func (_c *ResourceStore_SyncOne_Call) Return(_a0 error) *ResourceStore_SyncOne_Call
func (*ResourceStore_SyncOne_Call) Run ¶
func (_c *ResourceStore_SyncOne_Call) Run(run func(ctx context.Context, scope map[string][]string, syncFn resource.SyncFn)) *ResourceStore_SyncOne_Call
func (*ResourceStore_SyncOne_Call) RunAndReturn ¶
func (_c *ResourceStore_SyncOne_Call) RunAndReturn(run func(context.Context, map[string][]string, resource.SyncFn) error) *ResourceStore_SyncOne_Call
type ResourceStore_Update_Call ¶
ResourceStore_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*ResourceStore_Update_Call) Return ¶
func (_c *ResourceStore_Update_Call) Return(_a0 error) *ResourceStore_Update_Call
func (*ResourceStore_Update_Call) Run ¶
func (_c *ResourceStore_Update_Call) Run(run func(ctx context.Context, r resource.Resource, saveRevision bool, reason string, hooks ...resource.MutationHook)) *ResourceStore_Update_Call
func (*ResourceStore_Update_Call) RunAndReturn ¶
func (_c *ResourceStore_Update_Call) RunAndReturn(run func(context.Context, resource.Resource, bool, string, ...resource.MutationHook) error) *ResourceStore_Update_Call