mock_dockerstate

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTaskEngineState

type MockTaskEngineState struct {
	// contains filtered or unexported fields
}

Mock of TaskEngineState interface

func NewMockTaskEngineState

func NewMockTaskEngineState(ctrl *gomock.Controller) *MockTaskEngineState

func (*MockTaskEngineState) AddContainer

func (_m *MockTaskEngineState) AddContainer(_param0 *api.DockerContainer, _param1 *api.Task)

func (*MockTaskEngineState) AddImageState

func (_m *MockTaskEngineState) AddImageState(_param0 *image.ImageState)

func (*MockTaskEngineState) AddTask

func (_m *MockTaskEngineState) AddTask(_param0 *api.Task)

func (*MockTaskEngineState) AllImageStates

func (_m *MockTaskEngineState) AllImageStates() []*image.ImageState

func (*MockTaskEngineState) AllTasks

func (_m *MockTaskEngineState) AllTasks() []*api.Task

func (*MockTaskEngineState) ContainerByID

func (_m *MockTaskEngineState) ContainerByID(_param0 string) (*api.DockerContainer, bool)

func (*MockTaskEngineState) ContainerMapByArn

func (_m *MockTaskEngineState) ContainerMapByArn(_param0 string) (map[string]*api.DockerContainer, bool)

func (*MockTaskEngineState) EXPECT

func (_m *MockTaskEngineState) EXPECT() *_MockTaskEngineStateRecorder

func (*MockTaskEngineState) GetAllContainerIDs added in v1.14.2

func (_m *MockTaskEngineState) GetAllContainerIDs() []string

func (*MockTaskEngineState) MarshalJSON

func (_m *MockTaskEngineState) MarshalJSON() ([]byte, error)

func (*MockTaskEngineState) RemoveImageState

func (_m *MockTaskEngineState) RemoveImageState(_param0 *image.ImageState)

func (*MockTaskEngineState) RemoveTask

func (_m *MockTaskEngineState) RemoveTask(_param0 *api.Task)

func (*MockTaskEngineState) Reset added in v1.14.4

func (_m *MockTaskEngineState) Reset()

func (*MockTaskEngineState) TaskByArn

func (_m *MockTaskEngineState) TaskByArn(_param0 string) (*api.Task, bool)

func (*MockTaskEngineState) TaskByID

func (_m *MockTaskEngineState) TaskByID(_param0 string) (*api.Task, bool)

func (*MockTaskEngineState) TaskByShortID added in v1.14.2

func (_m *MockTaskEngineState) TaskByShortID(_param0 string) ([]*api.Task, bool)

func (*MockTaskEngineState) UnmarshalJSON

func (_m *MockTaskEngineState) UnmarshalJSON(_param0 []byte) error

Jump to

Keyboard shortcuts

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