mock_engine

package
v0.0.0-...-41d593c Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mock_engine is a generated GoMock package.

Index

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

func (m *MockImageManager) AddImageToCleanUpExclusionList(arg0 string)

AddImageToCleanUpExclusionList mocks base method.

func (*MockImageManager) EXPECT

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

func (m *MockImageManager) SetDataClient(arg0 data.Client)

SetDataClient 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) AddImageToCleanUpExclusionList

func (mr *MockImageManagerMockRecorder) AddImageToCleanUpExclusionList(arg0 interface{}) *gomock.Call

AddImageToCleanUpExclusionList indicates an expected call of AddImageToCleanUpExclusionList.

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

func (mr *MockImageManagerMockRecorder) SetDataClient(arg0 interface{}) *gomock.Call

SetDataClient indicates an expected call of SetDataClient.

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

func (m *MockTaskEngine) Disable()

Disable mocks base method.

func (*MockTaskEngine) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTaskEngine) GetDaemonManagers

func (m *MockTaskEngine) GetDaemonManagers() map[string]daemonmanager.DaemonManager

GetDaemonManagers mocks base method.

func (*MockTaskEngine) GetDaemonTask

func (m *MockTaskEngine) GetDaemonTask(arg0 string) *task.Task

GetDaemonTask mocks base method.

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

func (m *MockTaskEngine) LoadState() error

LoadState 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) SaveState

func (m *MockTaskEngine) SaveState() error

SaveState mocks base method.

func (*MockTaskEngine) SetDaemonTask

func (m *MockTaskEngine) SetDaemonTask(arg0 string, arg1 *task.Task)

SetDaemonTask mocks base method.

func (*MockTaskEngine) SetDataClient

func (m *MockTaskEngine) SetDataClient(arg0 data.Client)

SetDataClient 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) UpsertTask

func (m *MockTaskEngine) UpsertTask(arg0 *task.Task)

UpsertTask 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) GetDaemonManagers

func (mr *MockTaskEngineMockRecorder) GetDaemonManagers() *gomock.Call

GetDaemonManagers indicates an expected call of GetDaemonManagers.

func (*MockTaskEngineMockRecorder) GetDaemonTask

func (mr *MockTaskEngineMockRecorder) GetDaemonTask(arg0 interface{}) *gomock.Call

GetDaemonTask indicates an expected call of GetDaemonTask.

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

func (mr *MockTaskEngineMockRecorder) LoadState() *gomock.Call

LoadState indicates an expected call of LoadState.

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

func (mr *MockTaskEngineMockRecorder) SaveState() *gomock.Call

SaveState indicates an expected call of SaveState.

func (*MockTaskEngineMockRecorder) SetDaemonTask

func (mr *MockTaskEngineMockRecorder) SetDaemonTask(arg0, arg1 interface{}) *gomock.Call

SetDaemonTask indicates an expected call of SetDaemonTask.

func (*MockTaskEngineMockRecorder) SetDataClient

func (mr *MockTaskEngineMockRecorder) SetDataClient(arg0 interface{}) *gomock.Call

SetDataClient indicates an expected call of SetDataClient.

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

func (mr *MockTaskEngineMockRecorder) UpsertTask(arg0 interface{}) *gomock.Call

UpsertTask indicates an expected call of UpsertTask.

func (*MockTaskEngineMockRecorder) Version

func (mr *MockTaskEngineMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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