docker

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonAPIClient

type CommonAPIClient struct {
	mock.Mock
}

CommonAPIClient is an autogenerated mock type for the CommonAPIClient type

func (*CommonAPIClient) ClientVersion

func (_m *CommonAPIClient) ClientVersion() string

ClientVersion provides a mock function with given fields:

func (*CommonAPIClient) ContainerAttach

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

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

func (*CommonAPIClient) ContainerCommit

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

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

func (*CommonAPIClient) ContainerCreate

func (_m *CommonAPIClient) 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 (*CommonAPIClient) ContainerDiff

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

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

func (*CommonAPIClient) ContainerExecAttach

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

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

func (*CommonAPIClient) ContainerExecCreate

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

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

func (*CommonAPIClient) ContainerExecInspect

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

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

func (*CommonAPIClient) ContainerExecResize

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

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

func (*CommonAPIClient) ContainerExecStart

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

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

func (*CommonAPIClient) ContainerExport

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

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

func (*CommonAPIClient) ContainerInspect

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

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

func (*CommonAPIClient) ContainerInspectWithRaw

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

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

func (*CommonAPIClient) ContainerKill

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

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

func (*CommonAPIClient) ContainerList

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

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

func (*CommonAPIClient) ContainerLogs

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

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

func (*CommonAPIClient) ContainerPause

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

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

func (*CommonAPIClient) ContainerRemove

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

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

func (*CommonAPIClient) ContainerRename

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

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

func (*CommonAPIClient) ContainerResize

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

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

func (*CommonAPIClient) ContainerRestart

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

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

func (*CommonAPIClient) ContainerStart

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

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

func (*CommonAPIClient) ContainerStatPath

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

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

func (*CommonAPIClient) ContainerStats

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

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

func (*CommonAPIClient) ContainerStop

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

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

func (*CommonAPIClient) ContainerTop

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

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

func (*CommonAPIClient) ContainerUnpause

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

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

func (*CommonAPIClient) ContainerUpdate

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

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

func (*CommonAPIClient) ContainerWait

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

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

func (*CommonAPIClient) ContainersPrune

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

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

func (*CommonAPIClient) CopyFromContainer

func (_m *CommonAPIClient) 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 (*CommonAPIClient) CopyToContainer

func (_m *CommonAPIClient) 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 (*CommonAPIClient) DiskUsage

func (_m *CommonAPIClient) DiskUsage(ctx context.Context) (types.DiskUsage, error)

DiskUsage provides a mock function with given fields: ctx

func (*CommonAPIClient) Events

func (_m *CommonAPIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)

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

func (*CommonAPIClient) ImageBuild

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

func (*CommonAPIClient) ImageCreate

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

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

func (*CommonAPIClient) ImageHistory

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

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

func (*CommonAPIClient) ImageImport

func (_m *CommonAPIClient) 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 (*CommonAPIClient) ImageInspectWithRaw

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

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

func (*CommonAPIClient) ImageList

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

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

func (*CommonAPIClient) ImageLoad

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

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

func (*CommonAPIClient) ImagePull

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

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

func (*CommonAPIClient) ImagePush

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

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

func (*CommonAPIClient) ImageRemove

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

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

func (*CommonAPIClient) ImageSave

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

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

func (*CommonAPIClient) ImageSearch

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

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

func (*CommonAPIClient) ImageTag

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

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

func (*CommonAPIClient) ImagesPrune

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

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

func (*CommonAPIClient) Info

func (_m *CommonAPIClient) Info(ctx context.Context) (types.Info, error)

Info provides a mock function with given fields: ctx

func (*CommonAPIClient) NetworkConnect

func (_m *CommonAPIClient) NetworkConnect(ctx context.Context, networkID string, _a2 string, config *network.EndpointSettings) error

NetworkConnect provides a mock function with given fields: ctx, networkID, _a2, config

func (*CommonAPIClient) NetworkCreate

func (_m *CommonAPIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)

NetworkCreate provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) NetworkDisconnect

func (_m *CommonAPIClient) NetworkDisconnect(ctx context.Context, networkID string, _a2 string, force bool) error

NetworkDisconnect provides a mock function with given fields: ctx, networkID, _a2, force

func (*CommonAPIClient) NetworkInspect

func (_m *CommonAPIClient) NetworkInspect(ctx context.Context, networkID string) (types.NetworkResource, error)

NetworkInspect provides a mock function with given fields: ctx, networkID

func (*CommonAPIClient) NetworkInspectWithRaw

func (_m *CommonAPIClient) NetworkInspectWithRaw(ctx context.Context, networkID string) (types.NetworkResource, []byte, error)

NetworkInspectWithRaw provides a mock function with given fields: ctx, networkID

func (*CommonAPIClient) NetworkList

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

func (*CommonAPIClient) NetworkRemove

func (_m *CommonAPIClient) NetworkRemove(ctx context.Context, networkID string) error

NetworkRemove provides a mock function with given fields: ctx, networkID

func (*CommonAPIClient) NetworksPrune

func (_m *CommonAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)

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

func (*CommonAPIClient) NodeInspectWithRaw

func (_m *CommonAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)

NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID

func (*CommonAPIClient) NodeList

func (_m *CommonAPIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)

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

func (*CommonAPIClient) NodeRemove

