mock_dockerstate

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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