mocks

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContainerRunner added in v0.4.0

type ContainerRunner struct {
	mock.Mock
}

ContainerRunner is an autogenerated mock type for the ContainerRunner type

func (*ContainerRunner) ContainerIP added in v0.4.0

func (_m *ContainerRunner) ContainerIP(_a0 context.Context, _a1 string) (string, error)

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

type DockerClient struct {
	mock.Mock
}

DockerClient is an autogenerated mock type for the DockerClient type

func (*DockerClient) ContainerCreate

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

type HTTPPoster struct {
	mock.Mock
}

HTTPPoster is an autogenerated mock type for the HTTPPoster type

func (*HTTPPoster) Post added in v0.4.0

func (_m *HTTPPoster) Post(_a0 string, _a1 string, _a2 io.Reader) (*http.Response, error)

Post provides a mock function with given fields: _a0, _a1, _a2

Jump to

Keyboard shortcuts

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