Documentation ¶
Index ¶
- type ContainerRunner
- type DockerClient
- func (_m *DockerClient) ContainerCreate(_a0 context.Context, _a1 *container.Config, _a2 *container.HostConfig, ...) (container.ContainerCreateCreatedBody, error)
- func (_m *DockerClient) ContainerInspect(_a0 context.Context, _a1 string) (types.ContainerJSON, error)
- func (_m *DockerClient) ContainerLogs(_a0 context.Context, _a1 string, _a2 types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *DockerClient) ContainerStart(_a0 context.Context, _a1 string, _a2 types.ContainerStartOptions) error
- func (_m *DockerClient) ContainerWait(_a0 context.Context, _a1 string, _a2 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
- func (_m *DockerClient) ImagePull(_a0 context.Context, _a1 string, _a2 types.ImagePullOptions) (io.ReadCloser, error)
- type HTTPPoster
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRunner ¶ added in v0.4.0
ContainerRunner is an autogenerated mock type for the ContainerRunner type
func (*ContainerRunner) ContainerIP ¶ added in v0.4.0
ContainerIP provides a mock function with given fields: _a0, _a1
func (*ContainerRunner) PullImage ¶ added in v0.4.0
func (_m *ContainerRunner) PullImage(_a0 string) error
PullImage provides a mock function with given fields: _a0
func (*ContainerRunner) RunContainer ¶ added in v0.4.0
func (_m *ContainerRunner) RunContainer(_a0 string) (string, error)
RunContainer provides a mock function with given fields: _a0
type DockerClient ¶
DockerClient is an autogenerated mock type for the DockerClient type
func (*DockerClient) ContainerCreate ¶
func (_m *DockerClient) ContainerCreate(_a0 context.Context, _a1 *container.Config, _a2 *container.HostConfig, _a3 *network.NetworkingConfig, _a4 string) (container.ContainerCreateCreatedBody, error)
ContainerCreate provides a mock function with given fields: _a0, _a1, _a2, _a3, _a4
func (*DockerClient) ContainerInspect ¶
func (_m *DockerClient) ContainerInspect(_a0 context.Context, _a1 string) (types.ContainerJSON, error)
ContainerInspect provides a mock function with given fields: _a0, _a1
func (*DockerClient) ContainerLogs ¶
func (_m *DockerClient) ContainerLogs(_a0 context.Context, _a1 string, _a2 types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function with given fields: _a0, _a1, _a2
func (*DockerClient) ContainerStart ¶
func (_m *DockerClient) ContainerStart(_a0 context.Context, _a1 string, _a2 types.ContainerStartOptions) error
ContainerStart provides a mock function with given fields: _a0, _a1, _a2
func (*DockerClient) ContainerWait ¶
func (_m *DockerClient) ContainerWait(_a0 context.Context, _a1 string, _a2 container.WaitCondition) (<-chan container.ContainerWaitOKBody, <-chan error)
ContainerWait provides a mock function with given fields: _a0, _a1, _a2
func (*DockerClient) ImagePull ¶
func (_m *DockerClient) ImagePull(_a0 context.Context, _a1 string, _a2 types.ImagePullOptions) (io.ReadCloser, error)
ImagePull provides a mock function with given fields: _a0, _a1, _a2
type HTTPPoster ¶ added in v0.4.0
HTTPPoster is an autogenerated mock type for the HTTPPoster type