func (_m *CommonAPIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error

NodeRemove provides a mock function with given fields: ctx, nodeID, options

func (*CommonAPIClient) NodeUpdate

func (_m *CommonAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error

NodeUpdate provides a mock function with given fields: ctx, nodeID, version, node

func (*CommonAPIClient) Ping

func (_m *CommonAPIClient) Ping(ctx context.Context) (types.Ping, error)

Ping provides a mock function with given fields: ctx

func (*CommonAPIClient) PluginCreate

func (_m *CommonAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error

PluginCreate provides a mock function with given fields: ctx, createContext, options

func (*CommonAPIClient) PluginDisable

func (_m *CommonAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error

PluginDisable provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) PluginEnable

func (_m *CommonAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error

PluginEnable provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) PluginInspectWithRaw

func (_m *CommonAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)

PluginInspectWithRaw provides a mock function with given fields: ctx, name

func (*CommonAPIClient) PluginInstall

func (_m *CommonAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)

PluginInstall provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) PluginList

PluginList provides a mock function with given fields: ctx

func (*CommonAPIClient) PluginPush

func (_m *CommonAPIClient) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)

PluginPush provides a mock function with given fields: ctx, name, registryAuth

func (*CommonAPIClient) PluginRemove

func (_m *CommonAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error

PluginRemove provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) PluginSet

func (_m *CommonAPIClient) PluginSet(ctx context.Context, name string, args []string) error

PluginSet provides a mock function with given fields: ctx, name, args

func (*CommonAPIClient) PluginUpgrade

func (_m *CommonAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)

PluginUpgrade provides a mock function with given fields: ctx, name, options

func (*CommonAPIClient) RegistryLogin

RegistryLogin provides a mock function with given fields: ctx, auth

func (*CommonAPIClient) SecretCreate

SecretCreate provides a mock function with given fields: ctx, secret

func (*CommonAPIClient) SecretInspectWithRaw

func (_m *CommonAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)

SecretInspectWithRaw provides a mock function with given fields: ctx, name

func (*CommonAPIClient) SecretList

func (_m *CommonAPIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)

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

func (*CommonAPIClient) SecretRemove

func (_m *CommonAPIClient) SecretRemove(ctx context.Context, id string) error

SecretRemove provides a mock function with given fields: ctx, id

func (*CommonAPIClient) SecretUpdate

func (_m *CommonAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error

SecretUpdate provides a mock function with given fields: ctx, id, version, secret

func (*CommonAPIClient) ServerVersion

func (_m *CommonAPIClient) ServerVersion(ctx context.Context) (types.Version, error)

ServerVersion provides a mock function with given fields: ctx

func (*CommonAPIClient) ServiceCreate

ServiceCreate provides a mock function with given fields: ctx, service, options

func (*CommonAPIClient) ServiceInspectWithRaw

func (_m *CommonAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string) (swarm.Service, []byte, error)

ServiceInspectWithRaw provides a mock function with given fields: ctx, serviceID

func (*CommonAPIClient) ServiceList

func (_m *CommonAPIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)

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

func (*CommonAPIClient) ServiceLogs

func (_m *CommonAPIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)

ServiceLogs provides a mock function with given fields: ctx, serviceID, options

func (*CommonAPIClient) ServiceRemove

func (_m *CommonAPIClient) ServiceRemove(ctx context.Context, serviceID string) error

ServiceRemove provides a mock function with given fields: ctx, serviceID

func (*CommonAPIClient) ServiceUpdate

func (_m *CommonAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options types.ServiceUpdateOptions) (types.ServiceUpdateResponse, error)

ServiceUpdate provides a mock function with given fields: ctx, serviceID, version, service, options

func (*CommonAPIClient) SwarmGetUnlockKey

func (_m *CommonAPIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)

SwarmGetUnlockKey provides a mock function with given fields: ctx

func (*CommonAPIClient) SwarmInit

func (_m *CommonAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)

SwarmInit provides a mock function with given fields: ctx, req

func (*CommonAPIClient) SwarmInspect

func (_m *CommonAPIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)

SwarmInspect provides a mock function with given fields: ctx

func (*CommonAPIClient) SwarmJoin

func (_m *CommonAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error

SwarmJoin provides a mock function with given fields: ctx, req

func (*CommonAPIClient) SwarmLeave

func (_m *CommonAPIClient) SwarmLeave(ctx context.Context, force bool) error

SwarmLeave provides a mock function with given fields: ctx, force

func (*CommonAPIClient) SwarmUnlock

func (_m *CommonAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error

SwarmUnlock provides a mock function with given fields: ctx, req

func (*CommonAPIClient) SwarmUpdate

func (_m *CommonAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, _a2 swarm.Spec, flags swarm.UpdateFlags) error

SwarmUpdate provides a mock function with given fields: ctx, version, _a2, flags

func (*CommonAPIClient) TaskInspectWithRaw

func (_m *CommonAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)

TaskInspectWithRaw provides a mock function with given fields: ctx, taskID

func (*CommonAPIClient) TaskList

func (_m *CommonAPIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)

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

func (*CommonAPIClient) UpdateClientVersion

func (_m *CommonAPIClient) UpdateClientVersion(v string)

UpdateClientVersion provides a mock function with given fields: v

func (*CommonAPIClient) VolumeCreate

func (_m *CommonAPIClient) VolumeCreate(ctx context.Context, options volume.VolumesCreateBody) (types.Volume, error)

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

func (*CommonAPIClient) VolumeInspect

func (_m *CommonAPIClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)

VolumeInspect provides a mock function with given fields: ctx, volumeID

func (*CommonAPIClient) VolumeInspectWithRaw

func (_m *CommonAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)

VolumeInspectWithRaw provides a mock function with given fields: ctx, volumeID

func (*CommonAPIClient) VolumeList

func (_m *CommonAPIClient) VolumeList(ctx context.Context, filter filters.Args) (volume.VolumesListOKBody, error)

VolumeList provides a mock function with given fields: ctx, filter

func (*CommonAPIClient) VolumeRemove

func (_m *CommonAPIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error

VolumeRemove provides a mock function with given fields: ctx, volumeID, force

func (*CommonAPIClient) VolumesPrune

func (_m *CommonAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)

VolumesPrune 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