mock_engine

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2015 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 5 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() (<-chan engine.DockerContainerChangeEvent, error)

func (*MockDockerClient) CreateContainer

func (_m *MockDockerClient) CreateContainer(_param0 *go_dockerclient.Config, _param1 string) (string, error)

func (*MockDockerClient) DescribeContainer

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

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

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

func (*MockDockerClient) RemoveContainer

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

func (*MockDockerClient) StartContainer

func (_m *MockDockerClient) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error

func (*MockDockerClient) StopContainer

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

func (*MockDockerClient) Version

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

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