mocks

package
v0.2.9-rc Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncWorker

type AsyncWorker struct {
	mock.Mock
}

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

func (*AsyncWorker) Enqueue

func (_m *AsyncWorker) Enqueue(ctx context.Context, jobs ...worker.Job) error

Enqueue provides a mock function with given fields: ctx, jobs

type AsyncWorker_Enqueue_Call

type AsyncWorker_Enqueue_Call struct {
	*mock.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 (*AsyncWorker_Enqueue_Call) Run

func (*AsyncWorker_Enqueue_Call) RunAndReturn

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

type LoggableModule struct {
	mock.Mock
}

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 (*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

Output provides a mock function with given fields: ctx, res

func (*LoggableModule) Plan

Plan provides a mock function with given fields: ctx, res, act

func (*LoggableModule) Sync

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

type LoggableModule_Log_Call struct {
	*mock.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 (*LoggableModule_Log_Call) Run

func (*LoggableModule_Log_Call) RunAndReturn

type LoggableModule_Output_Call

type LoggableModule_Output_Call struct {
	*mock.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 (*LoggableModule_Output_Call) Run

func (*LoggableModule_Output_Call) RunAndReturn

type LoggableModule_Plan_Call

type LoggableModule_Plan_Call struct {
	*mock.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 (*LoggableModule_Plan_Call) Run

type LoggableModule_Sync_Call

type LoggableModule_Sync_Call struct {
	*mock.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 (*LoggableModule_Sync_Call) Run

func (*LoggableModule_Sync_Call) RunAndReturn

type ModuleDriver

type ModuleDriver struct {
	mock.Mock
}

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

Output provides a mock function with given fields: ctx, res

func (*ModuleDriver) Plan

Plan provides a mock function with given fields: ctx, res, act

func (*ModuleDriver) Sync

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

type ModuleDriver_Output_Call struct {
	*mock.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 (*ModuleDriver_Output_Call) Run

func (*ModuleDriver_Output_Call) RunAndReturn

type ModuleDriver_Plan_Call

type ModuleDriver_Plan_Call struct {
	*mock.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 (*ModuleDriver_Plan_Call) Run

type ModuleDriver_Sync_Call

type ModuleDriver_Sync_Call struct {
	*mock.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 (*ModuleDriver_Sync_Call) Run

func (*ModuleDriver_Sync_Call) RunAndReturn

type ModuleRegistry

type ModuleRegistry struct {
	mock.Mock
}

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 (*ModuleRegistry) GetDriver

GetDriver provides a mock function with given fields: ctx, mod

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

type ModuleRegistry_GetDriver_Call struct {
	*mock.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 (*ModuleRegistry_GetDriver_Call) Run

func (*ModuleRegistry_GetDriver_Call) RunAndReturn

type ModuleService

type ModuleService struct {
	mock.Mock
}

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

GetOutput provides a mock function with given fields: ctx, res

func (*ModuleService) PlanAction

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

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

type ModuleService_GetOutput_Call struct {
	*mock.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 (*ModuleService_GetOutput_Call) Run

func (*ModuleService_GetOutput_Call) RunAndReturn

type ModuleService_PlanAction_Call

type ModuleService_PlanAction_Call struct {
	*mock.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 (*ModuleService_PlanAction_Call) Run

type ModuleService_StreamLogs_Call

type ModuleService_StreamLogs_Call struct {
	*mock.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 (*ModuleService_StreamLogs_Call) Run

func (*ModuleService_StreamLogs_Call) RunAndReturn

type ModuleService_SyncState_Call

type ModuleService_SyncState_Call struct {
	*mock.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 (*ModuleService_SyncState_Call) Run

func (*ModuleService_SyncState_Call) RunAndReturn

type ModuleStore

type ModuleStore struct {
	mock.Mock
}

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

func (_m *ModuleStore) CreateModule(ctx context.Context, m module.Module) error

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) GetModule

func (_m *ModuleStore) GetModule(ctx context.Context, urn string) (*module.Module, error)

GetModule provides a mock function with given fields: ctx, urn

func (*ModuleStore) ListModules

func (_m *ModuleStore) ListModules(ctx context.Context, project string) ([]module.Module, error)

ListModules provides a mock function with given fields: ctx, project

func (*ModuleStore) UpdateModule

func (_m *ModuleStore) UpdateModule(ctx context.Context, m module.Module) error

UpdateModule provides a mock function with given fields: ctx, m

type ModuleStore_CreateModule_Call

type ModuleStore_CreateModule_Call struct {
	*mock.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 (*ModuleStore_CreateModule_Call) Run

func (*ModuleStore_CreateModule_Call) RunAndReturn

type ModuleStore_DeleteModule_Call

type ModuleStore_DeleteModule_Call struct {
	*mock.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 (*ModuleStore_DeleteModule_Call) Run

func (*ModuleStore_DeleteModule_Call) RunAndReturn

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

type ModuleStore_GetModule_Call struct {
	*mock.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 (*ModuleStore_GetModule_Call) Run

func (*ModuleStore_GetModule_Call) RunAndReturn

type ModuleStore_ListModules_Call

type ModuleStore_ListModules_Call struct {
	*mock.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 (*ModuleStore_ListModules_Call) Run

func (*ModuleStore_ListModules_Call) RunAndReturn

type ModuleStore_UpdateModule_Call

type ModuleStore_UpdateModule_Call struct {
	*mock.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 (*ModuleStore_UpdateModule_Call) Run

func (*ModuleStore_UpdateModule_Call) RunAndReturn

type ResourceStore

type ResourceStore struct {
	mock.Mock
}

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

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) GetByURN

func (_m *ResourceStore) GetByURN(ctx context.Context, urn string) (*resource.Resource, error)

GetByURN provides a mock function with given fields: ctx, urn

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

func (*ResourceStore) SyncOne

func (_m *ResourceStore) SyncOne(ctx context.Context, scope map[string][]string, syncFn resource.SyncFn) error

SyncOne provides a mock function with given fields: ctx, scope, syncFn

func (*ResourceStore) Update

func (_m *ResourceStore) Update(ctx context.Context, r resource.Resource, saveRevision bool, reason string, hooks ...resource.MutationHook) error

Update provides a mock function with given fields: ctx, r, saveRevision, reason, hooks

type ResourceStore_Create_Call

type ResourceStore_Create_Call struct {
	*mock.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 (*ResourceStore_Create_Call) Run

func (*ResourceStore_Create_Call) RunAndReturn

type ResourceStore_Delete_Call

type ResourceStore_Delete_Call struct {
	*mock.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 (*ResourceStore_Delete_Call) Run

func (*ResourceStore_Delete_Call) RunAndReturn

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

type ResourceStore_GetByURN_Call struct {
	*mock.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 (*ResourceStore_GetByURN_Call) Run

func (*ResourceStore_GetByURN_Call) RunAndReturn

type ResourceStore_List_Call

type ResourceStore_List_Call struct {
	*mock.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 (*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

type ResourceStore_Revisions_Call

type ResourceStore_Revisions_Call struct {
	*mock.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 (*ResourceStore_Revisions_Call) Run

func (*ResourceStore_Revisions_Call) RunAndReturn

type ResourceStore_SyncOne_Call

type ResourceStore_SyncOne_Call struct {
	*mock.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 (*ResourceStore_SyncOne_Call) Run

func (*ResourceStore_SyncOne_Call) RunAndReturn

type ResourceStore_Update_Call

type ResourceStore_Update_Call struct {
	*mock.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 (*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

Jump to

Keyboard shortcuts

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