Documentation ¶
Index ¶
- type MockDockerClient
- func (_m *MockDockerClient) ContainerEvents() (<-chan engine.DockerContainerChangeEvent, error)
- func (_m *MockDockerClient) CreateContainer(_param0 *go_dockerclient.Config, _param1 string) (string, error)
- func (_m *MockDockerClient) DescribeContainer(_param0 string) (api.ContainerStatus, error)
- func (_m *MockDockerClient) EXPECT() *_MockDockerClientRecorder
- func (_m *MockDockerClient) GetContainerName(_param0 string) (string, error)
- func (_m *MockDockerClient) InspectContainer(_param0 string) (*go_dockerclient.Container, error)
- func (_m *MockDockerClient) PullImage(_param0 string) error
- func (_m *MockDockerClient) RemoveContainer(_param0 string) error
- func (_m *MockDockerClient) StartContainer(_param0 string, _param1 *go_dockerclient.HostConfig) error
- func (_m *MockDockerClient) StopContainer(_param0 string) error
- func (_m *MockDockerClient) Version() (string, error)
- type MockTaskEngine
- func (_m *MockTaskEngine) AddTask(_param0 *api.Task) error
- func (_m *MockTaskEngine) Disable()
- func (_m *MockTaskEngine) EXPECT() *_MockTaskEngineRecorder
- func (_m *MockTaskEngine) Init() error
- func (_m *MockTaskEngine) ListTasks() ([]*api.Task, error)
- func (_m *MockTaskEngine) MarshalJSON() ([]byte, error)
- func (_m *MockTaskEngine) MustInit()
- func (_m *MockTaskEngine) SetSaver(_param0 statemanager.Saver)
- func (_m *MockTaskEngine) TaskEvents() <-chan api.ContainerStateChange
- func (_m *MockTaskEngine) UnmarshalJSON(_param0 []byte) error
- func (_m *MockTaskEngine) Version() (string, error)
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) Disable ¶
func (_m *MockTaskEngine) Disable()
func (*MockTaskEngine) EXPECT ¶
func (_m *MockTaskEngine) EXPECT() *_MockTaskEngineRecorder
func (*MockTaskEngine) Init ¶
func (_m *MockTaskEngine) Init() 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)
Click to show internal directories.
Click to hide internal directories.