Documentation ¶
Index ¶
- type APIClient
- func (_m *APIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (_m *APIClient) BuildCancel(ctx context.Context, id string) error
- func (_m *APIClient) CheckpointCreate(ctx context.Context, _a1 string, options types.CheckpointCreateOptions) error
- func (_m *APIClient) CheckpointDelete(ctx context.Context, _a1 string, options types.CheckpointDeleteOptions) error
- func (_m *APIClient) CheckpointList(ctx context.Context, _a1 string, options types.CheckpointListOptions) ([]types.Checkpoint, error)
- func (_m *APIClient) ClientVersion() string
- func (_m *APIClient) Close() error
- func (_m *APIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
- func (_m *APIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
- func (_m *APIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
- func (_m *APIClient) ConfigRemove(ctx context.Context, id string) error
- func (_m *APIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
- func (_m *APIClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (_m *APIClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (_m *APIClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.CreateResponse, error)
- func (_m *APIClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
- func (_m *APIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (_m *APIClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
- func (_m *APIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (_m *APIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
- func (_m *APIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (_m *APIClient) ContainerExport(ctx context.Context, _a1 string) (io.ReadCloser, error)
- func (_m *APIClient) ContainerInspect(ctx context.Context, _a1 string) (types.ContainerJSON, error)
- func (_m *APIClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
- func (_m *APIClient) ContainerKill(ctx context.Context, _a1 string, signal string) error
- func (_m *APIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (_m *APIClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *APIClient) ContainerPause(ctx context.Context, _a1 string) error
- func (_m *APIClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
- func (_m *APIClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
- func (_m *APIClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
- func (_m *APIClient) ContainerRestart(ctx context.Context, _a1 string, options container.StopOptions) error
- func (_m *APIClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
- func (_m *APIClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
- func (_m *APIClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
- func (_m *APIClient) ContainerStatsOneShot(ctx context.Context, _a1 string) (types.ContainerStats, error)
- func (_m *APIClient) ContainerStop(ctx context.Context, _a1 string, options container.StopOptions) error
- func (_m *APIClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
- func (_m *APIClient) ContainerUnpause(ctx context.Context, _a1 string) error
- func (_m *APIClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
- func (_m *APIClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
- func (_m *APIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- func (_m *APIClient) CopyFromContainer(ctx context.Context, _a1 string, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (_m *APIClient) CopyToContainer(ctx context.Context, _a1 string, path string, content io.Reader, ...) error
- func (_m *APIClient) DaemonHost() string
- func (_m *APIClient) DialHijack(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)
- func (_m *APIClient) Dialer() func(context.Context) (net.Conn, error)
- func (_m *APIClient) DiskUsage(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)
- func (_m *APIClient) DistributionInspect(ctx context.Context, _a1 string, encodedRegistryAuth string) (registry.DistributionInspect, error)
- func (_m *APIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
- func (_m *APIClient) HTTPClient() *http.Client
- func (_m *APIClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (_m *APIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
- func (_m *APIClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
- func (_m *APIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error)
- func (_m *APIClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
- func (_m *APIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (_m *APIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
- func (_m *APIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (_m *APIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
- func (_m *APIClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (_m *APIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
- func (_m *APIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (_m *APIClient) ImageTag(ctx context.Context, _a1 string, ref string) error
- func (_m *APIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
- func (_m *APIClient) Info(ctx context.Context) (types.Info, error)
- func (_m *APIClient) NegotiateAPIVersion(ctx context.Context)
- func (_m *APIClient) NegotiateAPIVersionPing(_a0 types.Ping)
- func (_m *APIClient) NetworkConnect(ctx context.Context, _a1 string, _a2 string, config *network.EndpointSettings) error
- func (_m *APIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (_m *APIClient) NetworkDisconnect(ctx context.Context, _a1 string, _a2 string, force bool) error
- func (_m *APIClient) NetworkInspect(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, error)
- func (_m *APIClient) NetworkInspectWithRaw(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
- func (_m *APIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
- func (_m *APIClient) NetworkRemove(ctx context.Context, _a1 string) error
- func (_m *APIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
- func (_m *APIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
- func (_m *APIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
- func (_m *APIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
- func (_m *APIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
- func (_m *APIClient) Ping(ctx context.Context) (types.Ping, error)
- func (_m *APIClient) PluginCreate(ctx context.Context, createContext io.Reader, ...) error
- func (_m *APIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
- func (_m *APIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
- func (_m *APIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
- func (_m *APIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (_m *APIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
- func (_m *APIClient) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)
- func (_m *APIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
- func (_m *APIClient) PluginSet(ctx context.Context, name string, args []string) error
- func (_m *APIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (_m *APIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
- func (_m *APIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
- func (_m *APIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
- func (_m *APIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
- func (_m *APIClient) SecretRemove(ctx context.Context, id string) error
- func (_m *APIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
- func (_m *APIClient) ServerVersion(ctx context.Context) (types.Version, error)
- func (_m *APIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, ...) (types.ServiceCreateResponse, error)
- func (_m *APIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
- func (_m *APIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
- func (_m *APIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *APIClient) ServiceRemove(ctx context.Context, serviceID string) error
- func (_m *APIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, ...) (types.ServiceUpdateResponse, error)
- func (_m *APIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)
- func (_m *APIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
- func (_m *APIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)
- func (_m *APIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
- func (_m *APIClient) SwarmLeave(ctx context.Context, force bool) error
- func (_m *APIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
- func (_m *APIClient) SwarmUpdate(ctx context.Context, version swarm.Version, _a2 swarm.Spec, ...) error
- func (_m *APIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
- func (_m *APIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
- func (_m *APIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (_m *APIClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
- func (_m *APIClient) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error)
- func (_m *APIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (volume.Volume, []byte, error)
- func (_m *APIClient) VolumeList(ctx context.Context, filter filters.Args) (volume.ListResponse, error)
- func (_m *APIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- func (_m *APIClient) VolumeUpdate(ctx context.Context, volumeID string, version swarm.Version, ...) error
- func (_m *APIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
APIClient is an autogenerated mock type for the APIClient type
func NewAPIClient ¶
NewAPIClient creates a new instance of APIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*APIClient) BuildCachePrune ¶
func (_m *APIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune provides a mock function with given fields: ctx, opts
func (*APIClient) BuildCancel ¶
BuildCancel provides a mock function with given fields: ctx, id
func (*APIClient) CheckpointCreate ¶
func (_m *APIClient) CheckpointCreate(ctx context.Context, _a1 string, options types.CheckpointCreateOptions) error
CheckpointCreate provides a mock function with given fields: ctx, _a1, options
func (*APIClient) CheckpointDelete ¶
func (_m *APIClient) CheckpointDelete(ctx context.Context, _a1 string, options types.CheckpointDeleteOptions) error
CheckpointDelete provides a mock function with given fields: ctx, _a1, options
func (*APIClient) CheckpointList ¶
func (_m *APIClient) CheckpointList(ctx context.Context, _a1 string, options types.CheckpointListOptions) ([]types.Checkpoint, error)
CheckpointList provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ClientVersion ¶
ClientVersion provides a mock function with given fields:
func (*APIClient) ConfigCreate ¶
func (_m *APIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
ConfigCreate provides a mock function with given fields: ctx, config
func (*APIClient) ConfigInspectWithRaw ¶
func (_m *APIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
ConfigInspectWithRaw provides a mock function with given fields: ctx, name
func (*APIClient) ConfigList ¶
func (_m *APIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
ConfigList provides a mock function with given fields: ctx, options
func (*APIClient) ConfigRemove ¶
ConfigRemove provides a mock function with given fields: ctx, id
func (*APIClient) ConfigUpdate ¶
func (_m *APIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
ConfigUpdate provides a mock function with given fields: ctx, id, version, config
func (*APIClient) ContainerAttach ¶
func (_m *APIClient) ContainerAttach(ctx context.Context, _a1 string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerCommit ¶
func (_m *APIClient) ContainerCommit(ctx context.Context, _a1 string, options types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerCreate ¶
func (_m *APIClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error)
ContainerCreate provides a mock function with given fields: ctx, config, hostConfig, networkingConfig, platform, containerName
func (*APIClient) ContainerDiff ¶
func (_m *APIClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)
ContainerDiff provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerExecAttach ¶
func (_m *APIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function with given fields: ctx, execID, config
func (*APIClient) ContainerExecCreate ¶
func (_m *APIClient) ContainerExecCreate(ctx context.Context, _a1 string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate provides a mock function with given fields: ctx, _a1, config
func (*APIClient) ContainerExecInspect ¶
func (_m *APIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect provides a mock function with given fields: ctx, execID
func (*APIClient) ContainerExecResize ¶
func (_m *APIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
ContainerExecResize provides a mock function with given fields: ctx, execID, options
func (*APIClient) ContainerExecStart ¶
func (_m *APIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
ContainerExecStart provides a mock function with given fields: ctx, execID, config
func (*APIClient) ContainerExport ¶
ContainerExport provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerInspect ¶
ContainerInspect provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerInspectWithRaw ¶
func (_m *APIClient) ContainerInspectWithRaw(ctx context.Context, _a1 string, getSize bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw provides a mock function with given fields: ctx, _a1, getSize
func (*APIClient) ContainerKill ¶
ContainerKill provides a mock function with given fields: ctx, _a1, signal
func (*APIClient) ContainerList ¶
func (_m *APIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList provides a mock function with given fields: ctx, options
func (*APIClient) ContainerLogs ¶
func (_m *APIClient) ContainerLogs(ctx context.Context, _a1 string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerPause ¶
ContainerPause provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerRemove ¶
func (_m *APIClient) ContainerRemove(ctx context.Context, _a1 string, options types.ContainerRemoveOptions) error
ContainerRemove provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerRename ¶
func (_m *APIClient) ContainerRename(ctx context.Context, _a1 string, newContainerName string) error
ContainerRename provides a mock function with given fields: ctx, _a1, newContainerName
func (*APIClient) ContainerResize ¶
func (_m *APIClient) ContainerResize(ctx context.Context, _a1 string, options types.ResizeOptions) error
ContainerResize provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerRestart ¶
func (_m *APIClient) ContainerRestart(ctx context.Context, _a1 string, options container.StopOptions) error
ContainerRestart provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerStart ¶
func (_m *APIClient) ContainerStart(ctx context.Context, _a1 string, options types.ContainerStartOptions) error
ContainerStart provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerStatPath ¶
func (_m *APIClient) ContainerStatPath(ctx context.Context, _a1 string, path string) (types.ContainerPathStat, error)
ContainerStatPath provides a mock function with given fields: ctx, _a1, path
func (*APIClient) ContainerStats ¶
func (_m *APIClient) ContainerStats(ctx context.Context, _a1 string, stream bool) (types.ContainerStats, error)
ContainerStats provides a mock function with given fields: ctx, _a1, stream
func (*APIClient) ContainerStatsOneShot ¶
func (_m *APIClient) ContainerStatsOneShot(ctx context.Context, _a1 string) (types.ContainerStats, error)
ContainerStatsOneShot provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerStop ¶
func (_m *APIClient) ContainerStop(ctx context.Context, _a1 string, options container.StopOptions) error
ContainerStop provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ContainerTop ¶
func (_m *APIClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)
ContainerTop provides a mock function with given fields: ctx, _a1, arguments
func (*APIClient) ContainerUnpause ¶
ContainerUnpause provides a mock function with given fields: ctx, _a1
func (*APIClient) ContainerUpdate ¶
func (_m *APIClient) ContainerUpdate(ctx context.Context, _a1 string, updateConfig container.UpdateConfig) (container.ContainerUpdateOKBody, error)
ContainerUpdate provides a mock function with given fields: ctx, _a1, updateConfig
func (*APIClient) ContainerWait ¶
func (_m *APIClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
ContainerWait provides a mock function with given fields: ctx, _a1, condition
func (*APIClient) ContainersPrune ¶
func (_m *APIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
ContainersPrune provides a mock function with given fields: ctx, pruneFilters
func (*APIClient) CopyFromContainer ¶
func (_m *APIClient) 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 (*APIClient) CopyToContainer ¶
func (_m *APIClient) 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 (*APIClient) DaemonHost ¶
DaemonHost provides a mock function with given fields:
func (*APIClient) DialHijack ¶
func (_m *APIClient) DialHijack(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)
DialHijack provides a mock function with given fields: ctx, url, proto, meta
func (*APIClient) DiskUsage ¶
func (_m *APIClient) DiskUsage(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)
DiskUsage provides a mock function with given fields: ctx, options
func (*APIClient) DistributionInspect ¶
func (_m *APIClient) DistributionInspect(ctx context.Context, _a1 string, encodedRegistryAuth string) (registry.DistributionInspect, error)
DistributionInspect provides a mock function with given fields: ctx, _a1, encodedRegistryAuth
func (*APIClient) Events ¶
func (_m *APIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
Events provides a mock function with given fields: ctx, options
func (*APIClient) HTTPClient ¶
HTTPClient provides a mock function with given fields:
func (*APIClient) ImageBuild ¶
func (_m *APIClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ImageCreate ¶
func (_m *APIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate provides a mock function with given fields: ctx, parentReference, options
func (*APIClient) ImageHistory ¶
func (_m *APIClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)
ImageHistory provides a mock function with given fields: ctx, _a1
func (*APIClient) ImageImport ¶
func (_m *APIClient) 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 (*APIClient) ImageInspectWithRaw ¶
func (_m *APIClient) ImageInspectWithRaw(ctx context.Context, _a1 string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw provides a mock function with given fields: ctx, _a1
func (*APIClient) ImageList ¶
func (_m *APIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList provides a mock function with given fields: ctx, options
func (*APIClient) ImageLoad ¶
func (_m *APIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
ImageLoad provides a mock function with given fields: ctx, input, quiet
func (*APIClient) ImagePull ¶
func (_m *APIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
ImagePull provides a mock function with given fields: ctx, ref, options
func (*APIClient) ImagePush ¶
func (_m *APIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
ImagePush provides a mock function with given fields: ctx, ref, options
func (*APIClient) ImageRemove ¶
func (_m *APIClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove provides a mock function with given fields: ctx, _a1, options
func (*APIClient) ImageSearch ¶
func (_m *APIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch provides a mock function with given fields: ctx, term, options
func (*APIClient) ImagesPrune ¶
func (_m *APIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
ImagesPrune provides a mock function with given fields: ctx, pruneFilter
func (*APIClient) NegotiateAPIVersion ¶
NegotiateAPIVersion provides a mock function with given fields: ctx
func (*APIClient) NegotiateAPIVersionPing ¶
NegotiateAPIVersionPing provides a mock function with given fields: _a0
func (*APIClient) NetworkConnect ¶
func (_m *APIClient) NetworkConnect(ctx context.Context, _a1 string, _a2 string, config *network.EndpointSettings) error
NetworkConnect provides a mock function with given fields: ctx, _a1, _a2, config
func (*APIClient) NetworkCreate ¶
func (_m *APIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
NetworkCreate provides a mock function with given fields: ctx, name, options
func (*APIClient) NetworkDisconnect ¶
func (_m *APIClient) NetworkDisconnect(ctx context.Context, _a1 string, _a2 string, force bool) error
NetworkDisconnect provides a mock function with given fields: ctx, _a1, _a2, force
func (*APIClient) NetworkInspect ¶
func (_m *APIClient) NetworkInspect(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, error)
NetworkInspect provides a mock function with given fields: ctx, _a1, options
func (*APIClient) NetworkInspectWithRaw ¶
func (_m *APIClient) NetworkInspectWithRaw(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
NetworkInspectWithRaw provides a mock function with given fields: ctx, _a1, options
func (*APIClient) NetworkList ¶
func (_m *APIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
NetworkList provides a mock function with given fields: ctx, options
func (*APIClient) NetworkRemove ¶
NetworkRemove provides a mock function with given fields: ctx, _a1
func (*APIClient) NetworksPrune ¶
func (_m *APIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
NetworksPrune provides a mock function with given fields: ctx, pruneFilter
func (*APIClient) NodeInspectWithRaw ¶
func (_m *APIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
NodeInspectWithRaw provides a mock function with given fields: ctx, nodeID
func (*APIClient) NodeList ¶
func (_m *APIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
NodeList provides a mock function with given fields: ctx, options
func (*APIClient) NodeRemove ¶
func (_m *APIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
NodeRemove provides a mock function with given fields: ctx, nodeID, options
func (*APIClient) NodeUpdate ¶
func (_m *APIClient) 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 (*APIClient) PluginCreate ¶
func (_m *APIClient) PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error
PluginCreate provides a mock function with given fields: ctx, createContext, options
func (*APIClient) PluginDisable ¶
func (_m *APIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
PluginDisable provides a mock function with given fields: ctx, name, options
func (*APIClient) PluginEnable ¶
func (_m *APIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
PluginEnable provides a mock function with given fields: ctx, name, options
func (*APIClient) PluginInspectWithRaw ¶
func (_m *APIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
PluginInspectWithRaw provides a mock function with given fields: ctx, name
func (*APIClient) PluginInstall ¶
func (_m *APIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginInstall provides a mock function with given fields: ctx, name, options
func (*APIClient) PluginList ¶
func (_m *APIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
PluginList provides a mock function with given fields: ctx, filter
func (*APIClient) PluginPush ¶
func (_m *APIClient) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)
PluginPush provides a mock function with given fields: ctx, name, registryAuth
func (*APIClient) PluginRemove ¶
func (_m *APIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
PluginRemove provides a mock function with given fields: ctx, name, options
func (*APIClient) PluginUpgrade ¶
func (_m *APIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginUpgrade provides a mock function with given fields: ctx, name, options
func (*APIClient) RegistryLogin ¶
func (_m *APIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
RegistryLogin provides a mock function with given fields: ctx, auth
func (*APIClient) SecretCreate ¶
func (_m *APIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
SecretCreate provides a mock function with given fields: ctx, secret
func (*APIClient) SecretInspectWithRaw ¶
func (_m *APIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
SecretInspectWithRaw provides a mock function with given fields: ctx, name
func (*APIClient) SecretList ¶
func (_m *APIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
SecretList provides a mock function with given fields: ctx, options
func (*APIClient) SecretRemove ¶
SecretRemove provides a mock function with given fields: ctx, id
func (*APIClient) SecretUpdate ¶
func (_m *APIClient) 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 (*APIClient) ServerVersion ¶
ServerVersion provides a mock function with given fields: ctx
func (*APIClient) ServiceCreate ¶
func (_m *APIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, options types.ServiceCreateOptions) (types.ServiceCreateResponse, error)
ServiceCreate provides a mock function with given fields: ctx, service, options
func (*APIClient) ServiceInspectWithRaw ¶
func (_m *APIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
ServiceInspectWithRaw provides a mock function with given fields: ctx, serviceID, options
func (*APIClient) ServiceList ¶
func (_m *APIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
ServiceList provides a mock function with given fields: ctx, options
func (*APIClient) ServiceLogs ¶
func (_m *APIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ServiceLogs provides a mock function with given fields: ctx, serviceID, options
func (*APIClient) ServiceRemove ¶
ServiceRemove provides a mock function with given fields: ctx, serviceID
func (*APIClient) ServiceUpdate ¶
func (_m *APIClient) 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 (*APIClient) SwarmGetUnlockKey ¶
SwarmGetUnlockKey provides a mock function with given fields: ctx
func (*APIClient) SwarmInspect ¶
SwarmInspect provides a mock function with given fields: ctx
func (*APIClient) SwarmLeave ¶
SwarmLeave provides a mock function with given fields: ctx, force
func (*APIClient) SwarmUnlock ¶
SwarmUnlock provides a mock function with given fields: ctx, req
func (*APIClient) SwarmUpdate ¶
func (_m *APIClient) 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 (*APIClient) TaskInspectWithRaw ¶
func (_m *APIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
TaskInspectWithRaw provides a mock function with given fields: ctx, taskID
func (*APIClient) TaskList ¶
func (_m *APIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
TaskList provides a mock function with given fields: ctx, options
func (*APIClient) TaskLogs ¶
func (_m *APIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
TaskLogs provides a mock function with given fields: ctx, taskID, options
func (*APIClient) VolumeCreate ¶
func (_m *APIClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
VolumeCreate provides a mock function with given fields: ctx, options
func (*APIClient) VolumeInspect ¶
VolumeInspect provides a mock function with given fields: ctx, volumeID
func (*APIClient) VolumeInspectWithRaw ¶
func (_m *APIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (volume.Volume, []byte, error)
VolumeInspectWithRaw provides a mock function with given fields: ctx, volumeID
func (*APIClient) VolumeList ¶
func (_m *APIClient) VolumeList(ctx context.Context, filter filters.Args) (volume.ListResponse, error)
VolumeList provides a mock function with given fields: ctx, filter
func (*APIClient) VolumeRemove ¶
VolumeRemove provides a mock function with given fields: ctx, volumeID, force
func (*APIClient) VolumeUpdate ¶
func (_m *APIClient) VolumeUpdate(ctx context.Context, volumeID string, version swarm.Version, options volume.UpdateOptions) error
VolumeUpdate provides a mock function with given fields: ctx, volumeID, version, options
func (*APIClient) VolumesPrune ¶
func (_m *APIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
VolumesPrune provides a mock function with given fields: ctx, pruneFilter