mock_dockerstate

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2018 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) AddENIAttachment added in v1.14.5

func (_m *MockTaskEngineState) AddENIAttachment(_param0 *api.ENIAttachment)

func (*MockTaskEngineState) AddImageState

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

func (*MockTaskEngineState) AddTask

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

func (*MockTaskEngineState) AddTaskIPAddress added in v1.17.0

func (_m *MockTaskEngineState) AddTaskIPAddress(_param0 string, _param1 string)

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) ENIByMac added in v1.14.5

func (_m *MockTaskEngineState) ENIByMac(_param0 string) (*api.ENIAttachment, bool)

func (*MockTaskEngineState) EXPECT

func (_m *MockTaskEngineState) EXPECT() *_MockTaskEngineStateRecorder

func (*MockTaskEngineState) GetAllContainerIDs added in v1.14.2

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

func (*MockTaskEngineState) GetTaskByIPAddress added in v1.17.0

func (_m *MockTaskEngineState) GetTaskByIPAddress(_param0 string) (string, bool)

func (*MockTaskEngineState) MarshalJSON

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

func (*MockTaskEngineState) RemoveENIAttachment added in v1.14.5

func (_m *MockTaskEngineState) RemoveENIAttachment(_param0 string)

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