Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	mock.Mock
}

DockerClient is an autogenerated mock type for the DockerClient type

func (*DockerClient) ContainerAttach

func (_m *DockerClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)

ContainerAttach provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerCommit

func (_m *DockerClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)

ContainerCommit provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerCreate

func (_m *DockerClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, containerName string) (container.ContainerCreateCreatedBody, error)

ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, containerName

func (*DockerClient) ContainerDiff

func (_m *DockerClient) ContainerDiff(ctx context.Context, _a1 string) ([]types.ContainerChange, error)

ContainerDiff provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainerExecAttach

func (_m *DockerClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecConfig) (types.HijackedResponse, error)

ContainerExecAttach provides a mock function with given fields: ctx, execID, config

func (*DockerClient) ContainerExecCreate

func (_m *DockerClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)

ContainerExecCreate provides a mock function with given fields: ctx, _a1, config

func (*DockerClient) ContainerExecInspect

func (_m *DockerClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)

ContainerExecInspect provides a mock function with given fields: ctx, execID

func (*DockerClient) ContainerExecResize

func (_m *DockerClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error

ContainerExecResize provides a mock function with given fields: ctx, execID, options

func (*DockerClient) ContainerExecStart

func (_m *DockerClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error

ContainerExecStart provides a mock function with given fields: ctx, execID, config

func (*DockerClient) ContainerExport

func (_m *DockerClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)

ContainerExport provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainerInspect

func (_m *DockerClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)

ContainerInspect provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainerInspectWithRaw

func (_m *DockerClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)

ContainerInspectWithRaw provides a mock function with given fields: ctx, _a1, getSize

func (*DockerClient) ContainerKill

func (_m *DockerClient) ContainerKill(ctx context.Context, _a1 string, signal string) error

ContainerKill provides a mock function with given fields: ctx, _a1, signal

func (*DockerClient) ContainerList

func (_m *DockerClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)

ContainerList provides a mock function with given fields: ctx, options

func (*DockerClient) ContainerLogs

func (_m *DockerClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)

ContainerLogs provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerPause

func (_m *DockerClient) ContainerPause(ctx context.Context, _a1 string) error

ContainerPause provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainerRemove

func (_m *DockerClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error

ContainerRemove provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerRename

func (_m *DockerClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error

ContainerRename provides a mock function with given fields: ctx, _a1, newContainerName

func (*DockerClient) ContainerResize

func (_m *DockerClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error

ContainerResize provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerRestart

func (_m *DockerClient) ContainerRestart(ctx context.Context, _a1 string, timeout *time.Duration) error

ContainerRestart provides a mock function with given fields: ctx, _a1, timeout

func (*DockerClient) ContainerStart

func (_m *DockerClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error

ContainerStart provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ContainerStatPath

func (_m *DockerClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)

ContainerStatPath provides a mock function with given fields: ctx, _a1, path

func (*DockerClient) ContainerStats

func (_m *DockerClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)

ContainerStats provides a mock function with given fields: ctx, _a1, stream

func (*DockerClient) ContainerStop

func (_m *DockerClient) ContainerStop(ctx context.Context, _a1 string, timeout *time.Duration) error

ContainerStop provides a mock function with given fields: ctx, _a1, timeout

func (*DockerClient) ContainerTop

func (_m *DockerClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (types.ContainerProcessList, error)

ContainerTop provides a mock function with given fields: ctx, _a1, arguments

func (*DockerClient) ContainerUnpause

func (_m *DockerClient) ContainerUnpause(ctx context.Context, _a1 string) error

ContainerUnpause provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainerUpdate

func (_m *DockerClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)

ContainerUpdate provides a mock function with given fields: ctx, _a1, updateConfig

func (*DockerClient) ContainerWait

func (_m *DockerClient) ContainerWait(ctx context.Context, _a1 string) (int64, error)

ContainerWait provides a mock function with given fields: ctx, _a1

func (*DockerClient) ContainersPrune

func (_m *DockerClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)

ContainersPrune provides a mock function with given fields: ctx, pruneFilters

func (*DockerClient) CopyFromContainer

func (_m *DockerClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)

CopyFromContainer provides a mock function with given fields: ctx, _a1, srcPath

func (*DockerClient) CopyToContainer

func (_m *DockerClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, options types.CopyToContainerOptions) error

CopyToContainer provides a mock function with given fields: ctx, _a1, path, content, options

func (*DockerClient) ImageBuild

ImageBuild provides a mock function with given fields: ctx, _a1, options

func (*DockerClient) ImageCreate

func (_m *DockerClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)

ImageCreate provides a mock function with given fields: ctx, parentReference, options

func (*DockerClient) ImageHistory

func (_m *DockerClient) ImageHistory(ctx context.Context, image string) ([]types.ImageHistory, error)

ImageHistory provides a mock function with given fields: ctx, image

func (*DockerClient) ImageImport

func (_m *DockerClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error)

ImageImport provides a mock function with given fields: ctx, source, ref, options

func (*DockerClient) ImageInspectWithRaw

func (_m *DockerClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error)

ImageInspectWithRaw provides a mock function with given fields: ctx, image

func (*DockerClient) ImageList

func (_m *DockerClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)

ImageList provides a mock function with given fields: ctx, options

func (*DockerClient) ImageLoad

func (_m *DockerClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)

ImageLoad provides a mock function with given fields: ctx, input, quiet

func (*DockerClient) ImagePull

func (_m *DockerClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)

ImagePull provides a mock function with given fields: ctx, ref, options

func (*DockerClient) ImagePush

func (_m *DockerClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)

ImagePush provides a mock function with given fields: ctx, ref, options

func (*DockerClient) ImageRemove

func (_m *DockerClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDelete, error)

ImageRemove provides a mock function with given fields: ctx, image, options

func (*DockerClient) ImageSave

func (_m *DockerClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)

ImageSave provides a mock function with given fields: ctx, images

func (*DockerClient) ImageSearch

func (_m *DockerClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)

ImageSearch provides a mock function with given fields: ctx, term, options

func (*DockerClient) ImageTag

func (_m *DockerClient) ImageTag(ctx context.Context, image string, ref string) error

ImageTag provides a mock function with given fields: ctx, image, ref

func (*DockerClient) ImagesPrune

func (_m *DockerClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)

ImagesPrune provides a mock function with given fields: ctx, pruneFilter

Jump to

Keyboard shortcuts

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