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 ¶
type MockImageManager struct {
// contains filtered or unexported fields
}
MockImageManager is a mock of ImageManager interface
func NewMockImageManager ¶
func NewMockImageManager(ctrl *gomock.Controller) *MockImageManager
NewMockImageManager creates a new mock instance
func (*MockImageManager) AddAllImageStates ¶
func (m *MockImageManager) AddAllImageStates(arg0 []*image.ImageState)
AddAllImageStates mocks base method
func (*MockImageManager) EXPECT ¶
func (m *MockImageManager) EXPECT() *MockImageManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImageManager) GetImageStateFromImageName ¶
func (m *MockImageManager) GetImageStateFromImageName(arg0 string) (*image.ImageState, bool)
GetImageStateFromImageName mocks base method
func (*MockImageManager) RecordContainerReference ¶
func (m *MockImageManager) RecordContainerReference(arg0 *container.Container) error
RecordContainerReference mocks base method
func (*MockImageManager) RemoveContainerReferenceFromImageState ¶
func (m *MockImageManager) RemoveContainerReferenceFromImageState(arg0 *container.Container) error
RemoveContainerReferenceFromImageState mocks base method
func (*MockImageManager) SetSaver ¶
func (m *MockImageManager) SetSaver(arg0 statemanager.Saver)
SetSaver mocks base method
func (*MockImageManager) StartImageCleanupProcess ¶
func (m *MockImageManager) StartImageCleanupProcess(arg0 context.Context)
StartImageCleanupProcess mocks base method
type MockImageManagerMockRecorder ¶
type MockImageManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockImageManagerMockRecorder is the mock recorder for MockImageManager
func (*MockImageManagerMockRecorder) AddAllImageStates ¶
func (mr *MockImageManagerMockRecorder) AddAllImageStates(arg0 interface{}) *gomock.Call
AddAllImageStates indicates an expected call of AddAllImageStates
func (*MockImageManagerMockRecorder) GetImageStateFromImageName ¶
func (mr *MockImageManagerMockRecorder) GetImageStateFromImageName(arg0 interface{}) *gomock.Call
GetImageStateFromImageName indicates an expected call of GetImageStateFromImageName
func (*MockImageManagerMockRecorder) RecordContainerReference ¶
func (mr *MockImageManagerMockRecorder) RecordContainerReference(arg0 interface{}) *gomock.Call
RecordContainerReference indicates an expected call of RecordContainerReference
func (*MockImageManagerMockRecorder) RemoveContainerReferenceFromImageState ¶
func (mr *MockImageManagerMockRecorder) RemoveContainerReferenceFromImageState(arg0 interface{}) *gomock.Call
RemoveContainerReferenceFromImageState indicates an expected call of RemoveContainerReferenceFromImageState
func (*MockImageManagerMockRecorder) SetSaver ¶
func (mr *MockImageManagerMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
SetSaver indicates an expected call of SetSaver
func (*MockImageManagerMockRecorder) StartImageCleanupProcess ¶
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 ¶
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 ¶
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 ¶
type MockTaskEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockTaskEngineMockRecorder is the mock recorder for MockTaskEngine
func (*MockTaskEngineMockRecorder) AddTask ¶
func (mr *MockTaskEngineMockRecorder) AddTask(arg0 interface{}) *gomock.Call
AddTask indicates an expected call of AddTask
func (*MockTaskEngineMockRecorder) Disable ¶
func (mr *MockTaskEngineMockRecorder) Disable() *gomock.Call
Disable indicates an expected call of Disable
func (*MockTaskEngineMockRecorder) GetTaskByArn ¶
func (mr *MockTaskEngineMockRecorder) GetTaskByArn(arg0 interface{}) *gomock.Call
GetTaskByArn indicates an expected call of GetTaskByArn
func (*MockTaskEngineMockRecorder) Init ¶
func (mr *MockTaskEngineMockRecorder) Init(arg0 interface{}) *gomock.Call
Init indicates an expected call of Init
func (*MockTaskEngineMockRecorder) ListTasks ¶
func (mr *MockTaskEngineMockRecorder) ListTasks() *gomock.Call
ListTasks indicates an expected call of ListTasks
func (*MockTaskEngineMockRecorder) MarshalJSON ¶
func (mr *MockTaskEngineMockRecorder) MarshalJSON() *gomock.Call
MarshalJSON indicates an expected call of MarshalJSON
func (*MockTaskEngineMockRecorder) MustInit ¶
func (mr *MockTaskEngineMockRecorder) MustInit(arg0 interface{}) *gomock.Call
MustInit indicates an expected call of MustInit
func (*MockTaskEngineMockRecorder) SetSaver ¶
func (mr *MockTaskEngineMockRecorder) SetSaver(arg0 interface{}) *gomock.Call
SetSaver indicates an expected call of SetSaver
func (*MockTaskEngineMockRecorder) StateChangeEvents ¶
func (mr *MockTaskEngineMockRecorder) StateChangeEvents() *gomock.Call
StateChangeEvents indicates an expected call of StateChangeEvents
func (*MockTaskEngineMockRecorder) UnmarshalJSON ¶
func (mr *MockTaskEngineMockRecorder) UnmarshalJSON(arg0 interface{}) *gomock.Call
UnmarshalJSON indicates an expected call of UnmarshalJSON
func (*MockTaskEngineMockRecorder) Version ¶
func (mr *MockTaskEngineMockRecorder) Version() *gomock.Call
Version indicates an expected call of Version