mock_engine

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDockerClient

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

Mock of DockerClient interface

func NewMockDockerClient

func NewMockDockerClient(ctrl *gomock.Controller) *MockDockerClient

func (*MockDockerClient) ContainerEvents

func (_m *MockDockerClient) ContainerEvents(_param0 context.Context) (<-chan engine.DockerContainerChangeEvent, error)

func (*MockDockerClient) CreateContainer

func (_m *MockDockerClient) CreateContainer(_param0 *go_dockerclient.Config, _param1 *go_dockerclient.HostConfig, _param2 string) engine.DockerContainerMetadata

func (*MockDockerClient) DescribeContainer

func (_m *MockDockerClient) DescribeContainer(_param0 string) (api.ContainerStatus, engine.DockerContainerMetadata)

func (*MockDockerClient) EXPECT

func (_m *MockDockerClient) EXPECT() *_MockDockerClientRecorder

func (*MockDockerClient) GetContainerName

func (_m *MockDockerClient) GetContainerName(_param0 string) (string, error)

func (*MockDockerClient) InspectContainer

func (_m *MockDockerClient) InspectContainer(_param0 string) (*go_dockerclient.Container, error)

func (*MockDockerClient) ListContainers added in v1.2.0

func (_m *MockDockerClient) ListContainers(_param0 bool) engine.ListContainersResponse

func (*MockDockerClient) PullImage

func (_m *MockDockerClient) PullImage(_param0 string) engine.DockerContainerMetadata

func (*MockDockerClient) RemoveContainer

func (_m *MockDockerClient) RemoveContainer(_param0 string) error

func (*MockDockerClient) StartContainer

func (_m *MockDockerClient) StartContainer(_param0 string) engine.DockerContainerMetadata

func (*MockDockerClient) StopContainer

func (_m *MockDockerClient) StopContainer(_param0 string) engine.DockerContainerMetadata

func (*MockDockerClient) SupportedVersions added in v1.5.0

func (_m *MockDockerClient) SupportedVersions() []dockerclient.DockerVersion

func (*MockDockerClient) Version

func (_m *MockDockerClient) Version() (string, error)

func (*MockDockerClient) WithVersion added in v1.5.0

type MockTaskEngine

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

Mock of TaskEngine interface

func NewMockTaskEngine

func NewMockTaskEngine(ctrl *gomock.Controller) *MockTaskEngine

func (*MockTaskEngine) AddTask

func (_m *MockTaskEngine) AddTask(_param0 *api.Task) error

func (*MockTaskEngine) Capabilities added in v1.5.0

func (_m *MockTaskEngine) Capabilities() []string

func (*MockTaskEngine) Disable

func (_m *MockTaskEngine) Disable()

func (*MockTaskEngine) EXPECT

func (_m *MockTaskEngine) EXPECT() *_MockTaskEngineRecorder

func (*MockTaskEngine) Init

func (_m *MockTaskEngine) Init() error

func (*MockTaskEngine) ListTasks

func (_m *MockTaskEngine) ListTasks() ([]*api.Task, error)

func (*MockTaskEngine) MarshalJSON

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

func (*MockTaskEngine) MustInit

func (_m *MockTaskEngine) MustInit()

func (*MockTaskEngine) SetSaver

func (_m *MockTaskEngine) SetSaver(_param0 statemanager.Saver)

func (*MockTaskEngine) TaskEvents

func (_m *MockTaskEngine) TaskEvents() (<-chan api.TaskStateChange, <-chan api.ContainerStateChange)

func (*MockTaskEngine) UnmarshalJSON

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

func (*MockTaskEngine) Version

func (_m *MockTaskEngine) Version() (string, error)

Jump to

Keyboard shortcuts

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