mock_engine

package
v0.0.0-...-c0defea Latest Latest
Warning

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

Go to latest
Published: May 12, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 7 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) 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 *api.Container) error

RecordContainerReference mocks base method

func (*MockImageManager) RemoveContainerReferenceFromImageState

func (m *MockImageManager) RemoveContainerReferenceFromImageState(arg0 *api.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 *api.Task) error

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

func (m *MockTaskEngine) GetTaskByArn(arg0 string) (*api.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() ([]*api.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

Jump to

Keyboard shortcuts

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