Documentation ¶
Overview ¶
Package mock_engine is a generated GoMock package.
Index ¶
- type MockImageManager
- func (m *MockImageManager) AddAllImageStates(arg0 []*image.ImageState)
- func (m *MockImageManager) EXPECT() *MockImageManagerMockRecorder
- func (m *MockImageManager) GetImageStateFromImageName(arg0 string) (*image.ImageState, bool)
- func (m *MockImageManager) RecordContainerReference(arg0 *container.Container) error
- func (m *MockImageManager) RemoveContainerReferenceFromImageState(arg0 *container.Container) error
- func (m *MockImageManager) SetSaver(arg0 statemanager.Saver)
- func (m *MockImageManager) StartImageCleanupProcess(arg0 context.Context)
- type MockImageManagerMockRecorder
- func (mr *MockImageManagerMockRecorder) AddAllImageStates(arg0 interface{}) *gomock.Call
- func (mr *MockImageManagerMockRecorder) GetImageStateFromImageName(arg0 interface{}) *gomock.Call
- func (mr *MockImageManagerMockRecorder) RecordContainerReference(arg0 interface{}) *gomock.Call
- func (mr *MockImageManagerMockRecorder) RemoveContainerReferenceFromImageState(arg0 interface{}) *gomock.Call
- func (mr *MockImageManagerMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
- func (mr *MockImageManagerMockRecorder) StartImageCleanupProcess(arg0 interface{}) *gomock.Call
- type MockTaskEngine
- func (m *MockTaskEngine) AddTask(arg0 *task.Task)
- func (m *MockTaskEngine) Disable()
- func (m *MockTaskEngine) EXPECT() *MockTaskEngineMockRecorder
- func (m *MockTaskEngine) GetTaskByArn(arg0 string) (*task.Task, bool)
- func (m *MockTaskEngine) Init(arg0 context.Context) error
- func (m *MockTaskEngine) ListTasks() ([]*task.Task, error)
- func (m *MockTaskEngine) MarshalJSON() ([]byte, error)
- func (m *MockTaskEngine) MustInit(arg0 context.Context)
- func (m *MockTaskEngine) SetSaver(arg0 statemanager.Saver)
- func (m *MockTaskEngine) StateChangeEvents() chan statechange.Event
- func (m *MockTaskEngine) UnmarshalJSON(arg0 []byte) error
- func (m *MockTaskEngine) Version() (string, error)
- type MockTaskEngineMockRecorder
- func (mr *MockTaskEngineMockRecorder) AddTask(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) Disable() *gomock.Call
- func (mr *MockTaskEngineMockRecorder) GetTaskByArn(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) Init(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) ListTasks() *gomock.Call
- func (mr *MockTaskEngineMockRecorder) MarshalJSON() *gomock.Call
- func (mr *MockTaskEngineMockRecorder) MustInit(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) StateChangeEvents() *gomock.Call
- func (mr *MockTaskEngineMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
- func (mr *MockTaskEngineMockRecorder) Version() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockImageManager ¶ added in v1.18.0
type MockImageManager struct {
// contains filtered or unexported fields
}
MockImageManager is a mock of ImageManager interface
func NewMockImageManager ¶ added in v1.18.0
func NewMockImageManager(ctrl *gomock.Controller) *MockImageManager
NewMockImageManager creates a new mock instance
func (*MockImageManager) AddAllImageStates ¶ added in v1.18.0
func (m *MockImageManager) AddAllImageStates(arg0 []*image.ImageState)
AddAllImageStates mocks base method
func (*MockImageManager) EXPECT ¶ added in v1.18.0
func (m *MockImageManager) EXPECT() *MockImageManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImageManager) GetImageStateFromImageName ¶ added in v1.18.0
func (m *MockImageManager) GetImageStateFromImageName(arg0 string) (*image.ImageState, bool)
GetImageStateFromImageName mocks base method
func (*MockImageManager) RecordContainerReference ¶ added in v1.18.0
func (m *MockImageManager) RecordContainerReference(arg0 *container.Container) error
RecordContainerReference mocks base method
func (*MockImageManager) RemoveContainerReferenceFromImageState ¶ added in v1.18.0
func (m *MockImageManager) RemoveContainerReferenceFromImageState(arg0 *container.Container) error
RemoveContainerReferenceFromImageState mocks base method
func (*MockImageManager) SetSaver ¶ added in v1.18.0
func (m *MockImageManager) SetSaver(arg0 statemanager.Saver)
SetSaver mocks base method
func (*MockImageManager) StartImageCleanupProcess ¶ added in v1.18.0
func (m *MockImageManager) StartImageCleanupProcess(arg0 context.Context)
StartImageCleanupProcess mocks base method
type MockImageManagerMockRecorder ¶ added in v1.18.0
type MockImageManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockImageManagerMockRecorder is the mock recorder for MockImageManager
func (*MockImageManagerMockRecorder) AddAllImageStates ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) AddAllImageStates(arg0 interface{}) *gomock.Call
AddAllImageStates indicates an expected call of AddAllImageStates
func (*MockImageManagerMockRecorder) GetImageStateFromImageName ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) GetImageStateFromImageName(arg0 interface{}) *gomock.Call
GetImageStateFromImageName indicates an expected call of GetImageStateFromImageName
func (*MockImageManagerMockRecorder) RecordContainerReference ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) RecordContainerReference(arg0 interface{}) *gomock.Call
RecordContainerReference indicates an expected call of RecordContainerReference
func (*MockImageManagerMockRecorder) RemoveContainerReferenceFromImageState ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) RemoveContainerReferenceFromImageState(arg0 interface{}) *gomock.Call
RemoveContainerReferenceFromImageState indicates an expected call of RemoveContainerReferenceFromImageState
func (*MockImageManagerMockRecorder) SetSaver ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
SetSaver indicates an expected call of SetSaver
func (*MockImageManagerMockRecorder) StartImageCleanupProcess ¶ added in v1.18.0
func (mr *MockImageManagerMockRecorder) StartImageCleanupProcess(arg0 interface{}) *gomock.Call
StartImageCleanupProcess indicates an expected call of StartImageCleanupProcess
type MockTaskEngine ¶
type MockTaskEngine struct {
// contains filtered or unexported fields
}
MockTaskEngine is a mock of TaskEngine interface
func NewMockTaskEngine ¶
func NewMockTaskEngine(ctrl *gomock.Controller) *MockTaskEngine
NewMockTaskEngine creates a new mock instance
func (*MockTaskEngine) AddTask ¶
func (m *MockTaskEngine) AddTask(arg0 *task.Task)
AddTask mocks base method
func (*MockTaskEngine) EXPECT ¶
func (m *MockTaskEngine) EXPECT() *MockTaskEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTaskEngine) GetTaskByArn ¶ added in v1.18.0
func (m *MockTaskEngine) GetTaskByArn(arg0 string) (*task.Task, bool)
GetTaskByArn mocks base method
func (*MockTaskEngine) Init ¶
func (m *MockTaskEngine) Init(arg0 context.Context) error
Init mocks base method
func (*MockTaskEngine) ListTasks ¶
func (m *MockTaskEngine) ListTasks() ([]*task.Task, error)
ListTasks mocks base method
func (*MockTaskEngine) MarshalJSON ¶
func (m *MockTaskEngine) MarshalJSON() ([]byte, error)
MarshalJSON mocks base method
func (*MockTaskEngine) MustInit ¶
func (m *MockTaskEngine) MustInit(arg0 context.Context)
MustInit mocks base method
func (*MockTaskEngine) SetSaver ¶
func (m *MockTaskEngine) SetSaver(arg0 statemanager.Saver)
SetSaver mocks base method
func (*MockTaskEngine) StateChangeEvents ¶ added in v1.18.0
func (m *MockTaskEngine) StateChangeEvents() chan statechange.Event
StateChangeEvents mocks base method
func (*MockTaskEngine) UnmarshalJSON ¶
func (m *MockTaskEngine) UnmarshalJSON(arg0 []byte) error
UnmarshalJSON mocks base method
func (*MockTaskEngine) Version ¶
func (m *MockTaskEngine) Version() (string, error)
Version mocks base method
type MockTaskEngineMockRecorder ¶ added in v1.18.0
type MockTaskEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskEngineMockRecorder is the mock recorder for MockTaskEngine
func (*MockTaskEngineMockRecorder) AddTask ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) AddTask(arg0 interface{}) *gomock.Call
AddTask indicates an expected call of AddTask
func (*MockTaskEngineMockRecorder) Disable ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) Disable() *gomock.Call
Disable indicates an expected call of Disable
func (*MockTaskEngineMockRecorder) GetTaskByArn ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) GetTaskByArn(arg0 interface{}) *gomock.Call
GetTaskByArn indicates an expected call of GetTaskByArn
func (*MockTaskEngineMockRecorder) Init ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockTaskEngineMockRecorder) ListTasks ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) ListTasks() *gomock.Call
ListTasks indicates an expected call of ListTasks
func (*MockTaskEngineMockRecorder) MarshalJSON ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON
func (*MockTaskEngineMockRecorder) MustInit ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) MustInit(arg0 interface{}) *gomock.Call
MustInit indicates an expected call of MustInit
func (*MockTaskEngineMockRecorder) SetSaver ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
SetSaver indicates an expected call of SetSaver
func (*MockTaskEngineMockRecorder) StateChangeEvents ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) StateChangeEvents() *gomock.Call
StateChangeEvents indicates an expected call of StateChangeEvents
func (*MockTaskEngineMockRecorder) UnmarshalJSON ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
UnmarshalJSON indicates an expected call of UnmarshalJSON
func (*MockTaskEngineMockRecorder) Version ¶ added in v1.18.0
func (mr *MockTaskEngineMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version