Documentation
¶
Overview ¶
Package docker provides client wrappers for Docker Engine API operations.
This package includes:
- Docker client creation via environment configuration
- Registry container lifecycle management for mirror/pull-through caching
- Network and volume management utilities
The RegistryManager handles creating, deleting, and managing Docker registry containers used for pull-through caching to upstream registries like Docker Hub. It supports sharing registry volumes across different Kubernetes distributions (Kind, K3d) to optimize storage and download times.
Example usage:
// Create a registry manager
dockerClient, err := docker.GetDockerClient()
if err != nil {
return err
}
regMgr, err := docker.NewRegistryManager(dockerClient)
if err != nil {
return err
}
// Create a pull-through cache registry
err = regMgr.CreateRegistry(ctx, docker.RegistryConfig{
Name: "docker-io-mirror",
Port: 5001,
UpstreamURL: "https://registry-1.docker.io",
NetworkName: "kind",
VolumeName: "docker-io-cache",
})
Index ¶
- Constants
- Variables
- func GetDockerClient() (client.APIClient, error)
- func NormalizeVolumeName(registryName string) string
- type MockAPIClient
- func (_mock *MockAPIClient) BuildCachePrune(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)
- func (_mock *MockAPIClient) BuildCancel(ctx context.Context, id string) error
- func (_mock *MockAPIClient) CheckpointCreate(ctx context.Context, container string, options checkpoint.CreateOptions) error
- func (_mock *MockAPIClient) CheckpointDelete(ctx context.Context, container string, options checkpoint.DeleteOptions) error
- func (_mock *MockAPIClient) CheckpointList(ctx context.Context, container string, options checkpoint.ListOptions) ([]checkpoint.Summary, error)
- func (_mock *MockAPIClient) ClientVersion() string
- func (_mock *MockAPIClient) Close() error
- func (_mock *MockAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (swarm.ConfigCreateResponse, error)
- func (_mock *MockAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
- func (_mock *MockAPIClient) ConfigList(ctx context.Context, options swarm.ConfigListOptions) ([]swarm.Config, error)
- func (_mock *MockAPIClient) ConfigRemove(ctx context.Context, id string) error
- func (_mock *MockAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
- func (_mock *MockAPIClient) ContainerAttach(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)
- func (_mock *MockAPIClient) ContainerCommit(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)
- func (_mock *MockAPIClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.CreateResponse, error)
- func (_mock *MockAPIClient) ContainerDiff(ctx context.Context, container1 string) ([]container.FilesystemChange, error)
- func (_mock *MockAPIClient) ContainerExecAttach(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)
- func (_mock *MockAPIClient) ContainerExecCreate(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)
- func (_mock *MockAPIClient) ContainerExecInspect(ctx context.Context, execID string) (container.ExecInspect, error)
- func (_mock *MockAPIClient) ContainerExecResize(ctx context.Context, execID string, options container.ResizeOptions) error
- func (_mock *MockAPIClient) ContainerExecStart(ctx context.Context, execID string, options container.ExecStartOptions) error
- func (_mock *MockAPIClient) ContainerExport(ctx context.Context, container1 string) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ContainerInspect(ctx context.Context, container1 string) (container.InspectResponse, error)
- func (_mock *MockAPIClient) ContainerInspectWithRaw(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)
- func (_mock *MockAPIClient) ContainerKill(ctx context.Context, container1 string, signal string) error
- func (_mock *MockAPIClient) ContainerList(ctx context.Context, options container.ListOptions) ([]container.Summary, error)
- func (_mock *MockAPIClient) ContainerLogs(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ContainerPause(ctx context.Context, container1 string) error
- func (_mock *MockAPIClient) ContainerRemove(ctx context.Context, container1 string, options container.RemoveOptions) error
- func (_mock *MockAPIClient) ContainerRename(ctx context.Context, container1 string, newContainerName string) error
- func (_mock *MockAPIClient) ContainerResize(ctx context.Context, container1 string, options container.ResizeOptions) error
- func (_mock *MockAPIClient) ContainerRestart(ctx context.Context, container1 string, options container.StopOptions) error
- func (_mock *MockAPIClient) ContainerStart(ctx context.Context, container1 string, options container.StartOptions) error
- func (_mock *MockAPIClient) ContainerStatPath(ctx context.Context, container1 string, path string) (container.PathStat, error)
- func (_mock *MockAPIClient) ContainerStats(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)
- func (_mock *MockAPIClient) ContainerStatsOneShot(ctx context.Context, container1 string) (container.StatsResponseReader, error)
- func (_mock *MockAPIClient) ContainerStop(ctx context.Context, container1 string, options container.StopOptions) error
- func (_mock *MockAPIClient) ContainerTop(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)
- func (_mock *MockAPIClient) ContainerUnpause(ctx context.Context, container1 string) error
- func (_mock *MockAPIClient) ContainerUpdate(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)
- func (_mock *MockAPIClient) ContainerWait(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
- func (_mock *MockAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)
- func (_mock *MockAPIClient) CopyFromContainer(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)
- func (_mock *MockAPIClient) CopyToContainer(ctx context.Context, container1 string, path string, content io.Reader, ...) error
- func (_mock *MockAPIClient) DaemonHost() string
- func (_mock *MockAPIClient) DialHijack(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)
- func (_mock *MockAPIClient) Dialer() func(context.Context) (net.Conn, error)
- func (_mock *MockAPIClient) DiskUsage(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)
- func (_mock *MockAPIClient) DistributionInspect(ctx context.Context, image string, encodedRegistryAuth string) (registry.DistributionInspect, error)
- func (_m *MockAPIClient) EXPECT() *MockAPIClient_Expecter
- func (_mock *MockAPIClient) Events(ctx context.Context, options events.ListOptions) (<-chan events.Message, <-chan error)
- func (_mock *MockAPIClient) HTTPClient() *http.Client
- func (_mock *MockAPIClient) ImageBuild(ctx context.Context, context1 io.Reader, options build.ImageBuildOptions) (build.ImageBuildResponse, error)
- func (_mock *MockAPIClient) ImageCreate(ctx context.Context, parentReference string, options image.CreateOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ImageHistory(ctx context.Context, image1 string, ...) ([]image.HistoryResponseItem, error)
- func (_mock *MockAPIClient) ImageImport(ctx context.Context, source image.ImportSource, ref string, ...) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ImageInspect(ctx context.Context, image1 string, ...) (image.InspectResponse, error)
- func (_mock *MockAPIClient) ImageInspectWithRaw(ctx context.Context, image1 string) (image.InspectResponse, []byte, error)
- func (_mock *MockAPIClient) ImageList(ctx context.Context, options image.ListOptions) ([]image.Summary, error)
- func (_mock *MockAPIClient) ImageLoad(ctx context.Context, input io.Reader, ...) (image.LoadResponse, error)
- func (_mock *MockAPIClient) ImagePull(ctx context.Context, ref string, options image.PullOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ImagePush(ctx context.Context, ref string, options image.PushOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ImageRemove(ctx context.Context, image1 string, options image.RemoveOptions) ([]image.DeleteResponse, error)
- func (_mock *MockAPIClient) ImageSave(ctx context.Context, images []string, ...) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ImageSearch(ctx context.Context, term string, options registry.SearchOptions) ([]registry.SearchResult, error)
- func (_mock *MockAPIClient) ImageTag(ctx context.Context, image1 string, ref string) error
- func (_mock *MockAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (image.PruneReport, error)
- func (_mock *MockAPIClient) Info(ctx context.Context) (system.Info, error)
- func (_mock *MockAPIClient) NegotiateAPIVersion(ctx context.Context)
- func (_mock *MockAPIClient) NegotiateAPIVersionPing(ping types.Ping)
- func (_mock *MockAPIClient) NetworkConnect(ctx context.Context, network1 string, container1 string, ...) error
- func (_mock *MockAPIClient) NetworkCreate(ctx context.Context, name string, options network.CreateOptions) (network.CreateResponse, error)
- func (_mock *MockAPIClient) NetworkDisconnect(ctx context.Context, network1 string, container1 string, force bool) error
- func (_mock *MockAPIClient) NetworkInspect(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, error)
- func (_mock *MockAPIClient) NetworkInspectWithRaw(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, []byte, error)
- func (_mock *MockAPIClient) NetworkList(ctx context.Context, options network.ListOptions) ([]network.Summary, error)
- func (_mock *MockAPIClient) NetworkRemove(ctx context.Context, network1 string) error
- func (_mock *MockAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (network.PruneReport, error)
- func (_mock *MockAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
- func (_mock *MockAPIClient) NodeList(ctx context.Context, options swarm.NodeListOptions) ([]swarm.Node, error)
- func (_mock *MockAPIClient) NodeRemove(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions) error
- func (_mock *MockAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
- func (_mock *MockAPIClient) Ping(ctx context.Context) (types.Ping, error)
- func (_mock *MockAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, ...) error
- func (_mock *MockAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
- func (_mock *MockAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
- func (_mock *MockAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
- func (_mock *MockAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
- func (_mock *MockAPIClient) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)
- func (_mock *MockAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
- func (_mock *MockAPIClient) PluginSet(ctx context.Context, name string, args []string) error
- func (_mock *MockAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) RegistryLogin(ctx context.Context, auth registry.AuthConfig) (registry.AuthenticateOKBody, error)
- func (_mock *MockAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (swarm.SecretCreateResponse, error)
- func (_mock *MockAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
- func (_mock *MockAPIClient) SecretList(ctx context.Context, options swarm.SecretListOptions) ([]swarm.Secret, error)
- func (_mock *MockAPIClient) SecretRemove(ctx context.Context, id string) error
- func (_mock *MockAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
- func (_mock *MockAPIClient) ServerVersion(ctx context.Context) (types.Version, error)
- func (_mock *MockAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, ...) (swarm.ServiceCreateResponse, error)
- func (_mock *MockAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options swarm.ServiceInspectOptions) (swarm.Service, []byte, error)
- func (_mock *MockAPIClient) ServiceList(ctx context.Context, options swarm.ServiceListOptions) ([]swarm.Service, error)
- func (_mock *MockAPIClient) ServiceLogs(ctx context.Context, serviceID string, options container.LogsOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
- func (_mock *MockAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, ...) (swarm.ServiceUpdateResponse, error)
- func (_mock *MockAPIClient) SwarmGetUnlockKey(ctx context.Context) (swarm.UnlockKeyResponse, error)
- func (_mock *MockAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
- func (_mock *MockAPIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)
- func (_mock *MockAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
- func (_mock *MockAPIClient) SwarmLeave(ctx context.Context, force bool) error
- func (_mock *MockAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
- func (_mock *MockAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm1 swarm.Spec, ...) error
- func (_mock *MockAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
- func (_mock *MockAPIClient) TaskList(ctx context.Context, options swarm.TaskListOptions) ([]swarm.Task, error)
- func (_mock *MockAPIClient) TaskLogs(ctx context.Context, taskID string, options container.LogsOptions) (io.ReadCloser, error)
- func (_mock *MockAPIClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
- func (_mock *MockAPIClient) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error)
- func (_mock *MockAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (volume.Volume, []byte, error)
- func (_mock *MockAPIClient) VolumeList(ctx context.Context, options volume.ListOptions) (volume.ListResponse, error)
- func (_mock *MockAPIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- func (_mock *MockAPIClient) VolumeUpdate(ctx context.Context, volumeID string, version swarm.Version, ...) error
- func (_mock *MockAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (volume.PruneReport, error)
- type MockAPIClient_BuildCachePrune_Call
- func (_c *MockAPIClient_BuildCachePrune_Call) Return(cachePruneReport *build.CachePruneReport, err error) *MockAPIClient_BuildCachePrune_Call
- func (_c *MockAPIClient_BuildCachePrune_Call) Run(run func(ctx context.Context, opts build.CachePruneOptions)) *MockAPIClient_BuildCachePrune_Call
- func (_c *MockAPIClient_BuildCachePrune_Call) RunAndReturn(...) *MockAPIClient_BuildCachePrune_Call
- type MockAPIClient_BuildCancel_Call
- func (_c *MockAPIClient_BuildCancel_Call) Return(err error) *MockAPIClient_BuildCancel_Call
- func (_c *MockAPIClient_BuildCancel_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_BuildCancel_Call
- func (_c *MockAPIClient_BuildCancel_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_BuildCancel_Call
- type MockAPIClient_CheckpointCreate_Call
- type MockAPIClient_CheckpointDelete_Call
- type MockAPIClient_CheckpointList_Call
- func (_c *MockAPIClient_CheckpointList_Call) Return(summarys []checkpoint.Summary, err error) *MockAPIClient_CheckpointList_Call
- func (_c *MockAPIClient_CheckpointList_Call) Run(...) *MockAPIClient_CheckpointList_Call
- func (_c *MockAPIClient_CheckpointList_Call) RunAndReturn(...) *MockAPIClient_CheckpointList_Call
- type MockAPIClient_ClientVersion_Call
- type MockAPIClient_Close_Call
- type MockAPIClient_ConfigCreate_Call
- func (_c *MockAPIClient_ConfigCreate_Call) Return(configCreateResponse swarm.ConfigCreateResponse, err error) *MockAPIClient_ConfigCreate_Call
- func (_c *MockAPIClient_ConfigCreate_Call) Run(run func(ctx context.Context, config swarm.ConfigSpec)) *MockAPIClient_ConfigCreate_Call
- func (_c *MockAPIClient_ConfigCreate_Call) RunAndReturn(...) *MockAPIClient_ConfigCreate_Call
- type MockAPIClient_ConfigInspectWithRaw_Call
- func (_c *MockAPIClient_ConfigInspectWithRaw_Call) Return(config swarm.Config, bytes []byte, err error) *MockAPIClient_ConfigInspectWithRaw_Call
- func (_c *MockAPIClient_ConfigInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_ConfigInspectWithRaw_Call
- func (_c *MockAPIClient_ConfigInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (swarm.Config, []byte, error)) *MockAPIClient_ConfigInspectWithRaw_Call
- type MockAPIClient_ConfigList_Call
- func (_c *MockAPIClient_ConfigList_Call) Return(configs []swarm.Config, err error) *MockAPIClient_ConfigList_Call
- func (_c *MockAPIClient_ConfigList_Call) Run(run func(ctx context.Context, options swarm.ConfigListOptions)) *MockAPIClient_ConfigList_Call
- func (_c *MockAPIClient_ConfigList_Call) RunAndReturn(...) *MockAPIClient_ConfigList_Call
- type MockAPIClient_ConfigRemove_Call
- func (_c *MockAPIClient_ConfigRemove_Call) Return(err error) *MockAPIClient_ConfigRemove_Call
- func (_c *MockAPIClient_ConfigRemove_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_ConfigRemove_Call
- func (_c *MockAPIClient_ConfigRemove_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_ConfigRemove_Call
- type MockAPIClient_ConfigUpdate_Call
- type MockAPIClient_ContainerAttach_Call
- func (_c *MockAPIClient_ContainerAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockAPIClient_ContainerAttach_Call
- func (_c *MockAPIClient_ContainerAttach_Call) Run(...) *MockAPIClient_ContainerAttach_Call
- func (_c *MockAPIClient_ContainerAttach_Call) RunAndReturn(...) *MockAPIClient_ContainerAttach_Call
- type MockAPIClient_ContainerCommit_Call
- func (_c *MockAPIClient_ContainerCommit_Call) Return(v container.CommitResponse, err error) *MockAPIClient_ContainerCommit_Call
- func (_c *MockAPIClient_ContainerCommit_Call) Run(...) *MockAPIClient_ContainerCommit_Call
- func (_c *MockAPIClient_ContainerCommit_Call) RunAndReturn(...) *MockAPIClient_ContainerCommit_Call
- type MockAPIClient_ContainerCreate_Call
- func (_c *MockAPIClient_ContainerCreate_Call) Return(createResponse container.CreateResponse, err error) *MockAPIClient_ContainerCreate_Call
- func (_c *MockAPIClient_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, ...)) *MockAPIClient_ContainerCreate_Call
- func (_c *MockAPIClient_ContainerCreate_Call) RunAndReturn(...) *MockAPIClient_ContainerCreate_Call
- type MockAPIClient_ContainerDiff_Call
- func (_c *MockAPIClient_ContainerDiff_Call) Return(filesystemChanges []container.FilesystemChange, err error) *MockAPIClient_ContainerDiff_Call
- func (_c *MockAPIClient_ContainerDiff_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerDiff_Call
- func (_c *MockAPIClient_ContainerDiff_Call) RunAndReturn(...) *MockAPIClient_ContainerDiff_Call
- type MockAPIClient_ContainerExecAttach_Call
- func (_c *MockAPIClient_ContainerExecAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockAPIClient_ContainerExecAttach_Call
- func (_c *MockAPIClient_ContainerExecAttach_Call) Run(...) *MockAPIClient_ContainerExecAttach_Call
- func (_c *MockAPIClient_ContainerExecAttach_Call) RunAndReturn(...) *MockAPIClient_ContainerExecAttach_Call
- type MockAPIClient_ContainerExecCreate_Call
- func (_c *MockAPIClient_ContainerExecCreate_Call) Return(v container.ExecCreateResponse, err error) *MockAPIClient_ContainerExecCreate_Call
- func (_c *MockAPIClient_ContainerExecCreate_Call) Run(...) *MockAPIClient_ContainerExecCreate_Call
- func (_c *MockAPIClient_ContainerExecCreate_Call) RunAndReturn(...) *MockAPIClient_ContainerExecCreate_Call
- type MockAPIClient_ContainerExecInspect_Call
- func (_c *MockAPIClient_ContainerExecInspect_Call) Return(execInspect container.ExecInspect, err error) *MockAPIClient_ContainerExecInspect_Call
- func (_c *MockAPIClient_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *MockAPIClient_ContainerExecInspect_Call
- func (_c *MockAPIClient_ContainerExecInspect_Call) RunAndReturn(run func(ctx context.Context, execID string) (container.ExecInspect, error)) *MockAPIClient_ContainerExecInspect_Call
- type MockAPIClient_ContainerExecResize_Call
- func (_c *MockAPIClient_ContainerExecResize_Call) Return(err error) *MockAPIClient_ContainerExecResize_Call
- func (_c *MockAPIClient_ContainerExecResize_Call) Run(run func(ctx context.Context, execID string, options container.ResizeOptions)) *MockAPIClient_ContainerExecResize_Call
- func (_c *MockAPIClient_ContainerExecResize_Call) RunAndReturn(...) *MockAPIClient_ContainerExecResize_Call
- type MockAPIClient_ContainerExecStart_Call
- func (_c *MockAPIClient_ContainerExecStart_Call) Return(err error) *MockAPIClient_ContainerExecStart_Call
- func (_c *MockAPIClient_ContainerExecStart_Call) Run(...) *MockAPIClient_ContainerExecStart_Call
- func (_c *MockAPIClient_ContainerExecStart_Call) RunAndReturn(...) *MockAPIClient_ContainerExecStart_Call
- type MockAPIClient_ContainerExport_Call
- func (_c *MockAPIClient_ContainerExport_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ContainerExport_Call
- func (_c *MockAPIClient_ContainerExport_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerExport_Call
- func (_c *MockAPIClient_ContainerExport_Call) RunAndReturn(run func(ctx context.Context, container1 string) (io.ReadCloser, error)) *MockAPIClient_ContainerExport_Call
- type MockAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockAPIClient_ContainerInspectWithRaw_Call) Return(inspectResponse container.InspectResponse, bytes []byte, err error) *MockAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockAPIClient_ContainerInspectWithRaw_Call) Run(run func(ctx context.Context, container1 string, getSize bool)) *MockAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockAPIClient_ContainerInspectWithRaw_Call) RunAndReturn(...) *MockAPIClient_ContainerInspectWithRaw_Call
- type MockAPIClient_ContainerInspect_Call
- func (_c *MockAPIClient_ContainerInspect_Call) Return(inspectResponse container.InspectResponse, err error) *MockAPIClient_ContainerInspect_Call
- func (_c *MockAPIClient_ContainerInspect_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerInspect_Call
- func (_c *MockAPIClient_ContainerInspect_Call) RunAndReturn(...) *MockAPIClient_ContainerInspect_Call
- type MockAPIClient_ContainerKill_Call
- func (_c *MockAPIClient_ContainerKill_Call) Return(err error) *MockAPIClient_ContainerKill_Call
- func (_c *MockAPIClient_ContainerKill_Call) Run(run func(ctx context.Context, container1 string, signal string)) *MockAPIClient_ContainerKill_Call
- func (_c *MockAPIClient_ContainerKill_Call) RunAndReturn(run func(ctx context.Context, container1 string, signal string) error) *MockAPIClient_ContainerKill_Call
- type MockAPIClient_ContainerList_Call
- func (_c *MockAPIClient_ContainerList_Call) Return(summarys []container.Summary, err error) *MockAPIClient_ContainerList_Call
- func (_c *MockAPIClient_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *MockAPIClient_ContainerList_Call
- func (_c *MockAPIClient_ContainerList_Call) RunAndReturn(...) *MockAPIClient_ContainerList_Call
- type MockAPIClient_ContainerLogs_Call
- func (_c *MockAPIClient_ContainerLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ContainerLogs_Call
- func (_c *MockAPIClient_ContainerLogs_Call) Run(...) *MockAPIClient_ContainerLogs_Call
- func (_c *MockAPIClient_ContainerLogs_Call) RunAndReturn(...) *MockAPIClient_ContainerLogs_Call
- type MockAPIClient_ContainerPause_Call
- func (_c *MockAPIClient_ContainerPause_Call) Return(err error) *MockAPIClient_ContainerPause_Call
- func (_c *MockAPIClient_ContainerPause_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerPause_Call
- func (_c *MockAPIClient_ContainerPause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockAPIClient_ContainerPause_Call
- type MockAPIClient_ContainerRemove_Call
- type MockAPIClient_ContainerRename_Call
- func (_c *MockAPIClient_ContainerRename_Call) Return(err error) *MockAPIClient_ContainerRename_Call
- func (_c *MockAPIClient_ContainerRename_Call) Run(run func(ctx context.Context, container1 string, newContainerName string)) *MockAPIClient_ContainerRename_Call
- func (_c *MockAPIClient_ContainerRename_Call) RunAndReturn(...) *MockAPIClient_ContainerRename_Call
- type MockAPIClient_ContainerResize_Call
- type MockAPIClient_ContainerRestart_Call
- type MockAPIClient_ContainerStart_Call
- type MockAPIClient_ContainerStatPath_Call
- func (_c *MockAPIClient_ContainerStatPath_Call) Return(pathStat container.PathStat, err error) *MockAPIClient_ContainerStatPath_Call
- func (_c *MockAPIClient_ContainerStatPath_Call) Run(run func(ctx context.Context, container1 string, path string)) *MockAPIClient_ContainerStatPath_Call
- func (_c *MockAPIClient_ContainerStatPath_Call) RunAndReturn(...) *MockAPIClient_ContainerStatPath_Call
- type MockAPIClient_ContainerStatsOneShot_Call
- func (_c *MockAPIClient_ContainerStatsOneShot_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockAPIClient_ContainerStatsOneShot_Call
- func (_c *MockAPIClient_ContainerStatsOneShot_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerStatsOneShot_Call
- func (_c *MockAPIClient_ContainerStatsOneShot_Call) RunAndReturn(...) *MockAPIClient_ContainerStatsOneShot_Call
- type MockAPIClient_ContainerStats_Call
- func (_c *MockAPIClient_ContainerStats_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockAPIClient_ContainerStats_Call
- func (_c *MockAPIClient_ContainerStats_Call) Run(run func(ctx context.Context, container1 string, stream bool)) *MockAPIClient_ContainerStats_Call
- func (_c *MockAPIClient_ContainerStats_Call) RunAndReturn(...) *MockAPIClient_ContainerStats_Call
- type MockAPIClient_ContainerStop_Call
- type MockAPIClient_ContainerTop_Call
- func (_c *MockAPIClient_ContainerTop_Call) Return(topResponse container.TopResponse, err error) *MockAPIClient_ContainerTop_Call
- func (_c *MockAPIClient_ContainerTop_Call) Run(run func(ctx context.Context, container1 string, arguments []string)) *MockAPIClient_ContainerTop_Call
- func (_c *MockAPIClient_ContainerTop_Call) RunAndReturn(...) *MockAPIClient_ContainerTop_Call
- type MockAPIClient_ContainerUnpause_Call
- func (_c *MockAPIClient_ContainerUnpause_Call) Return(err error) *MockAPIClient_ContainerUnpause_Call
- func (_c *MockAPIClient_ContainerUnpause_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerUnpause_Call
- func (_c *MockAPIClient_ContainerUnpause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockAPIClient_ContainerUnpause_Call
- type MockAPIClient_ContainerUpdate_Call
- func (_c *MockAPIClient_ContainerUpdate_Call) Return(updateResponse container.UpdateResponse, err error) *MockAPIClient_ContainerUpdate_Call
- func (_c *MockAPIClient_ContainerUpdate_Call) Run(...) *MockAPIClient_ContainerUpdate_Call
- func (_c *MockAPIClient_ContainerUpdate_Call) RunAndReturn(...) *MockAPIClient_ContainerUpdate_Call
- type MockAPIClient_ContainerWait_Call
- func (_c *MockAPIClient_ContainerWait_Call) Return(waitResponseCh <-chan container.WaitResponse, errCh <-chan error) *MockAPIClient_ContainerWait_Call
- func (_c *MockAPIClient_ContainerWait_Call) Run(...) *MockAPIClient_ContainerWait_Call
- func (_c *MockAPIClient_ContainerWait_Call) RunAndReturn(...) *MockAPIClient_ContainerWait_Call
- type MockAPIClient_ContainersPrune_Call
- func (_c *MockAPIClient_ContainersPrune_Call) Return(pruneReport container.PruneReport, err error) *MockAPIClient_ContainersPrune_Call
- func (_c *MockAPIClient_ContainersPrune_Call) Run(run func(ctx context.Context, pruneFilters filters.Args)) *MockAPIClient_ContainersPrune_Call
- func (_c *MockAPIClient_ContainersPrune_Call) RunAndReturn(...) *MockAPIClient_ContainersPrune_Call
- type MockAPIClient_CopyFromContainer_Call
- func (_c *MockAPIClient_CopyFromContainer_Call) Return(readCloser io.ReadCloser, pathStat container.PathStat, err error) *MockAPIClient_CopyFromContainer_Call
- func (_c *MockAPIClient_CopyFromContainer_Call) Run(run func(ctx context.Context, container1 string, srcPath string)) *MockAPIClient_CopyFromContainer_Call
- func (_c *MockAPIClient_CopyFromContainer_Call) RunAndReturn(...) *MockAPIClient_CopyFromContainer_Call
- type MockAPIClient_CopyToContainer_Call
- type MockAPIClient_DaemonHost_Call
- type MockAPIClient_DialHijack_Call
- type MockAPIClient_Dialer_Call
- func (_c *MockAPIClient_Dialer_Call) Return(fn func(context.Context) (net.Conn, error)) *MockAPIClient_Dialer_Call
- func (_c *MockAPIClient_Dialer_Call) Run(run func()) *MockAPIClient_Dialer_Call
- func (_c *MockAPIClient_Dialer_Call) RunAndReturn(run func() func(context.Context) (net.Conn, error)) *MockAPIClient_Dialer_Call
- type MockAPIClient_DiskUsage_Call
- func (_c *MockAPIClient_DiskUsage_Call) Return(diskUsage types.DiskUsage, err error) *MockAPIClient_DiskUsage_Call
- func (_c *MockAPIClient_DiskUsage_Call) Run(run func(ctx context.Context, options types.DiskUsageOptions)) *MockAPIClient_DiskUsage_Call
- func (_c *MockAPIClient_DiskUsage_Call) RunAndReturn(...) *MockAPIClient_DiskUsage_Call
- type MockAPIClient_DistributionInspect_Call
- func (_c *MockAPIClient_DistributionInspect_Call) Return(distributionInspect registry.DistributionInspect, err error) *MockAPIClient_DistributionInspect_Call
- func (_c *MockAPIClient_DistributionInspect_Call) Run(run func(ctx context.Context, image string, encodedRegistryAuth string)) *MockAPIClient_DistributionInspect_Call
- func (_c *MockAPIClient_DistributionInspect_Call) RunAndReturn(...) *MockAPIClient_DistributionInspect_Call
- type MockAPIClient_Events_Call
- func (_c *MockAPIClient_Events_Call) Return(messageCh <-chan events.Message, errCh <-chan error) *MockAPIClient_Events_Call
- func (_c *MockAPIClient_Events_Call) Run(run func(ctx context.Context, options events.ListOptions)) *MockAPIClient_Events_Call
- func (_c *MockAPIClient_Events_Call) RunAndReturn(...) *MockAPIClient_Events_Call
- type MockAPIClient_Expecter
- func (_e *MockAPIClient_Expecter) BuildCachePrune(ctx interface{}, opts interface{}) *MockAPIClient_BuildCachePrune_Call
- func (_e *MockAPIClient_Expecter) BuildCancel(ctx interface{}, id interface{}) *MockAPIClient_BuildCancel_Call
- func (_e *MockAPIClient_Expecter) CheckpointCreate(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointCreate_Call
- func (_e *MockAPIClient_Expecter) CheckpointDelete(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointDelete_Call
- func (_e *MockAPIClient_Expecter) CheckpointList(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointList_Call
- func (_e *MockAPIClient_Expecter) ClientVersion() *MockAPIClient_ClientVersion_Call
- func (_e *MockAPIClient_Expecter) Close() *MockAPIClient_Close_Call
- func (_e *MockAPIClient_Expecter) ConfigCreate(ctx interface{}, config interface{}) *MockAPIClient_ConfigCreate_Call
- func (_e *MockAPIClient_Expecter) ConfigInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_ConfigInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) ConfigList(ctx interface{}, options interface{}) *MockAPIClient_ConfigList_Call
- func (_e *MockAPIClient_Expecter) ConfigRemove(ctx interface{}, id interface{}) *MockAPIClient_ConfigRemove_Call
- func (_e *MockAPIClient_Expecter) ConfigUpdate(ctx interface{}, id interface{}, version interface{}, config interface{}) *MockAPIClient_ConfigUpdate_Call
- func (_e *MockAPIClient_Expecter) ContainerAttach(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerAttach_Call
- func (_e *MockAPIClient_Expecter) ContainerCommit(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerCommit_Call
- func (_e *MockAPIClient_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, ...) *MockAPIClient_ContainerCreate_Call
- func (_e *MockAPIClient_Expecter) ContainerDiff(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerDiff_Call
- func (_e *MockAPIClient_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecAttach_Call
- func (_e *MockAPIClient_Expecter) ContainerExecCreate(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerExecCreate_Call
- func (_e *MockAPIClient_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *MockAPIClient_ContainerExecInspect_Call
- func (_e *MockAPIClient_Expecter) ContainerExecResize(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecResize_Call
- func (_e *MockAPIClient_Expecter) ContainerExecStart(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecStart_Call
- func (_e *MockAPIClient_Expecter) ContainerExport(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerExport_Call
- func (_e *MockAPIClient_Expecter) ContainerInspect(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerInspect_Call
- func (_e *MockAPIClient_Expecter) ContainerInspectWithRaw(ctx interface{}, container1 interface{}, getSize interface{}) *MockAPIClient_ContainerInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) ContainerKill(ctx interface{}, container1 interface{}, signal interface{}) *MockAPIClient_ContainerKill_Call
- func (_e *MockAPIClient_Expecter) ContainerList(ctx interface{}, options interface{}) *MockAPIClient_ContainerList_Call
- func (_e *MockAPIClient_Expecter) ContainerLogs(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerLogs_Call
- func (_e *MockAPIClient_Expecter) ContainerPause(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerPause_Call
- func (_e *MockAPIClient_Expecter) ContainerRemove(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerRemove_Call
- func (_e *MockAPIClient_Expecter) ContainerRename(ctx interface{}, container1 interface{}, newContainerName interface{}) *MockAPIClient_ContainerRename_Call
- func (_e *MockAPIClient_Expecter) ContainerResize(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerResize_Call
- func (_e *MockAPIClient_Expecter) ContainerRestart(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerRestart_Call
- func (_e *MockAPIClient_Expecter) ContainerStart(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerStart_Call
- func (_e *MockAPIClient_Expecter) ContainerStatPath(ctx interface{}, container1 interface{}, path interface{}) *MockAPIClient_ContainerStatPath_Call
- func (_e *MockAPIClient_Expecter) ContainerStats(ctx interface{}, container1 interface{}, stream interface{}) *MockAPIClient_ContainerStats_Call
- func (_e *MockAPIClient_Expecter) ContainerStatsOneShot(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerStatsOneShot_Call
- func (_e *MockAPIClient_Expecter) ContainerStop(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerStop_Call
- func (_e *MockAPIClient_Expecter) ContainerTop(ctx interface{}, container1 interface{}, arguments interface{}) *MockAPIClient_ContainerTop_Call
- func (_e *MockAPIClient_Expecter) ContainerUnpause(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerUnpause_Call
- func (_e *MockAPIClient_Expecter) ContainerUpdate(ctx interface{}, container1 interface{}, updateConfig interface{}) *MockAPIClient_ContainerUpdate_Call
- func (_e *MockAPIClient_Expecter) ContainerWait(ctx interface{}, container1 interface{}, condition interface{}) *MockAPIClient_ContainerWait_Call
- func (_e *MockAPIClient_Expecter) ContainersPrune(ctx interface{}, pruneFilters interface{}) *MockAPIClient_ContainersPrune_Call
- func (_e *MockAPIClient_Expecter) CopyFromContainer(ctx interface{}, container1 interface{}, srcPath interface{}) *MockAPIClient_CopyFromContainer_Call
- func (_e *MockAPIClient_Expecter) CopyToContainer(ctx interface{}, container1 interface{}, path interface{}, content interface{}, ...) *MockAPIClient_CopyToContainer_Call
- func (_e *MockAPIClient_Expecter) DaemonHost() *MockAPIClient_DaemonHost_Call
- func (_e *MockAPIClient_Expecter) DialHijack(ctx interface{}, url interface{}, proto interface{}, meta interface{}) *MockAPIClient_DialHijack_Call
- func (_e *MockAPIClient_Expecter) Dialer() *MockAPIClient_Dialer_Call
- func (_e *MockAPIClient_Expecter) DiskUsage(ctx interface{}, options interface{}) *MockAPIClient_DiskUsage_Call
- func (_e *MockAPIClient_Expecter) DistributionInspect(ctx interface{}, image interface{}, encodedRegistryAuth interface{}) *MockAPIClient_DistributionInspect_Call
- func (_e *MockAPIClient_Expecter) Events(ctx interface{}, options interface{}) *MockAPIClient_Events_Call
- func (_e *MockAPIClient_Expecter) HTTPClient() *MockAPIClient_HTTPClient_Call
- func (_e *MockAPIClient_Expecter) ImageBuild(ctx interface{}, context1 interface{}, options interface{}) *MockAPIClient_ImageBuild_Call
- func (_e *MockAPIClient_Expecter) ImageCreate(ctx interface{}, parentReference interface{}, options interface{}) *MockAPIClient_ImageCreate_Call
- func (_e *MockAPIClient_Expecter) ImageHistory(ctx interface{}, image1 interface{}, imageHistoryOptions ...interface{}) *MockAPIClient_ImageHistory_Call
- func (_e *MockAPIClient_Expecter) ImageImport(ctx interface{}, source interface{}, ref interface{}, options interface{}) *MockAPIClient_ImageImport_Call
- func (_e *MockAPIClient_Expecter) ImageInspect(ctx interface{}, image1 interface{}, imageInspectOptions ...interface{}) *MockAPIClient_ImageInspect_Call
- func (_e *MockAPIClient_Expecter) ImageInspectWithRaw(ctx interface{}, image1 interface{}) *MockAPIClient_ImageInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) ImageList(ctx interface{}, options interface{}) *MockAPIClient_ImageList_Call
- func (_e *MockAPIClient_Expecter) ImageLoad(ctx interface{}, input interface{}, imageLoadOptions ...interface{}) *MockAPIClient_ImageLoad_Call
- func (_e *MockAPIClient_Expecter) ImagePull(ctx interface{}, ref interface{}, options interface{}) *MockAPIClient_ImagePull_Call
- func (_e *MockAPIClient_Expecter) ImagePush(ctx interface{}, ref interface{}, options interface{}) *MockAPIClient_ImagePush_Call
- func (_e *MockAPIClient_Expecter) ImageRemove(ctx interface{}, image1 interface{}, options interface{}) *MockAPIClient_ImageRemove_Call
- func (_e *MockAPIClient_Expecter) ImageSave(ctx interface{}, images interface{}, imageSaveOptions ...interface{}) *MockAPIClient_ImageSave_Call
- func (_e *MockAPIClient_Expecter) ImageSearch(ctx interface{}, term interface{}, options interface{}) *MockAPIClient_ImageSearch_Call
- func (_e *MockAPIClient_Expecter) ImageTag(ctx interface{}, image1 interface{}, ref interface{}) *MockAPIClient_ImageTag_Call
- func (_e *MockAPIClient_Expecter) ImagesPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_ImagesPrune_Call
- func (_e *MockAPIClient_Expecter) Info(ctx interface{}) *MockAPIClient_Info_Call
- func (_e *MockAPIClient_Expecter) NegotiateAPIVersion(ctx interface{}) *MockAPIClient_NegotiateAPIVersion_Call
- func (_e *MockAPIClient_Expecter) NegotiateAPIVersionPing(ping interface{}) *MockAPIClient_NegotiateAPIVersionPing_Call
- func (_e *MockAPIClient_Expecter) NetworkConnect(ctx interface{}, network1 interface{}, container1 interface{}, ...) *MockAPIClient_NetworkConnect_Call
- func (_e *MockAPIClient_Expecter) NetworkCreate(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_NetworkCreate_Call
- func (_e *MockAPIClient_Expecter) NetworkDisconnect(ctx interface{}, network1 interface{}, container1 interface{}, ...) *MockAPIClient_NetworkDisconnect_Call
- func (_e *MockAPIClient_Expecter) NetworkInspect(ctx interface{}, network1 interface{}, options interface{}) *MockAPIClient_NetworkInspect_Call
- func (_e *MockAPIClient_Expecter) NetworkInspectWithRaw(ctx interface{}, network1 interface{}, options interface{}) *MockAPIClient_NetworkInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) NetworkList(ctx interface{}, options interface{}) *MockAPIClient_NetworkList_Call
- func (_e *MockAPIClient_Expecter) NetworkRemove(ctx interface{}, network1 interface{}) *MockAPIClient_NetworkRemove_Call
- func (_e *MockAPIClient_Expecter) NetworksPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_NetworksPrune_Call
- func (_e *MockAPIClient_Expecter) NodeInspectWithRaw(ctx interface{}, nodeID interface{}) *MockAPIClient_NodeInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) NodeList(ctx interface{}, options interface{}) *MockAPIClient_NodeList_Call
- func (_e *MockAPIClient_Expecter) NodeRemove(ctx interface{}, nodeID interface{}, options interface{}) *MockAPIClient_NodeRemove_Call
- func (_e *MockAPIClient_Expecter) NodeUpdate(ctx interface{}, nodeID interface{}, version interface{}, node interface{}) *MockAPIClient_NodeUpdate_Call
- func (_e *MockAPIClient_Expecter) Ping(ctx interface{}) *MockAPIClient_Ping_Call
- func (_e *MockAPIClient_Expecter) PluginCreate(ctx interface{}, createContext interface{}, options interface{}) *MockAPIClient_PluginCreate_Call
- func (_e *MockAPIClient_Expecter) PluginDisable(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginDisable_Call
- func (_e *MockAPIClient_Expecter) PluginEnable(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginEnable_Call
- func (_e *MockAPIClient_Expecter) PluginInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_PluginInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) PluginInstall(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginInstall_Call
- func (_e *MockAPIClient_Expecter) PluginList(ctx interface{}, filter interface{}) *MockAPIClient_PluginList_Call
- func (_e *MockAPIClient_Expecter) PluginPush(ctx interface{}, name interface{}, registryAuth interface{}) *MockAPIClient_PluginPush_Call
- func (_e *MockAPIClient_Expecter) PluginRemove(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginRemove_Call
- func (_e *MockAPIClient_Expecter) PluginSet(ctx interface{}, name interface{}, args interface{}) *MockAPIClient_PluginSet_Call
- func (_e *MockAPIClient_Expecter) PluginUpgrade(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginUpgrade_Call
- func (_e *MockAPIClient_Expecter) RegistryLogin(ctx interface{}, auth interface{}) *MockAPIClient_RegistryLogin_Call
- func (_e *MockAPIClient_Expecter) SecretCreate(ctx interface{}, secret interface{}) *MockAPIClient_SecretCreate_Call
- func (_e *MockAPIClient_Expecter) SecretInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_SecretInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) SecretList(ctx interface{}, options interface{}) *MockAPIClient_SecretList_Call
- func (_e *MockAPIClient_Expecter) SecretRemove(ctx interface{}, id interface{}) *MockAPIClient_SecretRemove_Call
- func (_e *MockAPIClient_Expecter) SecretUpdate(ctx interface{}, id interface{}, version interface{}, secret interface{}) *MockAPIClient_SecretUpdate_Call
- func (_e *MockAPIClient_Expecter) ServerVersion(ctx interface{}) *MockAPIClient_ServerVersion_Call
- func (_e *MockAPIClient_Expecter) ServiceCreate(ctx interface{}, service interface{}, options interface{}) *MockAPIClient_ServiceCreate_Call
- func (_e *MockAPIClient_Expecter) ServiceInspectWithRaw(ctx interface{}, serviceID interface{}, options interface{}) *MockAPIClient_ServiceInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) ServiceList(ctx interface{}, options interface{}) *MockAPIClient_ServiceList_Call
- func (_e *MockAPIClient_Expecter) ServiceLogs(ctx interface{}, serviceID interface{}, options interface{}) *MockAPIClient_ServiceLogs_Call
- func (_e *MockAPIClient_Expecter) ServiceRemove(ctx interface{}, serviceID interface{}) *MockAPIClient_ServiceRemove_Call
- func (_e *MockAPIClient_Expecter) ServiceUpdate(ctx interface{}, serviceID interface{}, version interface{}, ...) *MockAPIClient_ServiceUpdate_Call
- func (_e *MockAPIClient_Expecter) SwarmGetUnlockKey(ctx interface{}) *MockAPIClient_SwarmGetUnlockKey_Call
- func (_e *MockAPIClient_Expecter) SwarmInit(ctx interface{}, req interface{}) *MockAPIClient_SwarmInit_Call
- func (_e *MockAPIClient_Expecter) SwarmInspect(ctx interface{}) *MockAPIClient_SwarmInspect_Call
- func (_e *MockAPIClient_Expecter) SwarmJoin(ctx interface{}, req interface{}) *MockAPIClient_SwarmJoin_Call
- func (_e *MockAPIClient_Expecter) SwarmLeave(ctx interface{}, force interface{}) *MockAPIClient_SwarmLeave_Call
- func (_e *MockAPIClient_Expecter) SwarmUnlock(ctx interface{}, req interface{}) *MockAPIClient_SwarmUnlock_Call
- func (_e *MockAPIClient_Expecter) SwarmUpdate(ctx interface{}, version interface{}, swarm1 interface{}, flags interface{}) *MockAPIClient_SwarmUpdate_Call
- func (_e *MockAPIClient_Expecter) TaskInspectWithRaw(ctx interface{}, taskID interface{}) *MockAPIClient_TaskInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) TaskList(ctx interface{}, options interface{}) *MockAPIClient_TaskList_Call
- func (_e *MockAPIClient_Expecter) TaskLogs(ctx interface{}, taskID interface{}, options interface{}) *MockAPIClient_TaskLogs_Call
- func (_e *MockAPIClient_Expecter) VolumeCreate(ctx interface{}, options interface{}) *MockAPIClient_VolumeCreate_Call
- func (_e *MockAPIClient_Expecter) VolumeInspect(ctx interface{}, volumeID interface{}) *MockAPIClient_VolumeInspect_Call
- func (_e *MockAPIClient_Expecter) VolumeInspectWithRaw(ctx interface{}, volumeID interface{}) *MockAPIClient_VolumeInspectWithRaw_Call
- func (_e *MockAPIClient_Expecter) VolumeList(ctx interface{}, options interface{}) *MockAPIClient_VolumeList_Call
- func (_e *MockAPIClient_Expecter) VolumeRemove(ctx interface{}, volumeID interface{}, force interface{}) *MockAPIClient_VolumeRemove_Call
- func (_e *MockAPIClient_Expecter) VolumeUpdate(ctx interface{}, volumeID interface{}, version interface{}, ...) *MockAPIClient_VolumeUpdate_Call
- func (_e *MockAPIClient_Expecter) VolumesPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_VolumesPrune_Call
- type MockAPIClient_HTTPClient_Call
- type MockAPIClient_ImageBuild_Call
- func (_c *MockAPIClient_ImageBuild_Call) Return(imageBuildResponse build.ImageBuildResponse, err error) *MockAPIClient_ImageBuild_Call
- func (_c *MockAPIClient_ImageBuild_Call) Run(...) *MockAPIClient_ImageBuild_Call
- func (_c *MockAPIClient_ImageBuild_Call) RunAndReturn(...) *MockAPIClient_ImageBuild_Call
- type MockAPIClient_ImageCreate_Call
- type MockAPIClient_ImageHistory_Call
- func (_c *MockAPIClient_ImageHistory_Call) Return(historyResponseItems []image.HistoryResponseItem, err error) *MockAPIClient_ImageHistory_Call
- func (_c *MockAPIClient_ImageHistory_Call) Run(run func(ctx context.Context, image1 string, ...)) *MockAPIClient_ImageHistory_Call
- func (_c *MockAPIClient_ImageHistory_Call) RunAndReturn(...) *MockAPIClient_ImageHistory_Call
- type MockAPIClient_ImageImport_Call
- func (_c *MockAPIClient_ImageImport_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImageImport_Call
- func (_c *MockAPIClient_ImageImport_Call) Run(run func(ctx context.Context, source image.ImportSource, ref string, ...)) *MockAPIClient_ImageImport_Call
- func (_c *MockAPIClient_ImageImport_Call) RunAndReturn(...) *MockAPIClient_ImageImport_Call
- type MockAPIClient_ImageInspectWithRaw_Call
- func (_c *MockAPIClient_ImageInspectWithRaw_Call) Return(inspectResponse image.InspectResponse, bytes []byte, err error) *MockAPIClient_ImageInspectWithRaw_Call
- func (_c *MockAPIClient_ImageInspectWithRaw_Call) Run(run func(ctx context.Context, image1 string)) *MockAPIClient_ImageInspectWithRaw_Call
- func (_c *MockAPIClient_ImageInspectWithRaw_Call) RunAndReturn(...) *MockAPIClient_ImageInspectWithRaw_Call
- type MockAPIClient_ImageInspect_Call
- func (_c *MockAPIClient_ImageInspect_Call) Return(inspectResponse image.InspectResponse, err error) *MockAPIClient_ImageInspect_Call
- func (_c *MockAPIClient_ImageInspect_Call) Run(run func(ctx context.Context, image1 string, ...)) *MockAPIClient_ImageInspect_Call
- func (_c *MockAPIClient_ImageInspect_Call) RunAndReturn(...) *MockAPIClient_ImageInspect_Call
- type MockAPIClient_ImageList_Call
- func (_c *MockAPIClient_ImageList_Call) Return(summarys []image.Summary, err error) *MockAPIClient_ImageList_Call
- func (_c *MockAPIClient_ImageList_Call) Run(run func(ctx context.Context, options image.ListOptions)) *MockAPIClient_ImageList_Call
- func (_c *MockAPIClient_ImageList_Call) RunAndReturn(...) *MockAPIClient_ImageList_Call
- type MockAPIClient_ImageLoad_Call
- func (_c *MockAPIClient_ImageLoad_Call) Return(loadResponse image.LoadResponse, err error) *MockAPIClient_ImageLoad_Call
- func (_c *MockAPIClient_ImageLoad_Call) Run(run func(ctx context.Context, input io.Reader, ...)) *MockAPIClient_ImageLoad_Call
- func (_c *MockAPIClient_ImageLoad_Call) RunAndReturn(...) *MockAPIClient_ImageLoad_Call
- type MockAPIClient_ImagePull_Call
- func (_c *MockAPIClient_ImagePull_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImagePull_Call
- func (_c *MockAPIClient_ImagePull_Call) Run(run func(ctx context.Context, ref string, options image.PullOptions)) *MockAPIClient_ImagePull_Call
- func (_c *MockAPIClient_ImagePull_Call) RunAndReturn(...) *MockAPIClient_ImagePull_Call
- type MockAPIClient_ImagePush_Call
- func (_c *MockAPIClient_ImagePush_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImagePush_Call
- func (_c *MockAPIClient_ImagePush_Call) Run(run func(ctx context.Context, ref string, options image.PushOptions)) *MockAPIClient_ImagePush_Call
- func (_c *MockAPIClient_ImagePush_Call) RunAndReturn(...) *MockAPIClient_ImagePush_Call
- type MockAPIClient_ImageRemove_Call
- func (_c *MockAPIClient_ImageRemove_Call) Return(deleteResponses []image.DeleteResponse, err error) *MockAPIClient_ImageRemove_Call
- func (_c *MockAPIClient_ImageRemove_Call) Run(run func(ctx context.Context, image1 string, options image.RemoveOptions)) *MockAPIClient_ImageRemove_Call
- func (_c *MockAPIClient_ImageRemove_Call) RunAndReturn(...) *MockAPIClient_ImageRemove_Call
- type MockAPIClient_ImageSave_Call
- func (_c *MockAPIClient_ImageSave_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImageSave_Call
- func (_c *MockAPIClient_ImageSave_Call) Run(run func(ctx context.Context, images []string, ...)) *MockAPIClient_ImageSave_Call
- func (_c *MockAPIClient_ImageSave_Call) RunAndReturn(run func(ctx context.Context, images []string, ...) (io.ReadCloser, error)) *MockAPIClient_ImageSave_Call
- type MockAPIClient_ImageSearch_Call
- func (_c *MockAPIClient_ImageSearch_Call) Return(searchResults []registry.SearchResult, err error) *MockAPIClient_ImageSearch_Call
- func (_c *MockAPIClient_ImageSearch_Call) Run(run func(ctx context.Context, term string, options registry.SearchOptions)) *MockAPIClient_ImageSearch_Call
- func (_c *MockAPIClient_ImageSearch_Call) RunAndReturn(...) *MockAPIClient_ImageSearch_Call
- type MockAPIClient_ImageTag_Call
- func (_c *MockAPIClient_ImageTag_Call) Return(err error) *MockAPIClient_ImageTag_Call
- func (_c *MockAPIClient_ImageTag_Call) Run(run func(ctx context.Context, image1 string, ref string)) *MockAPIClient_ImageTag_Call
- func (_c *MockAPIClient_ImageTag_Call) RunAndReturn(run func(ctx context.Context, image1 string, ref string) error) *MockAPIClient_ImageTag_Call
- type MockAPIClient_ImagesPrune_Call
- func (_c *MockAPIClient_ImagesPrune_Call) Return(pruneReport image.PruneReport, err error) *MockAPIClient_ImagesPrune_Call
- func (_c *MockAPIClient_ImagesPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_ImagesPrune_Call
- func (_c *MockAPIClient_ImagesPrune_Call) RunAndReturn(...) *MockAPIClient_ImagesPrune_Call
- type MockAPIClient_Info_Call
- func (_c *MockAPIClient_Info_Call) Return(info system.Info, err error) *MockAPIClient_Info_Call
- func (_c *MockAPIClient_Info_Call) Run(run func(ctx context.Context)) *MockAPIClient_Info_Call
- func (_c *MockAPIClient_Info_Call) RunAndReturn(run func(ctx context.Context) (system.Info, error)) *MockAPIClient_Info_Call
- type MockAPIClient_NegotiateAPIVersionPing_Call
- func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) Return() *MockAPIClient_NegotiateAPIVersionPing_Call
- func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) Run(run func(ping types.Ping)) *MockAPIClient_NegotiateAPIVersionPing_Call
- func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) RunAndReturn(run func(ping types.Ping)) *MockAPIClient_NegotiateAPIVersionPing_Call
- type MockAPIClient_NegotiateAPIVersion_Call
- func (_c *MockAPIClient_NegotiateAPIVersion_Call) Return() *MockAPIClient_NegotiateAPIVersion_Call
- func (_c *MockAPIClient_NegotiateAPIVersion_Call) Run(run func(ctx context.Context)) *MockAPIClient_NegotiateAPIVersion_Call
- func (_c *MockAPIClient_NegotiateAPIVersion_Call) RunAndReturn(run func(ctx context.Context)) *MockAPIClient_NegotiateAPIVersion_Call
- type MockAPIClient_NetworkConnect_Call
- func (_c *MockAPIClient_NetworkConnect_Call) Return(err error) *MockAPIClient_NetworkConnect_Call
- func (_c *MockAPIClient_NetworkConnect_Call) Run(run func(ctx context.Context, network1 string, container1 string, ...)) *MockAPIClient_NetworkConnect_Call
- func (_c *MockAPIClient_NetworkConnect_Call) RunAndReturn(run func(ctx context.Context, network1 string, container1 string, ...) error) *MockAPIClient_NetworkConnect_Call
- type MockAPIClient_NetworkCreate_Call
- func (_c *MockAPIClient_NetworkCreate_Call) Return(createResponse network.CreateResponse, err error) *MockAPIClient_NetworkCreate_Call
- func (_c *MockAPIClient_NetworkCreate_Call) Run(run func(ctx context.Context, name string, options network.CreateOptions)) *MockAPIClient_NetworkCreate_Call
- func (_c *MockAPIClient_NetworkCreate_Call) RunAndReturn(...) *MockAPIClient_NetworkCreate_Call
- type MockAPIClient_NetworkDisconnect_Call
- func (_c *MockAPIClient_NetworkDisconnect_Call) Return(err error) *MockAPIClient_NetworkDisconnect_Call
- func (_c *MockAPIClient_NetworkDisconnect_Call) Run(run func(ctx context.Context, network1 string, container1 string, force bool)) *MockAPIClient_NetworkDisconnect_Call
- func (_c *MockAPIClient_NetworkDisconnect_Call) RunAndReturn(...) *MockAPIClient_NetworkDisconnect_Call
- type MockAPIClient_NetworkInspectWithRaw_Call
- func (_c *MockAPIClient_NetworkInspectWithRaw_Call) Return(inspect network.Inspect, bytes []byte, err error) *MockAPIClient_NetworkInspectWithRaw_Call
- func (_c *MockAPIClient_NetworkInspectWithRaw_Call) Run(run func(ctx context.Context, network1 string, options network.InspectOptions)) *MockAPIClient_NetworkInspectWithRaw_Call
- func (_c *MockAPIClient_NetworkInspectWithRaw_Call) RunAndReturn(...) *MockAPIClient_NetworkInspectWithRaw_Call
- type MockAPIClient_NetworkInspect_Call
- func (_c *MockAPIClient_NetworkInspect_Call) Return(inspect network.Inspect, err error) *MockAPIClient_NetworkInspect_Call
- func (_c *MockAPIClient_NetworkInspect_Call) Run(run func(ctx context.Context, network1 string, options network.InspectOptions)) *MockAPIClient_NetworkInspect_Call
- func (_c *MockAPIClient_NetworkInspect_Call) RunAndReturn(...) *MockAPIClient_NetworkInspect_Call
- type MockAPIClient_NetworkList_Call
- func (_c *MockAPIClient_NetworkList_Call) Return(vs []network.Summary, err error) *MockAPIClient_NetworkList_Call
- func (_c *MockAPIClient_NetworkList_Call) Run(run func(ctx context.Context, options network.ListOptions)) *MockAPIClient_NetworkList_Call
- func (_c *MockAPIClient_NetworkList_Call) RunAndReturn(...) *MockAPIClient_NetworkList_Call
- type MockAPIClient_NetworkRemove_Call
- func (_c *MockAPIClient_NetworkRemove_Call) Return(err error) *MockAPIClient_NetworkRemove_Call
- func (_c *MockAPIClient_NetworkRemove_Call) Run(run func(ctx context.Context, network1 string)) *MockAPIClient_NetworkRemove_Call
- func (_c *MockAPIClient_NetworkRemove_Call) RunAndReturn(run func(ctx context.Context, network1 string) error) *MockAPIClient_NetworkRemove_Call
- type MockAPIClient_NetworksPrune_Call
- func (_c *MockAPIClient_NetworksPrune_Call) Return(pruneReport network.PruneReport, err error) *MockAPIClient_NetworksPrune_Call
- func (_c *MockAPIClient_NetworksPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_NetworksPrune_Call
- func (_c *MockAPIClient_NetworksPrune_Call) RunAndReturn(...) *MockAPIClient_NetworksPrune_Call
- type MockAPIClient_NodeInspectWithRaw_Call
- func (_c *MockAPIClient_NodeInspectWithRaw_Call) Return(node swarm.Node, bytes []byte, err error) *MockAPIClient_NodeInspectWithRaw_Call
- func (_c *MockAPIClient_NodeInspectWithRaw_Call) Run(run func(ctx context.Context, nodeID string)) *MockAPIClient_NodeInspectWithRaw_Call
- func (_c *MockAPIClient_NodeInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, nodeID string) (swarm.Node, []byte, error)) *MockAPIClient_NodeInspectWithRaw_Call
- type MockAPIClient_NodeList_Call
- func (_c *MockAPIClient_NodeList_Call) Return(nodes []swarm.Node, err error) *MockAPIClient_NodeList_Call
- func (_c *MockAPIClient_NodeList_Call) Run(run func(ctx context.Context, options swarm.NodeListOptions)) *MockAPIClient_NodeList_Call
- func (_c *MockAPIClient_NodeList_Call) RunAndReturn(...) *MockAPIClient_NodeList_Call
- type MockAPIClient_NodeRemove_Call
- func (_c *MockAPIClient_NodeRemove_Call) Return(err error) *MockAPIClient_NodeRemove_Call
- func (_c *MockAPIClient_NodeRemove_Call) Run(run func(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions)) *MockAPIClient_NodeRemove_Call
- func (_c *MockAPIClient_NodeRemove_Call) RunAndReturn(...) *MockAPIClient_NodeRemove_Call
- type MockAPIClient_NodeUpdate_Call
- type MockAPIClient_Ping_Call
- func (_c *MockAPIClient_Ping_Call) Return(ping types.Ping, err error) *MockAPIClient_Ping_Call
- func (_c *MockAPIClient_Ping_Call) Run(run func(ctx context.Context)) *MockAPIClient_Ping_Call
- func (_c *MockAPIClient_Ping_Call) RunAndReturn(run func(ctx context.Context) (types.Ping, error)) *MockAPIClient_Ping_Call
- type MockAPIClient_PluginCreate_Call
- func (_c *MockAPIClient_PluginCreate_Call) Return(err error) *MockAPIClient_PluginCreate_Call
- func (_c *MockAPIClient_PluginCreate_Call) Run(run func(ctx context.Context, createContext io.Reader, ...)) *MockAPIClient_PluginCreate_Call
- func (_c *MockAPIClient_PluginCreate_Call) RunAndReturn(run func(ctx context.Context, createContext io.Reader, ...) error) *MockAPIClient_PluginCreate_Call
- type MockAPIClient_PluginDisable_Call
- func (_c *MockAPIClient_PluginDisable_Call) Return(err error) *MockAPIClient_PluginDisable_Call
- func (_c *MockAPIClient_PluginDisable_Call) Run(run func(ctx context.Context, name string, options types.PluginDisableOptions)) *MockAPIClient_PluginDisable_Call
- func (_c *MockAPIClient_PluginDisable_Call) RunAndReturn(...) *MockAPIClient_PluginDisable_Call
- type MockAPIClient_PluginEnable_Call
- func (_c *MockAPIClient_PluginEnable_Call) Return(err error) *MockAPIClient_PluginEnable_Call
- func (_c *MockAPIClient_PluginEnable_Call) Run(run func(ctx context.Context, name string, options types.PluginEnableOptions)) *MockAPIClient_PluginEnable_Call
- func (_c *MockAPIClient_PluginEnable_Call) RunAndReturn(...) *MockAPIClient_PluginEnable_Call
- type MockAPIClient_PluginInspectWithRaw_Call
- func (_c *MockAPIClient_PluginInspectWithRaw_Call) Return(plugin *types.Plugin, bytes []byte, err error) *MockAPIClient_PluginInspectWithRaw_Call
- func (_c *MockAPIClient_PluginInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_PluginInspectWithRaw_Call
- func (_c *MockAPIClient_PluginInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (*types.Plugin, []byte, error)) *MockAPIClient_PluginInspectWithRaw_Call
- type MockAPIClient_PluginInstall_Call
- func (_c *MockAPIClient_PluginInstall_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginInstall_Call
- func (_c *MockAPIClient_PluginInstall_Call) Run(run func(ctx context.Context, name string, options types.PluginInstallOptions)) *MockAPIClient_PluginInstall_Call
- func (_c *MockAPIClient_PluginInstall_Call) RunAndReturn(...) *MockAPIClient_PluginInstall_Call
- type MockAPIClient_PluginList_Call
- func (_c *MockAPIClient_PluginList_Call) Return(pluginsListResponse types.PluginsListResponse, err error) *MockAPIClient_PluginList_Call
- func (_c *MockAPIClient_PluginList_Call) Run(run func(ctx context.Context, filter filters.Args)) *MockAPIClient_PluginList_Call
- func (_c *MockAPIClient_PluginList_Call) RunAndReturn(...) *MockAPIClient_PluginList_Call
- type MockAPIClient_PluginPush_Call
- func (_c *MockAPIClient_PluginPush_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginPush_Call
- func (_c *MockAPIClient_PluginPush_Call) Run(run func(ctx context.Context, name string, registryAuth string)) *MockAPIClient_PluginPush_Call
- func (_c *MockAPIClient_PluginPush_Call) RunAndReturn(...) *MockAPIClient_PluginPush_Call
- type MockAPIClient_PluginRemove_Call
- func (_c *MockAPIClient_PluginRemove_Call) Return(err error) *MockAPIClient_PluginRemove_Call
- func (_c *MockAPIClient_PluginRemove_Call) Run(run func(ctx context.Context, name string, options types.PluginRemoveOptions)) *MockAPIClient_PluginRemove_Call
- func (_c *MockAPIClient_PluginRemove_Call) RunAndReturn(...) *MockAPIClient_PluginRemove_Call
- type MockAPIClient_PluginSet_Call
- func (_c *MockAPIClient_PluginSet_Call) Return(err error) *MockAPIClient_PluginSet_Call
- func (_c *MockAPIClient_PluginSet_Call) Run(run func(ctx context.Context, name string, args []string)) *MockAPIClient_PluginSet_Call
- func (_c *MockAPIClient_PluginSet_Call) RunAndReturn(run func(ctx context.Context, name string, args []string) error) *MockAPIClient_PluginSet_Call
- type MockAPIClient_PluginUpgrade_Call
- func (_c *MockAPIClient_PluginUpgrade_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginUpgrade_Call
- func (_c *MockAPIClient_PluginUpgrade_Call) Run(run func(ctx context.Context, name string, options types.PluginInstallOptions)) *MockAPIClient_PluginUpgrade_Call
- func (_c *MockAPIClient_PluginUpgrade_Call) RunAndReturn(...) *MockAPIClient_PluginUpgrade_Call
- type MockAPIClient_RegistryLogin_Call
- func (_c *MockAPIClient_RegistryLogin_Call) Return(authenticateOKBody registry.AuthenticateOKBody, err error) *MockAPIClient_RegistryLogin_Call
- func (_c *MockAPIClient_RegistryLogin_Call) Run(run func(ctx context.Context, auth registry.AuthConfig)) *MockAPIClient_RegistryLogin_Call
- func (_c *MockAPIClient_RegistryLogin_Call) RunAndReturn(...) *MockAPIClient_RegistryLogin_Call
- type MockAPIClient_SecretCreate_Call
- func (_c *MockAPIClient_SecretCreate_Call) Return(secretCreateResponse swarm.SecretCreateResponse, err error) *MockAPIClient_SecretCreate_Call
- func (_c *MockAPIClient_SecretCreate_Call) Run(run func(ctx context.Context, secret swarm.SecretSpec)) *MockAPIClient_SecretCreate_Call
- func (_c *MockAPIClient_SecretCreate_Call) RunAndReturn(...) *MockAPIClient_SecretCreate_Call
- type MockAPIClient_SecretInspectWithRaw_Call
- func (_c *MockAPIClient_SecretInspectWithRaw_Call) Return(secret swarm.Secret, bytes []byte, err error) *MockAPIClient_SecretInspectWithRaw_Call
- func (_c *MockAPIClient_SecretInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_SecretInspectWithRaw_Call
- func (_c *MockAPIClient_SecretInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (swarm.Secret, []byte, error)) *MockAPIClient_SecretInspectWithRaw_Call
- type MockAPIClient_SecretList_Call
- func (_c *MockAPIClient_SecretList_Call) Return(secrets []swarm.Secret, err error) *MockAPIClient_SecretList_Call
- func (_c *MockAPIClient_SecretList_Call) Run(run func(ctx context.Context, options swarm.SecretListOptions)) *MockAPIClient_SecretList_Call
- func (_c *MockAPIClient_SecretList_Call) RunAndReturn(...) *MockAPIClient_SecretList_Call
- type MockAPIClient_SecretRemove_Call
- func (_c *MockAPIClient_SecretRemove_Call) Return(err error) *MockAPIClient_SecretRemove_Call
- func (_c *MockAPIClient_SecretRemove_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_SecretRemove_Call
- func (_c *MockAPIClient_SecretRemove_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_SecretRemove_Call
- type MockAPIClient_SecretUpdate_Call
- type MockAPIClient_ServerVersion_Call
- func (_c *MockAPIClient_ServerVersion_Call) Return(version types.Version, err error) *MockAPIClient_ServerVersion_Call
- func (_c *MockAPIClient_ServerVersion_Call) Run(run func(ctx context.Context)) *MockAPIClient_ServerVersion_Call
- func (_c *MockAPIClient_ServerVersion_Call) RunAndReturn(run func(ctx context.Context) (types.Version, error)) *MockAPIClient_ServerVersion_Call
- type MockAPIClient_ServiceCreate_Call
- func (_c *MockAPIClient_ServiceCreate_Call) Return(serviceCreateResponse swarm.ServiceCreateResponse, err error) *MockAPIClient_ServiceCreate_Call
- func (_c *MockAPIClient_ServiceCreate_Call) Run(run func(ctx context.Context, service swarm.ServiceSpec, ...)) *MockAPIClient_ServiceCreate_Call
- func (_c *MockAPIClient_ServiceCreate_Call) RunAndReturn(...) *MockAPIClient_ServiceCreate_Call
- type MockAPIClient_ServiceInspectWithRaw_Call
- func (_c *MockAPIClient_ServiceInspectWithRaw_Call) Return(service swarm.Service, bytes []byte, err error) *MockAPIClient_ServiceInspectWithRaw_Call
- func (_c *MockAPIClient_ServiceInspectWithRaw_Call) Run(...) *MockAPIClient_ServiceInspectWithRaw_Call
- func (_c *MockAPIClient_ServiceInspectWithRaw_Call) RunAndReturn(...) *MockAPIClient_ServiceInspectWithRaw_Call
- type MockAPIClient_ServiceList_Call
- func (_c *MockAPIClient_ServiceList_Call) Return(services []swarm.Service, err error) *MockAPIClient_ServiceList_Call
- func (_c *MockAPIClient_ServiceList_Call) Run(run func(ctx context.Context, options swarm.ServiceListOptions)) *MockAPIClient_ServiceList_Call
- func (_c *MockAPIClient_ServiceList_Call) RunAndReturn(...) *MockAPIClient_ServiceList_Call
- type MockAPIClient_ServiceLogs_Call
- func (_c *MockAPIClient_ServiceLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ServiceLogs_Call
- func (_c *MockAPIClient_ServiceLogs_Call) Run(run func(ctx context.Context, serviceID string, options container.LogsOptions)) *MockAPIClient_ServiceLogs_Call
- func (_c *MockAPIClient_ServiceLogs_Call) RunAndReturn(...) *MockAPIClient_ServiceLogs_Call
- type MockAPIClient_ServiceRemove_Call
- func (_c *MockAPIClient_ServiceRemove_Call) Return(err error) *MockAPIClient_ServiceRemove_Call
- func (_c *MockAPIClient_ServiceRemove_Call) Run(run func(ctx context.Context, serviceID string)) *MockAPIClient_ServiceRemove_Call
- func (_c *MockAPIClient_ServiceRemove_Call) RunAndReturn(run func(ctx context.Context, serviceID string) error) *MockAPIClient_ServiceRemove_Call
- type MockAPIClient_ServiceUpdate_Call
- func (_c *MockAPIClient_ServiceUpdate_Call) Return(serviceUpdateResponse swarm.ServiceUpdateResponse, err error) *MockAPIClient_ServiceUpdate_Call
- func (_c *MockAPIClient_ServiceUpdate_Call) Run(run func(ctx context.Context, serviceID string, version swarm.Version, ...)) *MockAPIClient_ServiceUpdate_Call
- func (_c *MockAPIClient_ServiceUpdate_Call) RunAndReturn(...) *MockAPIClient_ServiceUpdate_Call
- type MockAPIClient_SwarmGetUnlockKey_Call
- func (_c *MockAPIClient_SwarmGetUnlockKey_Call) Return(unlockKeyResponse swarm.UnlockKeyResponse, err error) *MockAPIClient_SwarmGetUnlockKey_Call
- func (_c *MockAPIClient_SwarmGetUnlockKey_Call) Run(run func(ctx context.Context)) *MockAPIClient_SwarmGetUnlockKey_Call
- func (_c *MockAPIClient_SwarmGetUnlockKey_Call) RunAndReturn(run func(ctx context.Context) (swarm.UnlockKeyResponse, error)) *MockAPIClient_SwarmGetUnlockKey_Call
- type MockAPIClient_SwarmInit_Call
- func (_c *MockAPIClient_SwarmInit_Call) Return(s string, err error) *MockAPIClient_SwarmInit_Call
- func (_c *MockAPIClient_SwarmInit_Call) Run(run func(ctx context.Context, req swarm.InitRequest)) *MockAPIClient_SwarmInit_Call
- func (_c *MockAPIClient_SwarmInit_Call) RunAndReturn(run func(ctx context.Context, req swarm.InitRequest) (string, error)) *MockAPIClient_SwarmInit_Call
- type MockAPIClient_SwarmInspect_Call
- func (_c *MockAPIClient_SwarmInspect_Call) Return(swarm1 swarm.Swarm, err error) *MockAPIClient_SwarmInspect_Call
- func (_c *MockAPIClient_SwarmInspect_Call) Run(run func(ctx context.Context)) *MockAPIClient_SwarmInspect_Call
- func (_c *MockAPIClient_SwarmInspect_Call) RunAndReturn(run func(ctx context.Context) (swarm.Swarm, error)) *MockAPIClient_SwarmInspect_Call
- type MockAPIClient_SwarmJoin_Call
- func (_c *MockAPIClient_SwarmJoin_Call) Return(err error) *MockAPIClient_SwarmJoin_Call
- func (_c *MockAPIClient_SwarmJoin_Call) Run(run func(ctx context.Context, req swarm.JoinRequest)) *MockAPIClient_SwarmJoin_Call
- func (_c *MockAPIClient_SwarmJoin_Call) RunAndReturn(run func(ctx context.Context, req swarm.JoinRequest) error) *MockAPIClient_SwarmJoin_Call
- type MockAPIClient_SwarmLeave_Call
- func (_c *MockAPIClient_SwarmLeave_Call) Return(err error) *MockAPIClient_SwarmLeave_Call
- func (_c *MockAPIClient_SwarmLeave_Call) Run(run func(ctx context.Context, force bool)) *MockAPIClient_SwarmLeave_Call
- func (_c *MockAPIClient_SwarmLeave_Call) RunAndReturn(run func(ctx context.Context, force bool) error) *MockAPIClient_SwarmLeave_Call
- type MockAPIClient_SwarmUnlock_Call
- func (_c *MockAPIClient_SwarmUnlock_Call) Return(err error) *MockAPIClient_SwarmUnlock_Call
- func (_c *MockAPIClient_SwarmUnlock_Call) Run(run func(ctx context.Context, req swarm.UnlockRequest)) *MockAPIClient_SwarmUnlock_Call
- func (_c *MockAPIClient_SwarmUnlock_Call) RunAndReturn(run func(ctx context.Context, req swarm.UnlockRequest) error) *MockAPIClient_SwarmUnlock_Call
- type MockAPIClient_SwarmUpdate_Call
- func (_c *MockAPIClient_SwarmUpdate_Call) Return(err error) *MockAPIClient_SwarmUpdate_Call
- func (_c *MockAPIClient_SwarmUpdate_Call) Run(run func(ctx context.Context, version swarm.Version, swarm1 swarm.Spec, ...)) *MockAPIClient_SwarmUpdate_Call
- func (_c *MockAPIClient_SwarmUpdate_Call) RunAndReturn(...) *MockAPIClient_SwarmUpdate_Call
- type MockAPIClient_TaskInspectWithRaw_Call
- func (_c *MockAPIClient_TaskInspectWithRaw_Call) Return(task swarm.Task, bytes []byte, err error) *MockAPIClient_TaskInspectWithRaw_Call
- func (_c *MockAPIClient_TaskInspectWithRaw_Call) Run(run func(ctx context.Context, taskID string)) *MockAPIClient_TaskInspectWithRaw_Call
- func (_c *MockAPIClient_TaskInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, taskID string) (swarm.Task, []byte, error)) *MockAPIClient_TaskInspectWithRaw_Call
- type MockAPIClient_TaskList_Call
- func (_c *MockAPIClient_TaskList_Call) Return(tasks []swarm.Task, err error) *MockAPIClient_TaskList_Call
- func (_c *MockAPIClient_TaskList_Call) Run(run func(ctx context.Context, options swarm.TaskListOptions)) *MockAPIClient_TaskList_Call
- func (_c *MockAPIClient_TaskList_Call) RunAndReturn(...) *MockAPIClient_TaskList_Call
- type MockAPIClient_TaskLogs_Call
- func (_c *MockAPIClient_TaskLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_TaskLogs_Call
- func (_c *MockAPIClient_TaskLogs_Call) Run(run func(ctx context.Context, taskID string, options container.LogsOptions)) *MockAPIClient_TaskLogs_Call
- func (_c *MockAPIClient_TaskLogs_Call) RunAndReturn(...) *MockAPIClient_TaskLogs_Call
- type MockAPIClient_VolumeCreate_Call
- func (_c *MockAPIClient_VolumeCreate_Call) Return(volume1 volume.Volume, err error) *MockAPIClient_VolumeCreate_Call
- func (_c *MockAPIClient_VolumeCreate_Call) Run(run func(ctx context.Context, options volume.CreateOptions)) *MockAPIClient_VolumeCreate_Call
- func (_c *MockAPIClient_VolumeCreate_Call) RunAndReturn(...) *MockAPIClient_VolumeCreate_Call
- type MockAPIClient_VolumeInspectWithRaw_Call
- func (_c *MockAPIClient_VolumeInspectWithRaw_Call) Return(volume1 volume.Volume, bytes []byte, err error) *MockAPIClient_VolumeInspectWithRaw_Call
- func (_c *MockAPIClient_VolumeInspectWithRaw_Call) Run(run func(ctx context.Context, volumeID string)) *MockAPIClient_VolumeInspectWithRaw_Call
- func (_c *MockAPIClient_VolumeInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, volumeID string) (volume.Volume, []byte, error)) *MockAPIClient_VolumeInspectWithRaw_Call
- type MockAPIClient_VolumeInspect_Call
- func (_c *MockAPIClient_VolumeInspect_Call) Return(volume1 volume.Volume, err error) *MockAPIClient_VolumeInspect_Call
- func (_c *MockAPIClient_VolumeInspect_Call) Run(run func(ctx context.Context, volumeID string)) *MockAPIClient_VolumeInspect_Call
- func (_c *MockAPIClient_VolumeInspect_Call) RunAndReturn(run func(ctx context.Context, volumeID string) (volume.Volume, error)) *MockAPIClient_VolumeInspect_Call
- type MockAPIClient_VolumeList_Call
- func (_c *MockAPIClient_VolumeList_Call) Return(listResponse volume.ListResponse, err error) *MockAPIClient_VolumeList_Call
- func (_c *MockAPIClient_VolumeList_Call) Run(run func(ctx context.Context, options volume.ListOptions)) *MockAPIClient_VolumeList_Call
- func (_c *MockAPIClient_VolumeList_Call) RunAndReturn(...) *MockAPIClient_VolumeList_Call
- type MockAPIClient_VolumeRemove_Call
- func (_c *MockAPIClient_VolumeRemove_Call) Return(err error) *MockAPIClient_VolumeRemove_Call
- func (_c *MockAPIClient_VolumeRemove_Call) Run(run func(ctx context.Context, volumeID string, force bool)) *MockAPIClient_VolumeRemove_Call
- func (_c *MockAPIClient_VolumeRemove_Call) RunAndReturn(run func(ctx context.Context, volumeID string, force bool) error) *MockAPIClient_VolumeRemove_Call
- type MockAPIClient_VolumeUpdate_Call
- func (_c *MockAPIClient_VolumeUpdate_Call) Return(err error) *MockAPIClient_VolumeUpdate_Call
- func (_c *MockAPIClient_VolumeUpdate_Call) Run(run func(ctx context.Context, volumeID string, version swarm.Version, ...)) *MockAPIClient_VolumeUpdate_Call
- func (_c *MockAPIClient_VolumeUpdate_Call) RunAndReturn(...) *MockAPIClient_VolumeUpdate_Call
- type MockAPIClient_VolumesPrune_Call
- func (_c *MockAPIClient_VolumesPrune_Call) Return(pruneReport volume.PruneReport, err error) *MockAPIClient_VolumesPrune_Call
- func (_c *MockAPIClient_VolumesPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_VolumesPrune_Call
- func (_c *MockAPIClient_VolumesPrune_Call) RunAndReturn(...) *MockAPIClient_VolumesPrune_Call
- type MockContainerAPIClient
- func (_mock *MockContainerAPIClient) ContainerAttach(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)
- func (_mock *MockContainerAPIClient) ContainerCommit(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)
- func (_mock *MockContainerAPIClient) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.CreateResponse, error)
- func (_mock *MockContainerAPIClient) ContainerDiff(ctx context.Context, container1 string) ([]container.FilesystemChange, error)
- func (_mock *MockContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)
- func (_mock *MockContainerAPIClient) ContainerExecCreate(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)
- func (_mock *MockContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (container.ExecInspect, error)
- func (_mock *MockContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options container.ResizeOptions) error
- func (_mock *MockContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, options container.ExecStartOptions) error
- func (_mock *MockContainerAPIClient) ContainerExport(ctx context.Context, container1 string) (io.ReadCloser, error)
- func (_mock *MockContainerAPIClient) ContainerInspect(ctx context.Context, container1 string) (container.InspectResponse, error)
- func (_mock *MockContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)
- func (_mock *MockContainerAPIClient) ContainerKill(ctx context.Context, container1 string, signal string) error
- func (_mock *MockContainerAPIClient) ContainerList(ctx context.Context, options container.ListOptions) ([]container.Summary, error)
- func (_mock *MockContainerAPIClient) ContainerLogs(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)
- func (_mock *MockContainerAPIClient) ContainerPause(ctx context.Context, container1 string) error
- func (_mock *MockContainerAPIClient) ContainerRemove(ctx context.Context, container1 string, options container.RemoveOptions) error
- func (_mock *MockContainerAPIClient) ContainerRename(ctx context.Context, container1 string, newContainerName string) error
- func (_mock *MockContainerAPIClient) ContainerResize(ctx context.Context, container1 string, options container.ResizeOptions) error
- func (_mock *MockContainerAPIClient) ContainerRestart(ctx context.Context, container1 string, options container.StopOptions) error
- func (_mock *MockContainerAPIClient) ContainerStart(ctx context.Context, container1 string, options container.StartOptions) error
- func (_mock *MockContainerAPIClient) ContainerStatPath(ctx context.Context, container1 string, path string) (container.PathStat, error)
- func (_mock *MockContainerAPIClient) ContainerStats(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)
- func (_mock *MockContainerAPIClient) ContainerStatsOneShot(ctx context.Context, container1 string) (container.StatsResponseReader, error)
- func (_mock *MockContainerAPIClient) ContainerStop(ctx context.Context, container1 string, options container.StopOptions) error
- func (_mock *MockContainerAPIClient) ContainerTop(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)
- func (_mock *MockContainerAPIClient) ContainerUnpause(ctx context.Context, container1 string) error
- func (_mock *MockContainerAPIClient) ContainerUpdate(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)
- func (_mock *MockContainerAPIClient) ContainerWait(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
- func (_mock *MockContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)
- func (_mock *MockContainerAPIClient) CopyFromContainer(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)
- func (_mock *MockContainerAPIClient) CopyToContainer(ctx context.Context, container1 string, path string, content io.Reader, ...) error
- func (_m *MockContainerAPIClient) EXPECT() *MockContainerAPIClient_Expecter
- type MockContainerAPIClient_ContainerAttach_Call
- func (_c *MockContainerAPIClient_ContainerAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockContainerAPIClient_ContainerAttach_Call
- func (_c *MockContainerAPIClient_ContainerAttach_Call) Run(...) *MockContainerAPIClient_ContainerAttach_Call
- func (_c *MockContainerAPIClient_ContainerAttach_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerAttach_Call
- type MockContainerAPIClient_ContainerCommit_Call
- func (_c *MockContainerAPIClient_ContainerCommit_Call) Return(v container.CommitResponse, err error) *MockContainerAPIClient_ContainerCommit_Call
- func (_c *MockContainerAPIClient_ContainerCommit_Call) Run(...) *MockContainerAPIClient_ContainerCommit_Call
- func (_c *MockContainerAPIClient_ContainerCommit_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerCommit_Call
- type MockContainerAPIClient_ContainerCreate_Call
- func (_c *MockContainerAPIClient_ContainerCreate_Call) Return(createResponse container.CreateResponse, err error) *MockContainerAPIClient_ContainerCreate_Call
- func (_c *MockContainerAPIClient_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, ...)) *MockContainerAPIClient_ContainerCreate_Call
- func (_c *MockContainerAPIClient_ContainerCreate_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerCreate_Call
- type MockContainerAPIClient_ContainerDiff_Call
- func (_c *MockContainerAPIClient_ContainerDiff_Call) Return(filesystemChanges []container.FilesystemChange, err error) *MockContainerAPIClient_ContainerDiff_Call
- func (_c *MockContainerAPIClient_ContainerDiff_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerDiff_Call
- func (_c *MockContainerAPIClient_ContainerDiff_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerDiff_Call
- type MockContainerAPIClient_ContainerExecAttach_Call
- func (_c *MockContainerAPIClient_ContainerExecAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockContainerAPIClient_ContainerExecAttach_Call
- func (_c *MockContainerAPIClient_ContainerExecAttach_Call) Run(...) *MockContainerAPIClient_ContainerExecAttach_Call
- func (_c *MockContainerAPIClient_ContainerExecAttach_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerExecAttach_Call
- type MockContainerAPIClient_ContainerExecCreate_Call
- func (_c *MockContainerAPIClient_ContainerExecCreate_Call) Return(v container.ExecCreateResponse, err error) *MockContainerAPIClient_ContainerExecCreate_Call
- func (_c *MockContainerAPIClient_ContainerExecCreate_Call) Run(...) *MockContainerAPIClient_ContainerExecCreate_Call
- func (_c *MockContainerAPIClient_ContainerExecCreate_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerExecCreate_Call
- type MockContainerAPIClient_ContainerExecInspect_Call
- func (_c *MockContainerAPIClient_ContainerExecInspect_Call) Return(execInspect container.ExecInspect, err error) *MockContainerAPIClient_ContainerExecInspect_Call
- func (_c *MockContainerAPIClient_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *MockContainerAPIClient_ContainerExecInspect_Call
- func (_c *MockContainerAPIClient_ContainerExecInspect_Call) RunAndReturn(run func(ctx context.Context, execID string) (container.ExecInspect, error)) *MockContainerAPIClient_ContainerExecInspect_Call
- type MockContainerAPIClient_ContainerExecResize_Call
- func (_c *MockContainerAPIClient_ContainerExecResize_Call) Return(err error) *MockContainerAPIClient_ContainerExecResize_Call
- func (_c *MockContainerAPIClient_ContainerExecResize_Call) Run(run func(ctx context.Context, execID string, options container.ResizeOptions)) *MockContainerAPIClient_ContainerExecResize_Call
- func (_c *MockContainerAPIClient_ContainerExecResize_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerExecResize_Call
- type MockContainerAPIClient_ContainerExecStart_Call
- func (_c *MockContainerAPIClient_ContainerExecStart_Call) Return(err error) *MockContainerAPIClient_ContainerExecStart_Call
- func (_c *MockContainerAPIClient_ContainerExecStart_Call) Run(...) *MockContainerAPIClient_ContainerExecStart_Call
- func (_c *MockContainerAPIClient_ContainerExecStart_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerExecStart_Call
- type MockContainerAPIClient_ContainerExport_Call
- func (_c *MockContainerAPIClient_ContainerExport_Call) Return(readCloser io.ReadCloser, err error) *MockContainerAPIClient_ContainerExport_Call
- func (_c *MockContainerAPIClient_ContainerExport_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerExport_Call
- func (_c *MockContainerAPIClient_ContainerExport_Call) RunAndReturn(run func(ctx context.Context, container1 string) (io.ReadCloser, error)) *MockContainerAPIClient_ContainerExport_Call
- type MockContainerAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) Return(inspectResponse container.InspectResponse, bytes []byte, err error) *MockContainerAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) Run(run func(ctx context.Context, container1 string, getSize bool)) *MockContainerAPIClient_ContainerInspectWithRaw_Call
- func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerInspectWithRaw_Call
- type MockContainerAPIClient_ContainerInspect_Call
- func (_c *MockContainerAPIClient_ContainerInspect_Call) Return(inspectResponse container.InspectResponse, err error) *MockContainerAPIClient_ContainerInspect_Call
- func (_c *MockContainerAPIClient_ContainerInspect_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerInspect_Call
- func (_c *MockContainerAPIClient_ContainerInspect_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerInspect_Call
- type MockContainerAPIClient_ContainerKill_Call
- func (_c *MockContainerAPIClient_ContainerKill_Call) Return(err error) *MockContainerAPIClient_ContainerKill_Call
- func (_c *MockContainerAPIClient_ContainerKill_Call) Run(run func(ctx context.Context, container1 string, signal string)) *MockContainerAPIClient_ContainerKill_Call
- func (_c *MockContainerAPIClient_ContainerKill_Call) RunAndReturn(run func(ctx context.Context, container1 string, signal string) error) *MockContainerAPIClient_ContainerKill_Call
- type MockContainerAPIClient_ContainerList_Call
- func (_c *MockContainerAPIClient_ContainerList_Call) Return(summarys []container.Summary, err error) *MockContainerAPIClient_ContainerList_Call
- func (_c *MockContainerAPIClient_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *MockContainerAPIClient_ContainerList_Call
- func (_c *MockContainerAPIClient_ContainerList_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerList_Call
- type MockContainerAPIClient_ContainerLogs_Call
- func (_c *MockContainerAPIClient_ContainerLogs_Call) Return(readCloser io.ReadCloser, err error) *MockContainerAPIClient_ContainerLogs_Call
- func (_c *MockContainerAPIClient_ContainerLogs_Call) Run(...) *MockContainerAPIClient_ContainerLogs_Call
- func (_c *MockContainerAPIClient_ContainerLogs_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerLogs_Call
- type MockContainerAPIClient_ContainerPause_Call
- func (_c *MockContainerAPIClient_ContainerPause_Call) Return(err error) *MockContainerAPIClient_ContainerPause_Call
- func (_c *MockContainerAPIClient_ContainerPause_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerPause_Call
- func (_c *MockContainerAPIClient_ContainerPause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockContainerAPIClient_ContainerPause_Call
- type MockContainerAPIClient_ContainerRemove_Call
- func (_c *MockContainerAPIClient_ContainerRemove_Call) Return(err error) *MockContainerAPIClient_ContainerRemove_Call
- func (_c *MockContainerAPIClient_ContainerRemove_Call) Run(...) *MockContainerAPIClient_ContainerRemove_Call
- func (_c *MockContainerAPIClient_ContainerRemove_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerRemove_Call
- type MockContainerAPIClient_ContainerRename_Call
- func (_c *MockContainerAPIClient_ContainerRename_Call) Return(err error) *MockContainerAPIClient_ContainerRename_Call
- func (_c *MockContainerAPIClient_ContainerRename_Call) Run(run func(ctx context.Context, container1 string, newContainerName string)) *MockContainerAPIClient_ContainerRename_Call
- func (_c *MockContainerAPIClient_ContainerRename_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerRename_Call
- type MockContainerAPIClient_ContainerResize_Call
- func (_c *MockContainerAPIClient_ContainerResize_Call) Return(err error) *MockContainerAPIClient_ContainerResize_Call
- func (_c *MockContainerAPIClient_ContainerResize_Call) Run(...) *MockContainerAPIClient_ContainerResize_Call
- func (_c *MockContainerAPIClient_ContainerResize_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerResize_Call
- type MockContainerAPIClient_ContainerRestart_Call
- func (_c *MockContainerAPIClient_ContainerRestart_Call) Return(err error) *MockContainerAPIClient_ContainerRestart_Call
- func (_c *MockContainerAPIClient_ContainerRestart_Call) Run(...) *MockContainerAPIClient_ContainerRestart_Call
- func (_c *MockContainerAPIClient_ContainerRestart_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerRestart_Call
- type MockContainerAPIClient_ContainerStart_Call
- func (_c *MockContainerAPIClient_ContainerStart_Call) Return(err error) *MockContainerAPIClient_ContainerStart_Call
- func (_c *MockContainerAPIClient_ContainerStart_Call) Run(...) *MockContainerAPIClient_ContainerStart_Call
- func (_c *MockContainerAPIClient_ContainerStart_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerStart_Call
- type MockContainerAPIClient_ContainerStatPath_Call
- func (_c *MockContainerAPIClient_ContainerStatPath_Call) Return(pathStat container.PathStat, err error) *MockContainerAPIClient_ContainerStatPath_Call
- func (_c *MockContainerAPIClient_ContainerStatPath_Call) Run(run func(ctx context.Context, container1 string, path string)) *MockContainerAPIClient_ContainerStatPath_Call
- func (_c *MockContainerAPIClient_ContainerStatPath_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerStatPath_Call
- type MockContainerAPIClient_ContainerStatsOneShot_Call
- func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockContainerAPIClient_ContainerStatsOneShot_Call
- func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerStatsOneShot_Call
- func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerStatsOneShot_Call
- type MockContainerAPIClient_ContainerStats_Call
- func (_c *MockContainerAPIClient_ContainerStats_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockContainerAPIClient_ContainerStats_Call
- func (_c *MockContainerAPIClient_ContainerStats_Call) Run(run func(ctx context.Context, container1 string, stream bool)) *MockContainerAPIClient_ContainerStats_Call
- func (_c *MockContainerAPIClient_ContainerStats_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerStats_Call
- type MockContainerAPIClient_ContainerStop_Call
- func (_c *MockContainerAPIClient_ContainerStop_Call) Return(err error) *MockContainerAPIClient_ContainerStop_Call
- func (_c *MockContainerAPIClient_ContainerStop_Call) Run(...) *MockContainerAPIClient_ContainerStop_Call
- func (_c *MockContainerAPIClient_ContainerStop_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerStop_Call
- type MockContainerAPIClient_ContainerTop_Call
- func (_c *MockContainerAPIClient_ContainerTop_Call) Return(topResponse container.TopResponse, err error) *MockContainerAPIClient_ContainerTop_Call
- func (_c *MockContainerAPIClient_ContainerTop_Call) Run(run func(ctx context.Context, container1 string, arguments []string)) *MockContainerAPIClient_ContainerTop_Call
- func (_c *MockContainerAPIClient_ContainerTop_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerTop_Call
- type MockContainerAPIClient_ContainerUnpause_Call
- func (_c *MockContainerAPIClient_ContainerUnpause_Call) Return(err error) *MockContainerAPIClient_ContainerUnpause_Call
- func (_c *MockContainerAPIClient_ContainerUnpause_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerUnpause_Call
- func (_c *MockContainerAPIClient_ContainerUnpause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockContainerAPIClient_ContainerUnpause_Call
- type MockContainerAPIClient_ContainerUpdate_Call
- func (_c *MockContainerAPIClient_ContainerUpdate_Call) Return(updateResponse container.UpdateResponse, err error) *MockContainerAPIClient_ContainerUpdate_Call
- func (_c *MockContainerAPIClient_ContainerUpdate_Call) Run(...) *MockContainerAPIClient_ContainerUpdate_Call
- func (_c *MockContainerAPIClient_ContainerUpdate_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerUpdate_Call
- type MockContainerAPIClient_ContainerWait_Call
- func (_c *MockContainerAPIClient_ContainerWait_Call) Return(waitResponseCh <-chan container.WaitResponse, errCh <-chan error) *MockContainerAPIClient_ContainerWait_Call
- func (_c *MockContainerAPIClient_ContainerWait_Call) Run(...) *MockContainerAPIClient_ContainerWait_Call
- func (_c *MockContainerAPIClient_ContainerWait_Call) RunAndReturn(...) *MockContainerAPIClient_ContainerWait_Call
- type MockContainerAPIClient_ContainersPrune_Call
- func (_c *MockContainerAPIClient_ContainersPrune_Call) Return(pruneReport container.PruneReport, err error) *MockContainerAPIClient_ContainersPrune_Call
- func (_c *MockContainerAPIClient_ContainersPrune_Call) Run(run func(ctx context.Context, pruneFilters filters.Args)) *MockContainerAPIClient_ContainersPrune_Call
- func (_c *MockContainerAPIClient_ContainersPrune_Call) RunAndReturn(...) *MockContainerAPIClient_ContainersPrune_Call
- type MockContainerAPIClient_CopyFromContainer_Call
- func (_c *MockContainerAPIClient_CopyFromContainer_Call) Return(readCloser io.ReadCloser, pathStat container.PathStat, err error) *MockContainerAPIClient_CopyFromContainer_Call
- func (_c *MockContainerAPIClient_CopyFromContainer_Call) Run(run func(ctx context.Context, container1 string, srcPath string)) *MockContainerAPIClient_CopyFromContainer_Call
- func (_c *MockContainerAPIClient_CopyFromContainer_Call) RunAndReturn(...) *MockContainerAPIClient_CopyFromContainer_Call
- type MockContainerAPIClient_CopyToContainer_Call
- func (_c *MockContainerAPIClient_CopyToContainer_Call) Return(err error) *MockContainerAPIClient_CopyToContainer_Call
- func (_c *MockContainerAPIClient_CopyToContainer_Call) Run(...) *MockContainerAPIClient_CopyToContainer_Call
- func (_c *MockContainerAPIClient_CopyToContainer_Call) RunAndReturn(...) *MockContainerAPIClient_CopyToContainer_Call
- type MockContainerAPIClient_Expecter
- func (_e *MockContainerAPIClient_Expecter) ContainerAttach(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerAttach_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerCommit(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerCommit_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, ...) *MockContainerAPIClient_ContainerCreate_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerDiff(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerDiff_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecAttach_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExecCreate(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerExecCreate_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *MockContainerAPIClient_ContainerExecInspect_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExecResize(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecResize_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExecStart(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecStart_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerExport(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerExport_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerInspect(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerInspect_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerInspectWithRaw(ctx interface{}, container1 interface{}, getSize interface{}) *MockContainerAPIClient_ContainerInspectWithRaw_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerKill(ctx interface{}, container1 interface{}, signal interface{}) *MockContainerAPIClient_ContainerKill_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerList(ctx interface{}, options interface{}) *MockContainerAPIClient_ContainerList_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerLogs(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerLogs_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerPause(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerPause_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerRemove(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerRemove_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerRename(ctx interface{}, container1 interface{}, newContainerName interface{}) *MockContainerAPIClient_ContainerRename_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerResize(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerResize_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerRestart(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerRestart_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerStart(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerStart_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerStatPath(ctx interface{}, container1 interface{}, path interface{}) *MockContainerAPIClient_ContainerStatPath_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerStats(ctx interface{}, container1 interface{}, stream interface{}) *MockContainerAPIClient_ContainerStats_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerStatsOneShot(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerStatsOneShot_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerStop(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerStop_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerTop(ctx interface{}, container1 interface{}, arguments interface{}) *MockContainerAPIClient_ContainerTop_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerUnpause(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerUnpause_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerUpdate(ctx interface{}, container1 interface{}, updateConfig interface{}) *MockContainerAPIClient_ContainerUpdate_Call
- func (_e *MockContainerAPIClient_Expecter) ContainerWait(ctx interface{}, container1 interface{}, condition interface{}) *MockContainerAPIClient_ContainerWait_Call
- func (_e *MockContainerAPIClient_Expecter) ContainersPrune(ctx interface{}, pruneFilters interface{}) *MockContainerAPIClient_ContainersPrune_Call
- func (_e *MockContainerAPIClient_Expecter) CopyFromContainer(ctx interface{}, container1 interface{}, srcPath interface{}) *MockContainerAPIClient_CopyFromContainer_Call
- func (_e *MockContainerAPIClient_Expecter) CopyToContainer(ctx interface{}, container1 interface{}, path interface{}, content interface{}, ...) *MockContainerAPIClient_CopyToContainer_Call
- type RegistryConfig
- type RegistryManager
- func (rm *RegistryManager) CreateRegistry(ctx context.Context, config RegistryConfig) error
- func (rm *RegistryManager) DeleteRegistry(ctx context.Context, name, _ string, deleteVolume bool, networkName string, ...) error
- func (rm *RegistryManager) GetRegistryPort(ctx context.Context, name string) (int, error)
- func (rm *RegistryManager) IsRegistryInUse(ctx context.Context, name string) (bool, error)
- func (rm *RegistryManager) ListRegistries(ctx context.Context) ([]string, error)
Constants ¶
const ( // RegistryImageName is the default registry image to use. RegistryImageName = "registry:3" // RegistryLabelKey marks registry containers as managed by ksail. RegistryLabelKey = "io.ksail.registry" // DefaultRegistryPort is the default port for registry containers. DefaultRegistryPort = 5000 // RegistryPortBase is the base port number for calculating registry ports. RegistryPortBase = 5000 // HostPortParts is the expected number of parts in a host:port string. HostPortParts = 2 // RegistryContainerPort is the internal port exposed by the registry container. RegistryContainerPort = "5000/tcp" // RegistryHostIP is the host IP address to bind registry ports to. RegistryHostIP = "127.0.0.1" // RegistryDataPath is the path inside the container where registry data is stored. RegistryDataPath = "/var/lib/registry" // RegistryRestartPolicy defines the container restart policy. RegistryRestartPolicy = "unless-stopped" )
Variables ¶
var ( // ErrRegistryNotFound is returned when a registry container is not found. ErrRegistryNotFound = errors.New("registry not found") // ErrRegistryAlreadyExists is returned when trying to create a registry that already exists. ErrRegistryAlreadyExists = errors.New("registry already exists") // ErrRegistryPortNotFound is returned when the registry port cannot be determined. ErrRegistryPortNotFound = errors.New("registry port not found") )
Registry error definitions.
var ( // ErrAPIClientNil is returned when apiClient is nil. ErrAPIClientNil = errors.New("apiClient cannot be nil") )
Error definitions for container engine operations.
Functions ¶
func GetDockerClient ¶
GetDockerClient creates a Docker client using environment configuration.
func NormalizeVolumeName ¶
NormalizeVolumeName trims registry names and removes distribution prefixes such as kind- or k3d-.
Types ¶
type MockAPIClient ¶
MockAPIClient is an autogenerated mock type for the APIClient type
func NewMockAPIClient ¶
func NewMockAPIClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockAPIClient
NewMockAPIClient creates a new instance of MockAPIClient. 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 (*MockAPIClient) BuildCachePrune ¶
func (_mock *MockAPIClient) BuildCachePrune(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)
BuildCachePrune provides a mock function for the type MockAPIClient
func (*MockAPIClient) BuildCancel ¶
func (_mock *MockAPIClient) BuildCancel(ctx context.Context, id string) error
BuildCancel provides a mock function for the type MockAPIClient
func (*MockAPIClient) CheckpointCreate ¶
func (_mock *MockAPIClient) CheckpointCreate(ctx context.Context, container string, options checkpoint.CreateOptions) error
CheckpointCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) CheckpointDelete ¶
func (_mock *MockAPIClient) CheckpointDelete(ctx context.Context, container string, options checkpoint.DeleteOptions) error
CheckpointDelete provides a mock function for the type MockAPIClient
func (*MockAPIClient) CheckpointList ¶
func (_mock *MockAPIClient) CheckpointList(ctx context.Context, container string, options checkpoint.ListOptions) ([]checkpoint.Summary, error)
CheckpointList provides a mock function for the type MockAPIClient
func (*MockAPIClient) ClientVersion ¶
func (_mock *MockAPIClient) ClientVersion() string
ClientVersion provides a mock function for the type MockAPIClient
func (*MockAPIClient) Close ¶
func (_mock *MockAPIClient) Close() error
Close provides a mock function for the type MockAPIClient
func (*MockAPIClient) ConfigCreate ¶
func (_mock *MockAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (swarm.ConfigCreateResponse, error)
ConfigCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ConfigInspectWithRaw ¶
func (_mock *MockAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
ConfigInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) ConfigList ¶
func (_mock *MockAPIClient) ConfigList(ctx context.Context, options swarm.ConfigListOptions) ([]swarm.Config, error)
ConfigList provides a mock function for the type MockAPIClient
func (*MockAPIClient) ConfigRemove ¶
func (_mock *MockAPIClient) ConfigRemove(ctx context.Context, id string) error
ConfigRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) ConfigUpdate ¶
func (_mock *MockAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
ConfigUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerAttach ¶
func (_mock *MockAPIClient) ContainerAttach(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)
ContainerAttach provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerCommit ¶
func (_mock *MockAPIClient) ContainerCommit(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)
ContainerCommit provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerCreate ¶
func (_mock *MockAPIClient) 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 for the type MockAPIClient
func (*MockAPIClient) ContainerDiff ¶
func (_mock *MockAPIClient) ContainerDiff(ctx context.Context, container1 string) ([]container.FilesystemChange, error)
ContainerDiff provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExecAttach ¶
func (_mock *MockAPIClient) ContainerExecAttach(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExecCreate ¶
func (_mock *MockAPIClient) ContainerExecCreate(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)
ContainerExecCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExecInspect ¶
func (_mock *MockAPIClient) ContainerExecInspect(ctx context.Context, execID string) (container.ExecInspect, error)
ContainerExecInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExecResize ¶
func (_mock *MockAPIClient) ContainerExecResize(ctx context.Context, execID string, options container.ResizeOptions) error
ContainerExecResize provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExecStart ¶
func (_mock *MockAPIClient) ContainerExecStart(ctx context.Context, execID string, options container.ExecStartOptions) error
ContainerExecStart provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerExport ¶
func (_mock *MockAPIClient) ContainerExport(ctx context.Context, container1 string) (io.ReadCloser, error)
ContainerExport provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerInspect ¶
func (_mock *MockAPIClient) ContainerInspect(ctx context.Context, container1 string) (container.InspectResponse, error)
ContainerInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerInspectWithRaw ¶
func (_mock *MockAPIClient) ContainerInspectWithRaw(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)
ContainerInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerKill ¶
func (_mock *MockAPIClient) ContainerKill(ctx context.Context, container1 string, signal string) error
ContainerKill provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerList ¶
func (_mock *MockAPIClient) ContainerList(ctx context.Context, options container.ListOptions) ([]container.Summary, error)
ContainerList provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerLogs ¶
func (_mock *MockAPIClient) ContainerLogs(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerPause ¶
func (_mock *MockAPIClient) ContainerPause(ctx context.Context, container1 string) error
ContainerPause provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerRemove ¶
func (_mock *MockAPIClient) ContainerRemove(ctx context.Context, container1 string, options container.RemoveOptions) error
ContainerRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerRename ¶
func (_mock *MockAPIClient) ContainerRename(ctx context.Context, container1 string, newContainerName string) error
ContainerRename provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerResize ¶
func (_mock *MockAPIClient) ContainerResize(ctx context.Context, container1 string, options container.ResizeOptions) error
ContainerResize provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerRestart ¶
func (_mock *MockAPIClient) ContainerRestart(ctx context.Context, container1 string, options container.StopOptions) error
ContainerRestart provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerStart ¶
func (_mock *MockAPIClient) ContainerStart(ctx context.Context, container1 string, options container.StartOptions) error
ContainerStart provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerStatPath ¶
func (_mock *MockAPIClient) ContainerStatPath(ctx context.Context, container1 string, path string) (container.PathStat, error)
ContainerStatPath provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerStats ¶
func (_mock *MockAPIClient) ContainerStats(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)
ContainerStats provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerStatsOneShot ¶
func (_mock *MockAPIClient) ContainerStatsOneShot(ctx context.Context, container1 string) (container.StatsResponseReader, error)
ContainerStatsOneShot provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerStop ¶
func (_mock *MockAPIClient) ContainerStop(ctx context.Context, container1 string, options container.StopOptions) error
ContainerStop provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerTop ¶
func (_mock *MockAPIClient) ContainerTop(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)
ContainerTop provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerUnpause ¶
func (_mock *MockAPIClient) ContainerUnpause(ctx context.Context, container1 string) error
ContainerUnpause provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerUpdate ¶
func (_mock *MockAPIClient) ContainerUpdate(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)
ContainerUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainerWait ¶
func (_mock *MockAPIClient) ContainerWait(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
ContainerWait provides a mock function for the type MockAPIClient
func (*MockAPIClient) ContainersPrune ¶
func (_mock *MockAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)
ContainersPrune provides a mock function for the type MockAPIClient
func (*MockAPIClient) CopyFromContainer ¶
func (_mock *MockAPIClient) CopyFromContainer(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)
CopyFromContainer provides a mock function for the type MockAPIClient
func (*MockAPIClient) CopyToContainer ¶
func (_mock *MockAPIClient) CopyToContainer(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions) error
CopyToContainer provides a mock function for the type MockAPIClient
func (*MockAPIClient) DaemonHost ¶
func (_mock *MockAPIClient) DaemonHost() string
DaemonHost provides a mock function for the type MockAPIClient
func (*MockAPIClient) DialHijack ¶
func (_mock *MockAPIClient) DialHijack(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)
DialHijack provides a mock function for the type MockAPIClient
func (*MockAPIClient) DiskUsage ¶
func (_mock *MockAPIClient) DiskUsage(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)
DiskUsage provides a mock function for the type MockAPIClient
func (*MockAPIClient) DistributionInspect ¶
func (_mock *MockAPIClient) DistributionInspect(ctx context.Context, image string, encodedRegistryAuth string) (registry.DistributionInspect, error)
DistributionInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) EXPECT ¶
func (_m *MockAPIClient) EXPECT() *MockAPIClient_Expecter
func (*MockAPIClient) Events ¶
func (_mock *MockAPIClient) Events(ctx context.Context, options events.ListOptions) (<-chan events.Message, <-chan error)
Events provides a mock function for the type MockAPIClient
func (*MockAPIClient) HTTPClient ¶
func (_mock *MockAPIClient) HTTPClient() *http.Client
HTTPClient provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageBuild ¶
func (_mock *MockAPIClient) ImageBuild(ctx context.Context, context1 io.Reader, options build.ImageBuildOptions) (build.ImageBuildResponse, error)
ImageBuild provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageCreate ¶
func (_mock *MockAPIClient) ImageCreate(ctx context.Context, parentReference string, options image.CreateOptions) (io.ReadCloser, error)
ImageCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageHistory ¶
func (_mock *MockAPIClient) ImageHistory(ctx context.Context, image1 string, imageHistoryOptions ...client.ImageHistoryOption) ([]image.HistoryResponseItem, error)
ImageHistory provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageImport ¶
func (_mock *MockAPIClient) ImageImport(ctx context.Context, source image.ImportSource, ref string, options image.ImportOptions) (io.ReadCloser, error)
ImageImport provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageInspect ¶
func (_mock *MockAPIClient) ImageInspect(ctx context.Context, image1 string, imageInspectOptions ...client.ImageInspectOption) (image.InspectResponse, error)
ImageInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageInspectWithRaw ¶
func (_mock *MockAPIClient) ImageInspectWithRaw(ctx context.Context, image1 string) (image.InspectResponse, []byte, error)
ImageInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageList ¶
func (_mock *MockAPIClient) ImageList(ctx context.Context, options image.ListOptions) ([]image.Summary, error)
ImageList provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageLoad ¶
func (_mock *MockAPIClient) ImageLoad(ctx context.Context, input io.Reader, imageLoadOptions ...client.ImageLoadOption) (image.LoadResponse, error)
ImageLoad provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImagePull ¶
func (_mock *MockAPIClient) ImagePull(ctx context.Context, ref string, options image.PullOptions) (io.ReadCloser, error)
ImagePull provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImagePush ¶
func (_mock *MockAPIClient) ImagePush(ctx context.Context, ref string, options image.PushOptions) (io.ReadCloser, error)
ImagePush provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageRemove ¶
func (_mock *MockAPIClient) ImageRemove(ctx context.Context, image1 string, options image.RemoveOptions) ([]image.DeleteResponse, error)
ImageRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageSave ¶
func (_mock *MockAPIClient) ImageSave(ctx context.Context, images []string, imageSaveOptions ...client.ImageSaveOption) (io.ReadCloser, error)
ImageSave provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImageSearch ¶
func (_mock *MockAPIClient) ImageSearch(ctx context.Context, term string, options registry.SearchOptions) ([]registry.SearchResult, error)
ImageSearch provides a mock function for the type MockAPIClient
func (*MockAPIClient) ImagesPrune ¶
func (_mock *MockAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (image.PruneReport, error)
ImagesPrune provides a mock function for the type MockAPIClient
func (*MockAPIClient) NegotiateAPIVersion ¶
func (_mock *MockAPIClient) NegotiateAPIVersion(ctx context.Context)
NegotiateAPIVersion provides a mock function for the type MockAPIClient
func (*MockAPIClient) NegotiateAPIVersionPing ¶
func (_mock *MockAPIClient) NegotiateAPIVersionPing(ping types.Ping)
NegotiateAPIVersionPing provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkConnect ¶
func (_mock *MockAPIClient) NetworkConnect(ctx context.Context, network1 string, container1 string, config *network.EndpointSettings) error
NetworkConnect provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkCreate ¶
func (_mock *MockAPIClient) NetworkCreate(ctx context.Context, name string, options network.CreateOptions) (network.CreateResponse, error)
NetworkCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkDisconnect ¶
func (_mock *MockAPIClient) NetworkDisconnect(ctx context.Context, network1 string, container1 string, force bool) error
NetworkDisconnect provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkInspect ¶
func (_mock *MockAPIClient) NetworkInspect(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, error)
NetworkInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkInspectWithRaw ¶
func (_mock *MockAPIClient) NetworkInspectWithRaw(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, []byte, error)
NetworkInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkList ¶
func (_mock *MockAPIClient) NetworkList(ctx context.Context, options network.ListOptions) ([]network.Summary, error)
NetworkList provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworkRemove ¶
func (_mock *MockAPIClient) NetworkRemove(ctx context.Context, network1 string) error
NetworkRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) NetworksPrune ¶
func (_mock *MockAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (network.PruneReport, error)
NetworksPrune provides a mock function for the type MockAPIClient
func (*MockAPIClient) NodeInspectWithRaw ¶
func (_mock *MockAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
NodeInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) NodeList ¶
func (_mock *MockAPIClient) NodeList(ctx context.Context, options swarm.NodeListOptions) ([]swarm.Node, error)
NodeList provides a mock function for the type MockAPIClient
func (*MockAPIClient) NodeRemove ¶
func (_mock *MockAPIClient) NodeRemove(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions) error
NodeRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) NodeUpdate ¶
func (_mock *MockAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
NodeUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginCreate ¶
func (_mock *MockAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error
PluginCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginDisable ¶
func (_mock *MockAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
PluginDisable provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginEnable ¶
func (_mock *MockAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
PluginEnable provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginInspectWithRaw ¶
func (_mock *MockAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
PluginInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginInstall ¶
func (_mock *MockAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginInstall provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginList ¶
func (_mock *MockAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
PluginList provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginPush ¶
func (_mock *MockAPIClient) PluginPush(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)
PluginPush provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginRemove ¶
func (_mock *MockAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
PluginRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) PluginUpgrade ¶
func (_mock *MockAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginUpgrade provides a mock function for the type MockAPIClient
func (*MockAPIClient) RegistryLogin ¶
func (_mock *MockAPIClient) RegistryLogin(ctx context.Context, auth registry.AuthConfig) (registry.AuthenticateOKBody, error)
RegistryLogin provides a mock function for the type MockAPIClient
func (*MockAPIClient) SecretCreate ¶
func (_mock *MockAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (swarm.SecretCreateResponse, error)
SecretCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) SecretInspectWithRaw ¶
func (_mock *MockAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
SecretInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) SecretList ¶
func (_mock *MockAPIClient) SecretList(ctx context.Context, options swarm.SecretListOptions) ([]swarm.Secret, error)
SecretList provides a mock function for the type MockAPIClient
func (*MockAPIClient) SecretRemove ¶
func (_mock *MockAPIClient) SecretRemove(ctx context.Context, id string) error
SecretRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) SecretUpdate ¶
func (_mock *MockAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
SecretUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServerVersion ¶
ServerVersion provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceCreate ¶
func (_mock *MockAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, options swarm.ServiceCreateOptions) (swarm.ServiceCreateResponse, error)
ServiceCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceInspectWithRaw ¶
func (_mock *MockAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options swarm.ServiceInspectOptions) (swarm.Service, []byte, error)
ServiceInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceList ¶
func (_mock *MockAPIClient) ServiceList(ctx context.Context, options swarm.ServiceListOptions) ([]swarm.Service, error)
ServiceList provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceLogs ¶
func (_mock *MockAPIClient) ServiceLogs(ctx context.Context, serviceID string, options container.LogsOptions) (io.ReadCloser, error)
ServiceLogs provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceRemove ¶
func (_mock *MockAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
ServiceRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) ServiceUpdate ¶
func (_mock *MockAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options swarm.ServiceUpdateOptions) (swarm.ServiceUpdateResponse, error)
ServiceUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmGetUnlockKey ¶
func (_mock *MockAPIClient) SwarmGetUnlockKey(ctx context.Context) (swarm.UnlockKeyResponse, error)
SwarmGetUnlockKey provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmInit ¶
func (_mock *MockAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
SwarmInit provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmInspect ¶
SwarmInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmJoin ¶
func (_mock *MockAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
SwarmJoin provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmLeave ¶
func (_mock *MockAPIClient) SwarmLeave(ctx context.Context, force bool) error
SwarmLeave provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmUnlock ¶
func (_mock *MockAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
SwarmUnlock provides a mock function for the type MockAPIClient
func (*MockAPIClient) SwarmUpdate ¶
func (_mock *MockAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm1 swarm.Spec, flags swarm.UpdateFlags) error
SwarmUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) TaskInspectWithRaw ¶
func (_mock *MockAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
TaskInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) TaskList ¶
func (_mock *MockAPIClient) TaskList(ctx context.Context, options swarm.TaskListOptions) ([]swarm.Task, error)
TaskList provides a mock function for the type MockAPIClient
func (*MockAPIClient) TaskLogs ¶
func (_mock *MockAPIClient) TaskLogs(ctx context.Context, taskID string, options container.LogsOptions) (io.ReadCloser, error)
TaskLogs provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeCreate ¶
func (_mock *MockAPIClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)
VolumeCreate provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeInspect ¶
func (_mock *MockAPIClient) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error)
VolumeInspect provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeInspectWithRaw ¶
func (_mock *MockAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (volume.Volume, []byte, error)
VolumeInspectWithRaw provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeList ¶
func (_mock *MockAPIClient) VolumeList(ctx context.Context, options volume.ListOptions) (volume.ListResponse, error)
VolumeList provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeRemove ¶
VolumeRemove provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumeUpdate ¶
func (_mock *MockAPIClient) VolumeUpdate(ctx context.Context, volumeID string, version swarm.Version, options volume.UpdateOptions) error
VolumeUpdate provides a mock function for the type MockAPIClient
func (*MockAPIClient) VolumesPrune ¶
func (_mock *MockAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (volume.PruneReport, error)
VolumesPrune provides a mock function for the type MockAPIClient
type MockAPIClient_BuildCachePrune_Call ¶
MockAPIClient_BuildCachePrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCachePrune'
func (*MockAPIClient_BuildCachePrune_Call) Return ¶
func (_c *MockAPIClient_BuildCachePrune_Call) Return(cachePruneReport *build.CachePruneReport, err error) *MockAPIClient_BuildCachePrune_Call
func (*MockAPIClient_BuildCachePrune_Call) Run ¶
func (_c *MockAPIClient_BuildCachePrune_Call) Run(run func(ctx context.Context, opts build.CachePruneOptions)) *MockAPIClient_BuildCachePrune_Call
func (*MockAPIClient_BuildCachePrune_Call) RunAndReturn ¶
func (_c *MockAPIClient_BuildCachePrune_Call) RunAndReturn(run func(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)) *MockAPIClient_BuildCachePrune_Call
type MockAPIClient_BuildCancel_Call ¶
MockAPIClient_BuildCancel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCancel'
func (*MockAPIClient_BuildCancel_Call) Return ¶
func (_c *MockAPIClient_BuildCancel_Call) Return(err error) *MockAPIClient_BuildCancel_Call
func (*MockAPIClient_BuildCancel_Call) Run ¶
func (_c *MockAPIClient_BuildCancel_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_BuildCancel_Call
func (*MockAPIClient_BuildCancel_Call) RunAndReturn ¶
func (_c *MockAPIClient_BuildCancel_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_BuildCancel_Call
type MockAPIClient_CheckpointCreate_Call ¶
MockAPIClient_CheckpointCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointCreate'
func (*MockAPIClient_CheckpointCreate_Call) Return ¶
func (_c *MockAPIClient_CheckpointCreate_Call) Return(err error) *MockAPIClient_CheckpointCreate_Call
func (*MockAPIClient_CheckpointCreate_Call) Run ¶
func (_c *MockAPIClient_CheckpointCreate_Call) Run(run func(ctx context.Context, container string, options checkpoint.CreateOptions)) *MockAPIClient_CheckpointCreate_Call
func (*MockAPIClient_CheckpointCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_CheckpointCreate_Call) RunAndReturn(run func(ctx context.Context, container string, options checkpoint.CreateOptions) error) *MockAPIClient_CheckpointCreate_Call
type MockAPIClient_CheckpointDelete_Call ¶
MockAPIClient_CheckpointDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointDelete'
func (*MockAPIClient_CheckpointDelete_Call) Return ¶
func (_c *MockAPIClient_CheckpointDelete_Call) Return(err error) *MockAPIClient_CheckpointDelete_Call
func (*MockAPIClient_CheckpointDelete_Call) Run ¶
func (_c *MockAPIClient_CheckpointDelete_Call) Run(run func(ctx context.Context, container string, options checkpoint.DeleteOptions)) *MockAPIClient_CheckpointDelete_Call
func (*MockAPIClient_CheckpointDelete_Call) RunAndReturn ¶
func (_c *MockAPIClient_CheckpointDelete_Call) RunAndReturn(run func(ctx context.Context, container string, options checkpoint.DeleteOptions) error) *MockAPIClient_CheckpointDelete_Call
type MockAPIClient_CheckpointList_Call ¶
MockAPIClient_CheckpointList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointList'
func (*MockAPIClient_CheckpointList_Call) Return ¶
func (_c *MockAPIClient_CheckpointList_Call) Return(summarys []checkpoint.Summary, err error) *MockAPIClient_CheckpointList_Call
func (*MockAPIClient_CheckpointList_Call) Run ¶
func (_c *MockAPIClient_CheckpointList_Call) Run(run func(ctx context.Context, container string, options checkpoint.ListOptions)) *MockAPIClient_CheckpointList_Call
func (*MockAPIClient_CheckpointList_Call) RunAndReturn ¶
func (_c *MockAPIClient_CheckpointList_Call) RunAndReturn(run func(ctx context.Context, container string, options checkpoint.ListOptions) ([]checkpoint.Summary, error)) *MockAPIClient_CheckpointList_Call
type MockAPIClient_ClientVersion_Call ¶
MockAPIClient_ClientVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientVersion'
func (*MockAPIClient_ClientVersion_Call) Return ¶
func (_c *MockAPIClient_ClientVersion_Call) Return(s string) *MockAPIClient_ClientVersion_Call
func (*MockAPIClient_ClientVersion_Call) Run ¶
func (_c *MockAPIClient_ClientVersion_Call) Run(run func()) *MockAPIClient_ClientVersion_Call
func (*MockAPIClient_ClientVersion_Call) RunAndReturn ¶
func (_c *MockAPIClient_ClientVersion_Call) RunAndReturn(run func() string) *MockAPIClient_ClientVersion_Call
type MockAPIClient_Close_Call ¶
MockAPIClient_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*MockAPIClient_Close_Call) Return ¶
func (_c *MockAPIClient_Close_Call) Return(err error) *MockAPIClient_Close_Call
func (*MockAPIClient_Close_Call) Run ¶
func (_c *MockAPIClient_Close_Call) Run(run func()) *MockAPIClient_Close_Call
func (*MockAPIClient_Close_Call) RunAndReturn ¶
func (_c *MockAPIClient_Close_Call) RunAndReturn(run func() error) *MockAPIClient_Close_Call
type MockAPIClient_ConfigCreate_Call ¶
MockAPIClient_ConfigCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigCreate'
func (*MockAPIClient_ConfigCreate_Call) Return ¶
func (_c *MockAPIClient_ConfigCreate_Call) Return(configCreateResponse swarm.ConfigCreateResponse, err error) *MockAPIClient_ConfigCreate_Call
func (*MockAPIClient_ConfigCreate_Call) Run ¶
func (_c *MockAPIClient_ConfigCreate_Call) Run(run func(ctx context.Context, config swarm.ConfigSpec)) *MockAPIClient_ConfigCreate_Call
func (*MockAPIClient_ConfigCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ConfigCreate_Call) RunAndReturn(run func(ctx context.Context, config swarm.ConfigSpec) (swarm.ConfigCreateResponse, error)) *MockAPIClient_ConfigCreate_Call
type MockAPIClient_ConfigInspectWithRaw_Call ¶
MockAPIClient_ConfigInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigInspectWithRaw'
func (*MockAPIClient_ConfigInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_ConfigInspectWithRaw_Call) Return(config swarm.Config, bytes []byte, err error) *MockAPIClient_ConfigInspectWithRaw_Call
func (*MockAPIClient_ConfigInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_ConfigInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_ConfigInspectWithRaw_Call
func (*MockAPIClient_ConfigInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_ConfigInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (swarm.Config, []byte, error)) *MockAPIClient_ConfigInspectWithRaw_Call
type MockAPIClient_ConfigList_Call ¶
MockAPIClient_ConfigList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigList'
func (*MockAPIClient_ConfigList_Call) Return ¶
func (_c *MockAPIClient_ConfigList_Call) Return(configs []swarm.Config, err error) *MockAPIClient_ConfigList_Call
func (*MockAPIClient_ConfigList_Call) Run ¶
func (_c *MockAPIClient_ConfigList_Call) Run(run func(ctx context.Context, options swarm.ConfigListOptions)) *MockAPIClient_ConfigList_Call
func (*MockAPIClient_ConfigList_Call) RunAndReturn ¶
func (_c *MockAPIClient_ConfigList_Call) RunAndReturn(run func(ctx context.Context, options swarm.ConfigListOptions) ([]swarm.Config, error)) *MockAPIClient_ConfigList_Call
type MockAPIClient_ConfigRemove_Call ¶
MockAPIClient_ConfigRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigRemove'
func (*MockAPIClient_ConfigRemove_Call) Return ¶
func (_c *MockAPIClient_ConfigRemove_Call) Return(err error) *MockAPIClient_ConfigRemove_Call
func (*MockAPIClient_ConfigRemove_Call) Run ¶
func (_c *MockAPIClient_ConfigRemove_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_ConfigRemove_Call
func (*MockAPIClient_ConfigRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_ConfigRemove_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_ConfigRemove_Call
type MockAPIClient_ConfigUpdate_Call ¶
MockAPIClient_ConfigUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConfigUpdate'
func (*MockAPIClient_ConfigUpdate_Call) Return ¶
func (_c *MockAPIClient_ConfigUpdate_Call) Return(err error) *MockAPIClient_ConfigUpdate_Call
func (*MockAPIClient_ConfigUpdate_Call) Run ¶
func (_c *MockAPIClient_ConfigUpdate_Call) Run(run func(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec)) *MockAPIClient_ConfigUpdate_Call
func (*MockAPIClient_ConfigUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ConfigUpdate_Call) RunAndReturn(run func(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error) *MockAPIClient_ConfigUpdate_Call
type MockAPIClient_ContainerAttach_Call ¶
MockAPIClient_ContainerAttach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerAttach'
func (*MockAPIClient_ContainerAttach_Call) Return ¶
func (_c *MockAPIClient_ContainerAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockAPIClient_ContainerAttach_Call
func (*MockAPIClient_ContainerAttach_Call) Run ¶
func (_c *MockAPIClient_ContainerAttach_Call) Run(run func(ctx context.Context, container1 string, options container.AttachOptions)) *MockAPIClient_ContainerAttach_Call
func (*MockAPIClient_ContainerAttach_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerAttach_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)) *MockAPIClient_ContainerAttach_Call
type MockAPIClient_ContainerCommit_Call ¶
MockAPIClient_ContainerCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerCommit'
func (*MockAPIClient_ContainerCommit_Call) Return ¶
func (_c *MockAPIClient_ContainerCommit_Call) Return(v container.CommitResponse, err error) *MockAPIClient_ContainerCommit_Call
func (*MockAPIClient_ContainerCommit_Call) Run ¶
func (_c *MockAPIClient_ContainerCommit_Call) Run(run func(ctx context.Context, container1 string, options container.CommitOptions)) *MockAPIClient_ContainerCommit_Call
func (*MockAPIClient_ContainerCommit_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerCommit_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)) *MockAPIClient_ContainerCommit_Call
type MockAPIClient_ContainerCreate_Call ¶
MockAPIClient_ContainerCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerCreate'
func (*MockAPIClient_ContainerCreate_Call) Return ¶
func (_c *MockAPIClient_ContainerCreate_Call) Return(createResponse container.CreateResponse, err error) *MockAPIClient_ContainerCreate_Call
func (*MockAPIClient_ContainerCreate_Call) Run ¶
func (_c *MockAPIClient_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string)) *MockAPIClient_ContainerCreate_Call
func (*MockAPIClient_ContainerCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerCreate_Call) RunAndReturn(run func(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error)) *MockAPIClient_ContainerCreate_Call
type MockAPIClient_ContainerDiff_Call ¶
MockAPIClient_ContainerDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerDiff'
func (*MockAPIClient_ContainerDiff_Call) Return ¶
func (_c *MockAPIClient_ContainerDiff_Call) Return(filesystemChanges []container.FilesystemChange, err error) *MockAPIClient_ContainerDiff_Call
func (*MockAPIClient_ContainerDiff_Call) Run ¶
func (_c *MockAPIClient_ContainerDiff_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerDiff_Call
func (*MockAPIClient_ContainerDiff_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerDiff_Call) RunAndReturn(run func(ctx context.Context, container1 string) ([]container.FilesystemChange, error)) *MockAPIClient_ContainerDiff_Call
type MockAPIClient_ContainerExecAttach_Call ¶
MockAPIClient_ContainerExecAttach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecAttach'
func (*MockAPIClient_ContainerExecAttach_Call) Return ¶
func (_c *MockAPIClient_ContainerExecAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockAPIClient_ContainerExecAttach_Call
func (*MockAPIClient_ContainerExecAttach_Call) Run ¶
func (_c *MockAPIClient_ContainerExecAttach_Call) Run(run func(ctx context.Context, execID string, options container.ExecAttachOptions)) *MockAPIClient_ContainerExecAttach_Call
func (*MockAPIClient_ContainerExecAttach_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExecAttach_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)) *MockAPIClient_ContainerExecAttach_Call
type MockAPIClient_ContainerExecCreate_Call ¶
MockAPIClient_ContainerExecCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecCreate'
func (*MockAPIClient_ContainerExecCreate_Call) Return ¶
func (_c *MockAPIClient_ContainerExecCreate_Call) Return(v container.ExecCreateResponse, err error) *MockAPIClient_ContainerExecCreate_Call
func (*MockAPIClient_ContainerExecCreate_Call) Run ¶
func (_c *MockAPIClient_ContainerExecCreate_Call) Run(run func(ctx context.Context, container1 string, options container.ExecOptions)) *MockAPIClient_ContainerExecCreate_Call
func (*MockAPIClient_ContainerExecCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExecCreate_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)) *MockAPIClient_ContainerExecCreate_Call
type MockAPIClient_ContainerExecInspect_Call ¶
MockAPIClient_ContainerExecInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecInspect'
func (*MockAPIClient_ContainerExecInspect_Call) Return ¶
func (_c *MockAPIClient_ContainerExecInspect_Call) Return(execInspect container.ExecInspect, err error) *MockAPIClient_ContainerExecInspect_Call
func (*MockAPIClient_ContainerExecInspect_Call) Run ¶
func (_c *MockAPIClient_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *MockAPIClient_ContainerExecInspect_Call
func (*MockAPIClient_ContainerExecInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExecInspect_Call) RunAndReturn(run func(ctx context.Context, execID string) (container.ExecInspect, error)) *MockAPIClient_ContainerExecInspect_Call
type MockAPIClient_ContainerExecResize_Call ¶
MockAPIClient_ContainerExecResize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecResize'
func (*MockAPIClient_ContainerExecResize_Call) Return ¶
func (_c *MockAPIClient_ContainerExecResize_Call) Return(err error) *MockAPIClient_ContainerExecResize_Call
func (*MockAPIClient_ContainerExecResize_Call) Run ¶
func (_c *MockAPIClient_ContainerExecResize_Call) Run(run func(ctx context.Context, execID string, options container.ResizeOptions)) *MockAPIClient_ContainerExecResize_Call
func (*MockAPIClient_ContainerExecResize_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExecResize_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ResizeOptions) error) *MockAPIClient_ContainerExecResize_Call
type MockAPIClient_ContainerExecStart_Call ¶
MockAPIClient_ContainerExecStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecStart'
func (*MockAPIClient_ContainerExecStart_Call) Return ¶
func (_c *MockAPIClient_ContainerExecStart_Call) Return(err error) *MockAPIClient_ContainerExecStart_Call
func (*MockAPIClient_ContainerExecStart_Call) Run ¶
func (_c *MockAPIClient_ContainerExecStart_Call) Run(run func(ctx context.Context, execID string, options container.ExecStartOptions)) *MockAPIClient_ContainerExecStart_Call
func (*MockAPIClient_ContainerExecStart_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExecStart_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ExecStartOptions) error) *MockAPIClient_ContainerExecStart_Call
type MockAPIClient_ContainerExport_Call ¶
MockAPIClient_ContainerExport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExport'
func (*MockAPIClient_ContainerExport_Call) Return ¶
func (_c *MockAPIClient_ContainerExport_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ContainerExport_Call
func (*MockAPIClient_ContainerExport_Call) Run ¶
func (_c *MockAPIClient_ContainerExport_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerExport_Call
func (*MockAPIClient_ContainerExport_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerExport_Call) RunAndReturn(run func(ctx context.Context, container1 string) (io.ReadCloser, error)) *MockAPIClient_ContainerExport_Call
type MockAPIClient_ContainerInspectWithRaw_Call ¶
MockAPIClient_ContainerInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerInspectWithRaw'
func (*MockAPIClient_ContainerInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_ContainerInspectWithRaw_Call) Return(inspectResponse container.InspectResponse, bytes []byte, err error) *MockAPIClient_ContainerInspectWithRaw_Call
func (*MockAPIClient_ContainerInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_ContainerInspectWithRaw_Call) Run(run func(ctx context.Context, container1 string, getSize bool)) *MockAPIClient_ContainerInspectWithRaw_Call
func (*MockAPIClient_ContainerInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)) *MockAPIClient_ContainerInspectWithRaw_Call
type MockAPIClient_ContainerInspect_Call ¶
MockAPIClient_ContainerInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerInspect'
func (*MockAPIClient_ContainerInspect_Call) Return ¶
func (_c *MockAPIClient_ContainerInspect_Call) Return(inspectResponse container.InspectResponse, err error) *MockAPIClient_ContainerInspect_Call
func (*MockAPIClient_ContainerInspect_Call) Run ¶
func (_c *MockAPIClient_ContainerInspect_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerInspect_Call
func (*MockAPIClient_ContainerInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerInspect_Call) RunAndReturn(run func(ctx context.Context, container1 string) (container.InspectResponse, error)) *MockAPIClient_ContainerInspect_Call
type MockAPIClient_ContainerKill_Call ¶
MockAPIClient_ContainerKill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerKill'
func (*MockAPIClient_ContainerKill_Call) Return ¶
func (_c *MockAPIClient_ContainerKill_Call) Return(err error) *MockAPIClient_ContainerKill_Call
func (*MockAPIClient_ContainerKill_Call) Run ¶
func (_c *MockAPIClient_ContainerKill_Call) Run(run func(ctx context.Context, container1 string, signal string)) *MockAPIClient_ContainerKill_Call
func (*MockAPIClient_ContainerKill_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerKill_Call) RunAndReturn(run func(ctx context.Context, container1 string, signal string) error) *MockAPIClient_ContainerKill_Call
type MockAPIClient_ContainerList_Call ¶
MockAPIClient_ContainerList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerList'
func (*MockAPIClient_ContainerList_Call) Return ¶
func (_c *MockAPIClient_ContainerList_Call) Return(summarys []container.Summary, err error) *MockAPIClient_ContainerList_Call
func (*MockAPIClient_ContainerList_Call) Run ¶
func (_c *MockAPIClient_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *MockAPIClient_ContainerList_Call
func (*MockAPIClient_ContainerList_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerList_Call) RunAndReturn(run func(ctx context.Context, options container.ListOptions) ([]container.Summary, error)) *MockAPIClient_ContainerList_Call
type MockAPIClient_ContainerLogs_Call ¶
MockAPIClient_ContainerLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerLogs'
func (*MockAPIClient_ContainerLogs_Call) Return ¶
func (_c *MockAPIClient_ContainerLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ContainerLogs_Call
func (*MockAPIClient_ContainerLogs_Call) Run ¶
func (_c *MockAPIClient_ContainerLogs_Call) Run(run func(ctx context.Context, container1 string, options container.LogsOptions)) *MockAPIClient_ContainerLogs_Call
func (*MockAPIClient_ContainerLogs_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerLogs_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)) *MockAPIClient_ContainerLogs_Call
type MockAPIClient_ContainerPause_Call ¶
MockAPIClient_ContainerPause_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerPause'
func (*MockAPIClient_ContainerPause_Call) Return ¶
func (_c *MockAPIClient_ContainerPause_Call) Return(err error) *MockAPIClient_ContainerPause_Call
func (*MockAPIClient_ContainerPause_Call) Run ¶
func (_c *MockAPIClient_ContainerPause_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerPause_Call
func (*MockAPIClient_ContainerPause_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerPause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockAPIClient_ContainerPause_Call
type MockAPIClient_ContainerRemove_Call ¶
MockAPIClient_ContainerRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRemove'
func (*MockAPIClient_ContainerRemove_Call) Return ¶
func (_c *MockAPIClient_ContainerRemove_Call) Return(err error) *MockAPIClient_ContainerRemove_Call
func (*MockAPIClient_ContainerRemove_Call) Run ¶
func (_c *MockAPIClient_ContainerRemove_Call) Run(run func(ctx context.Context, container1 string, options container.RemoveOptions)) *MockAPIClient_ContainerRemove_Call
func (*MockAPIClient_ContainerRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerRemove_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.RemoveOptions) error) *MockAPIClient_ContainerRemove_Call
type MockAPIClient_ContainerRename_Call ¶
MockAPIClient_ContainerRename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRename'
func (*MockAPIClient_ContainerRename_Call) Return ¶
func (_c *MockAPIClient_ContainerRename_Call) Return(err error) *MockAPIClient_ContainerRename_Call
func (*MockAPIClient_ContainerRename_Call) Run ¶
func (_c *MockAPIClient_ContainerRename_Call) Run(run func(ctx context.Context, container1 string, newContainerName string)) *MockAPIClient_ContainerRename_Call
func (*MockAPIClient_ContainerRename_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerRename_Call) RunAndReturn(run func(ctx context.Context, container1 string, newContainerName string) error) *MockAPIClient_ContainerRename_Call
type MockAPIClient_ContainerResize_Call ¶
MockAPIClient_ContainerResize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerResize'
func (*MockAPIClient_ContainerResize_Call) Return ¶
func (_c *MockAPIClient_ContainerResize_Call) Return(err error) *MockAPIClient_ContainerResize_Call
func (*MockAPIClient_ContainerResize_Call) Run ¶
func (_c *MockAPIClient_ContainerResize_Call) Run(run func(ctx context.Context, container1 string, options container.ResizeOptions)) *MockAPIClient_ContainerResize_Call
func (*MockAPIClient_ContainerResize_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerResize_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.ResizeOptions) error) *MockAPIClient_ContainerResize_Call
type MockAPIClient_ContainerRestart_Call ¶
MockAPIClient_ContainerRestart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRestart'
func (*MockAPIClient_ContainerRestart_Call) Return ¶
func (_c *MockAPIClient_ContainerRestart_Call) Return(err error) *MockAPIClient_ContainerRestart_Call
func (*MockAPIClient_ContainerRestart_Call) Run ¶
func (_c *MockAPIClient_ContainerRestart_Call) Run(run func(ctx context.Context, container1 string, options container.StopOptions)) *MockAPIClient_ContainerRestart_Call
func (*MockAPIClient_ContainerRestart_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerRestart_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StopOptions) error) *MockAPIClient_ContainerRestart_Call
type MockAPIClient_ContainerStart_Call ¶
MockAPIClient_ContainerStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStart'
func (*MockAPIClient_ContainerStart_Call) Return ¶
func (_c *MockAPIClient_ContainerStart_Call) Return(err error) *MockAPIClient_ContainerStart_Call
func (*MockAPIClient_ContainerStart_Call) Run ¶
func (_c *MockAPIClient_ContainerStart_Call) Run(run func(ctx context.Context, container1 string, options container.StartOptions)) *MockAPIClient_ContainerStart_Call
func (*MockAPIClient_ContainerStart_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerStart_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StartOptions) error) *MockAPIClient_ContainerStart_Call
type MockAPIClient_ContainerStatPath_Call ¶
MockAPIClient_ContainerStatPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatPath'
func (*MockAPIClient_ContainerStatPath_Call) Return ¶
func (_c *MockAPIClient_ContainerStatPath_Call) Return(pathStat container.PathStat, err error) *MockAPIClient_ContainerStatPath_Call
func (*MockAPIClient_ContainerStatPath_Call) Run ¶
func (_c *MockAPIClient_ContainerStatPath_Call) Run(run func(ctx context.Context, container1 string, path string)) *MockAPIClient_ContainerStatPath_Call
func (*MockAPIClient_ContainerStatPath_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerStatPath_Call) RunAndReturn(run func(ctx context.Context, container1 string, path string) (container.PathStat, error)) *MockAPIClient_ContainerStatPath_Call
type MockAPIClient_ContainerStatsOneShot_Call ¶
MockAPIClient_ContainerStatsOneShot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatsOneShot'
func (*MockAPIClient_ContainerStatsOneShot_Call) Return ¶
func (_c *MockAPIClient_ContainerStatsOneShot_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockAPIClient_ContainerStatsOneShot_Call
func (*MockAPIClient_ContainerStatsOneShot_Call) Run ¶
func (_c *MockAPIClient_ContainerStatsOneShot_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerStatsOneShot_Call
func (*MockAPIClient_ContainerStatsOneShot_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerStatsOneShot_Call) RunAndReturn(run func(ctx context.Context, container1 string) (container.StatsResponseReader, error)) *MockAPIClient_ContainerStatsOneShot_Call
type MockAPIClient_ContainerStats_Call ¶
MockAPIClient_ContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStats'
func (*MockAPIClient_ContainerStats_Call) Return ¶
func (_c *MockAPIClient_ContainerStats_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockAPIClient_ContainerStats_Call
func (*MockAPIClient_ContainerStats_Call) Run ¶
func (_c *MockAPIClient_ContainerStats_Call) Run(run func(ctx context.Context, container1 string, stream bool)) *MockAPIClient_ContainerStats_Call
func (*MockAPIClient_ContainerStats_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerStats_Call) RunAndReturn(run func(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)) *MockAPIClient_ContainerStats_Call
type MockAPIClient_ContainerStop_Call ¶
MockAPIClient_ContainerStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStop'
func (*MockAPIClient_ContainerStop_Call) Return ¶
func (_c *MockAPIClient_ContainerStop_Call) Return(err error) *MockAPIClient_ContainerStop_Call
func (*MockAPIClient_ContainerStop_Call) Run ¶
func (_c *MockAPIClient_ContainerStop_Call) Run(run func(ctx context.Context, container1 string, options container.StopOptions)) *MockAPIClient_ContainerStop_Call
func (*MockAPIClient_ContainerStop_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerStop_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StopOptions) error) *MockAPIClient_ContainerStop_Call
type MockAPIClient_ContainerTop_Call ¶
MockAPIClient_ContainerTop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerTop'
func (*MockAPIClient_ContainerTop_Call) Return ¶
func (_c *MockAPIClient_ContainerTop_Call) Return(topResponse container.TopResponse, err error) *MockAPIClient_ContainerTop_Call
func (*MockAPIClient_ContainerTop_Call) Run ¶
func (_c *MockAPIClient_ContainerTop_Call) Run(run func(ctx context.Context, container1 string, arguments []string)) *MockAPIClient_ContainerTop_Call
func (*MockAPIClient_ContainerTop_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerTop_Call) RunAndReturn(run func(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)) *MockAPIClient_ContainerTop_Call
type MockAPIClient_ContainerUnpause_Call ¶
MockAPIClient_ContainerUnpause_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUnpause'
func (*MockAPIClient_ContainerUnpause_Call) Return ¶
func (_c *MockAPIClient_ContainerUnpause_Call) Return(err error) *MockAPIClient_ContainerUnpause_Call
func (*MockAPIClient_ContainerUnpause_Call) Run ¶
func (_c *MockAPIClient_ContainerUnpause_Call) Run(run func(ctx context.Context, container1 string)) *MockAPIClient_ContainerUnpause_Call
func (*MockAPIClient_ContainerUnpause_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerUnpause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockAPIClient_ContainerUnpause_Call
type MockAPIClient_ContainerUpdate_Call ¶
MockAPIClient_ContainerUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUpdate'
func (*MockAPIClient_ContainerUpdate_Call) Return ¶
func (_c *MockAPIClient_ContainerUpdate_Call) Return(updateResponse container.UpdateResponse, err error) *MockAPIClient_ContainerUpdate_Call
func (*MockAPIClient_ContainerUpdate_Call) Run ¶
func (_c *MockAPIClient_ContainerUpdate_Call) Run(run func(ctx context.Context, container1 string, updateConfig container.UpdateConfig)) *MockAPIClient_ContainerUpdate_Call
func (*MockAPIClient_ContainerUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerUpdate_Call) RunAndReturn(run func(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)) *MockAPIClient_ContainerUpdate_Call
type MockAPIClient_ContainerWait_Call ¶
MockAPIClient_ContainerWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerWait'
func (*MockAPIClient_ContainerWait_Call) Return ¶
func (_c *MockAPIClient_ContainerWait_Call) Return(waitResponseCh <-chan container.WaitResponse, errCh <-chan error) *MockAPIClient_ContainerWait_Call
func (*MockAPIClient_ContainerWait_Call) Run ¶
func (_c *MockAPIClient_ContainerWait_Call) Run(run func(ctx context.Context, container1 string, condition container.WaitCondition)) *MockAPIClient_ContainerWait_Call
func (*MockAPIClient_ContainerWait_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainerWait_Call) RunAndReturn(run func(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)) *MockAPIClient_ContainerWait_Call
type MockAPIClient_ContainersPrune_Call ¶
MockAPIClient_ContainersPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainersPrune'
func (*MockAPIClient_ContainersPrune_Call) Return ¶
func (_c *MockAPIClient_ContainersPrune_Call) Return(pruneReport container.PruneReport, err error) *MockAPIClient_ContainersPrune_Call
func (*MockAPIClient_ContainersPrune_Call) Run ¶
func (_c *MockAPIClient_ContainersPrune_Call) Run(run func(ctx context.Context, pruneFilters filters.Args)) *MockAPIClient_ContainersPrune_Call
func (*MockAPIClient_ContainersPrune_Call) RunAndReturn ¶
func (_c *MockAPIClient_ContainersPrune_Call) RunAndReturn(run func(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)) *MockAPIClient_ContainersPrune_Call
type MockAPIClient_CopyFromContainer_Call ¶
MockAPIClient_CopyFromContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFromContainer'
func (*MockAPIClient_CopyFromContainer_Call) Return ¶
func (_c *MockAPIClient_CopyFromContainer_Call) Return(readCloser io.ReadCloser, pathStat container.PathStat, err error) *MockAPIClient_CopyFromContainer_Call
func (*MockAPIClient_CopyFromContainer_Call) Run ¶
func (_c *MockAPIClient_CopyFromContainer_Call) Run(run func(ctx context.Context, container1 string, srcPath string)) *MockAPIClient_CopyFromContainer_Call
func (*MockAPIClient_CopyFromContainer_Call) RunAndReturn ¶
func (_c *MockAPIClient_CopyFromContainer_Call) RunAndReturn(run func(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)) *MockAPIClient_CopyFromContainer_Call
type MockAPIClient_CopyToContainer_Call ¶
MockAPIClient_CopyToContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyToContainer'
func (*MockAPIClient_CopyToContainer_Call) Return ¶
func (_c *MockAPIClient_CopyToContainer_Call) Return(err error) *MockAPIClient_CopyToContainer_Call
func (*MockAPIClient_CopyToContainer_Call) Run ¶
func (_c *MockAPIClient_CopyToContainer_Call) Run(run func(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions)) *MockAPIClient_CopyToContainer_Call
func (*MockAPIClient_CopyToContainer_Call) RunAndReturn ¶
func (_c *MockAPIClient_CopyToContainer_Call) RunAndReturn(run func(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions) error) *MockAPIClient_CopyToContainer_Call
type MockAPIClient_DaemonHost_Call ¶
MockAPIClient_DaemonHost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DaemonHost'
func (*MockAPIClient_DaemonHost_Call) Return ¶
func (_c *MockAPIClient_DaemonHost_Call) Return(s string) *MockAPIClient_DaemonHost_Call
func (*MockAPIClient_DaemonHost_Call) Run ¶
func (_c *MockAPIClient_DaemonHost_Call) Run(run func()) *MockAPIClient_DaemonHost_Call
func (*MockAPIClient_DaemonHost_Call) RunAndReturn ¶
func (_c *MockAPIClient_DaemonHost_Call) RunAndReturn(run func() string) *MockAPIClient_DaemonHost_Call
type MockAPIClient_DialHijack_Call ¶
MockAPIClient_DialHijack_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DialHijack'
func (*MockAPIClient_DialHijack_Call) Return ¶
func (_c *MockAPIClient_DialHijack_Call) Return(conn net.Conn, err error) *MockAPIClient_DialHijack_Call
func (*MockAPIClient_DialHijack_Call) Run ¶
func (_c *MockAPIClient_DialHijack_Call) Run(run func(ctx context.Context, url string, proto string, meta map[string][]string)) *MockAPIClient_DialHijack_Call
func (*MockAPIClient_DialHijack_Call) RunAndReturn ¶
type MockAPIClient_Dialer_Call ¶
MockAPIClient_Dialer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Dialer'
func (*MockAPIClient_Dialer_Call) Return ¶
func (_c *MockAPIClient_Dialer_Call) Return(fn func(context.Context) (net.Conn, error)) *MockAPIClient_Dialer_Call
func (*MockAPIClient_Dialer_Call) Run ¶
func (_c *MockAPIClient_Dialer_Call) Run(run func()) *MockAPIClient_Dialer_Call
func (*MockAPIClient_Dialer_Call) RunAndReturn ¶
func (_c *MockAPIClient_Dialer_Call) RunAndReturn(run func() func(context.Context) (net.Conn, error)) *MockAPIClient_Dialer_Call
type MockAPIClient_DiskUsage_Call ¶
MockAPIClient_DiskUsage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiskUsage'
func (*MockAPIClient_DiskUsage_Call) Return ¶
func (_c *MockAPIClient_DiskUsage_Call) Return(diskUsage types.DiskUsage, err error) *MockAPIClient_DiskUsage_Call
func (*MockAPIClient_DiskUsage_Call) Run ¶
func (_c *MockAPIClient_DiskUsage_Call) Run(run func(ctx context.Context, options types.DiskUsageOptions)) *MockAPIClient_DiskUsage_Call
func (*MockAPIClient_DiskUsage_Call) RunAndReturn ¶
func (_c *MockAPIClient_DiskUsage_Call) RunAndReturn(run func(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)) *MockAPIClient_DiskUsage_Call
type MockAPIClient_DistributionInspect_Call ¶
MockAPIClient_DistributionInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DistributionInspect'
func (*MockAPIClient_DistributionInspect_Call) Return ¶
func (_c *MockAPIClient_DistributionInspect_Call) Return(distributionInspect registry.DistributionInspect, err error) *MockAPIClient_DistributionInspect_Call
func (*MockAPIClient_DistributionInspect_Call) Run ¶
func (_c *MockAPIClient_DistributionInspect_Call) Run(run func(ctx context.Context, image string, encodedRegistryAuth string)) *MockAPIClient_DistributionInspect_Call
func (*MockAPIClient_DistributionInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_DistributionInspect_Call) RunAndReturn(run func(ctx context.Context, image string, encodedRegistryAuth string) (registry.DistributionInspect, error)) *MockAPIClient_DistributionInspect_Call
type MockAPIClient_Events_Call ¶
MockAPIClient_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*MockAPIClient_Events_Call) Return ¶
func (_c *MockAPIClient_Events_Call) Return(messageCh <-chan events.Message, errCh <-chan error) *MockAPIClient_Events_Call
func (*MockAPIClient_Events_Call) Run ¶
func (_c *MockAPIClient_Events_Call) Run(run func(ctx context.Context, options events.ListOptions)) *MockAPIClient_Events_Call
func (*MockAPIClient_Events_Call) RunAndReturn ¶
func (_c *MockAPIClient_Events_Call) RunAndReturn(run func(ctx context.Context, options events.ListOptions) (<-chan events.Message, <-chan error)) *MockAPIClient_Events_Call
type MockAPIClient_Expecter ¶
type MockAPIClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAPIClient_Expecter) BuildCachePrune ¶
func (_e *MockAPIClient_Expecter) BuildCachePrune(ctx interface{}, opts interface{}) *MockAPIClient_BuildCachePrune_Call
BuildCachePrune is a helper method to define mock.On call
- ctx context.Context
- opts build.CachePruneOptions
func (*MockAPIClient_Expecter) BuildCancel ¶
func (_e *MockAPIClient_Expecter) BuildCancel(ctx interface{}, id interface{}) *MockAPIClient_BuildCancel_Call
BuildCancel is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAPIClient_Expecter) CheckpointCreate ¶
func (_e *MockAPIClient_Expecter) CheckpointCreate(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointCreate_Call
CheckpointCreate is a helper method to define mock.On call
- ctx context.Context
- container string
- options checkpoint.CreateOptions
func (*MockAPIClient_Expecter) CheckpointDelete ¶
func (_e *MockAPIClient_Expecter) CheckpointDelete(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointDelete_Call
CheckpointDelete is a helper method to define mock.On call
- ctx context.Context
- container string
- options checkpoint.DeleteOptions
func (*MockAPIClient_Expecter) CheckpointList ¶
func (_e *MockAPIClient_Expecter) CheckpointList(ctx interface{}, container interface{}, options interface{}) *MockAPIClient_CheckpointList_Call
CheckpointList is a helper method to define mock.On call
- ctx context.Context
- container string
- options checkpoint.ListOptions
func (*MockAPIClient_Expecter) ClientVersion ¶
func (_e *MockAPIClient_Expecter) ClientVersion() *MockAPIClient_ClientVersion_Call
ClientVersion is a helper method to define mock.On call
func (*MockAPIClient_Expecter) Close ¶
func (_e *MockAPIClient_Expecter) Close() *MockAPIClient_Close_Call
Close is a helper method to define mock.On call
func (*MockAPIClient_Expecter) ConfigCreate ¶
func (_e *MockAPIClient_Expecter) ConfigCreate(ctx interface{}, config interface{}) *MockAPIClient_ConfigCreate_Call
ConfigCreate is a helper method to define mock.On call
- ctx context.Context
- config swarm.ConfigSpec
func (*MockAPIClient_Expecter) ConfigInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) ConfigInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_ConfigInspectWithRaw_Call
ConfigInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAPIClient_Expecter) ConfigList ¶
func (_e *MockAPIClient_Expecter) ConfigList(ctx interface{}, options interface{}) *MockAPIClient_ConfigList_Call
ConfigList is a helper method to define mock.On call
- ctx context.Context
- options swarm.ConfigListOptions
func (*MockAPIClient_Expecter) ConfigRemove ¶
func (_e *MockAPIClient_Expecter) ConfigRemove(ctx interface{}, id interface{}) *MockAPIClient_ConfigRemove_Call
ConfigRemove is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAPIClient_Expecter) ConfigUpdate ¶
func (_e *MockAPIClient_Expecter) ConfigUpdate(ctx interface{}, id interface{}, version interface{}, config interface{}) *MockAPIClient_ConfigUpdate_Call
ConfigUpdate is a helper method to define mock.On call
- ctx context.Context
- id string
- version swarm.Version
- config swarm.ConfigSpec
func (*MockAPIClient_Expecter) ContainerAttach ¶
func (_e *MockAPIClient_Expecter) ContainerAttach(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerAttach_Call
ContainerAttach is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.AttachOptions
func (*MockAPIClient_Expecter) ContainerCommit ¶
func (_e *MockAPIClient_Expecter) ContainerCommit(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerCommit_Call
ContainerCommit is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.CommitOptions
func (*MockAPIClient_Expecter) ContainerCreate ¶
func (_e *MockAPIClient_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, networkingConfig interface{}, platform interface{}, containerName interface{}) *MockAPIClient_ContainerCreate_Call
ContainerCreate is a helper method to define mock.On call
- ctx context.Context
- config *container.Config
- hostConfig *container.HostConfig
- networkingConfig *network.NetworkingConfig
- platform *v1.Platform
- containerName string
func (*MockAPIClient_Expecter) ContainerDiff ¶
func (_e *MockAPIClient_Expecter) ContainerDiff(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerDiff_Call
ContainerDiff is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerExecAttach ¶
func (_e *MockAPIClient_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecAttach_Call
ContainerExecAttach is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ExecAttachOptions
func (*MockAPIClient_Expecter) ContainerExecCreate ¶
func (_e *MockAPIClient_Expecter) ContainerExecCreate(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerExecCreate_Call
ContainerExecCreate is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.ExecOptions
func (*MockAPIClient_Expecter) ContainerExecInspect ¶
func (_e *MockAPIClient_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *MockAPIClient_ContainerExecInspect_Call
ContainerExecInspect is a helper method to define mock.On call
- ctx context.Context
- execID string
func (*MockAPIClient_Expecter) ContainerExecResize ¶
func (_e *MockAPIClient_Expecter) ContainerExecResize(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecResize_Call
ContainerExecResize is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ResizeOptions
func (*MockAPIClient_Expecter) ContainerExecStart ¶
func (_e *MockAPIClient_Expecter) ContainerExecStart(ctx interface{}, execID interface{}, options interface{}) *MockAPIClient_ContainerExecStart_Call
ContainerExecStart is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ExecStartOptions
func (*MockAPIClient_Expecter) ContainerExport ¶
func (_e *MockAPIClient_Expecter) ContainerExport(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerExport_Call
ContainerExport is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerInspect ¶
func (_e *MockAPIClient_Expecter) ContainerInspect(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerInspect_Call
ContainerInspect is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) ContainerInspectWithRaw(ctx interface{}, container1 interface{}, getSize interface{}) *MockAPIClient_ContainerInspectWithRaw_Call
ContainerInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- container1 string
- getSize bool
func (*MockAPIClient_Expecter) ContainerKill ¶
func (_e *MockAPIClient_Expecter) ContainerKill(ctx interface{}, container1 interface{}, signal interface{}) *MockAPIClient_ContainerKill_Call
ContainerKill is a helper method to define mock.On call
- ctx context.Context
- container1 string
- signal string
func (*MockAPIClient_Expecter) ContainerList ¶
func (_e *MockAPIClient_Expecter) ContainerList(ctx interface{}, options interface{}) *MockAPIClient_ContainerList_Call
ContainerList is a helper method to define mock.On call
- ctx context.Context
- options container.ListOptions
func (*MockAPIClient_Expecter) ContainerLogs ¶
func (_e *MockAPIClient_Expecter) ContainerLogs(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerLogs_Call
ContainerLogs is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.LogsOptions
func (*MockAPIClient_Expecter) ContainerPause ¶
func (_e *MockAPIClient_Expecter) ContainerPause(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerPause_Call
ContainerPause is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerRemove ¶
func (_e *MockAPIClient_Expecter) ContainerRemove(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerRemove_Call
ContainerRemove is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.RemoveOptions
func (*MockAPIClient_Expecter) ContainerRename ¶
func (_e *MockAPIClient_Expecter) ContainerRename(ctx interface{}, container1 interface{}, newContainerName interface{}) *MockAPIClient_ContainerRename_Call
ContainerRename is a helper method to define mock.On call
- ctx context.Context
- container1 string
- newContainerName string
func (*MockAPIClient_Expecter) ContainerResize ¶
func (_e *MockAPIClient_Expecter) ContainerResize(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerResize_Call
ContainerResize is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.ResizeOptions
func (*MockAPIClient_Expecter) ContainerRestart ¶
func (_e *MockAPIClient_Expecter) ContainerRestart(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerRestart_Call
ContainerRestart is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StopOptions
func (*MockAPIClient_Expecter) ContainerStart ¶
func (_e *MockAPIClient_Expecter) ContainerStart(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerStart_Call
ContainerStart is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StartOptions
func (*MockAPIClient_Expecter) ContainerStatPath ¶
func (_e *MockAPIClient_Expecter) ContainerStatPath(ctx interface{}, container1 interface{}, path interface{}) *MockAPIClient_ContainerStatPath_Call
ContainerStatPath is a helper method to define mock.On call
- ctx context.Context
- container1 string
- path string
func (*MockAPIClient_Expecter) ContainerStats ¶
func (_e *MockAPIClient_Expecter) ContainerStats(ctx interface{}, container1 interface{}, stream interface{}) *MockAPIClient_ContainerStats_Call
ContainerStats is a helper method to define mock.On call
- ctx context.Context
- container1 string
- stream bool
func (*MockAPIClient_Expecter) ContainerStatsOneShot ¶
func (_e *MockAPIClient_Expecter) ContainerStatsOneShot(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerStatsOneShot_Call
ContainerStatsOneShot is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerStop ¶
func (_e *MockAPIClient_Expecter) ContainerStop(ctx interface{}, container1 interface{}, options interface{}) *MockAPIClient_ContainerStop_Call
ContainerStop is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StopOptions
func (*MockAPIClient_Expecter) ContainerTop ¶
func (_e *MockAPIClient_Expecter) ContainerTop(ctx interface{}, container1 interface{}, arguments interface{}) *MockAPIClient_ContainerTop_Call
ContainerTop is a helper method to define mock.On call
- ctx context.Context
- container1 string
- arguments []string
func (*MockAPIClient_Expecter) ContainerUnpause ¶
func (_e *MockAPIClient_Expecter) ContainerUnpause(ctx interface{}, container1 interface{}) *MockAPIClient_ContainerUnpause_Call
ContainerUnpause is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockAPIClient_Expecter) ContainerUpdate ¶
func (_e *MockAPIClient_Expecter) ContainerUpdate(ctx interface{}, container1 interface{}, updateConfig interface{}) *MockAPIClient_ContainerUpdate_Call
ContainerUpdate is a helper method to define mock.On call
- ctx context.Context
- container1 string
- updateConfig container.UpdateConfig
func (*MockAPIClient_Expecter) ContainerWait ¶
func (_e *MockAPIClient_Expecter) ContainerWait(ctx interface{}, container1 interface{}, condition interface{}) *MockAPIClient_ContainerWait_Call
ContainerWait is a helper method to define mock.On call
- ctx context.Context
- container1 string
- condition container.WaitCondition
func (*MockAPIClient_Expecter) ContainersPrune ¶
func (_e *MockAPIClient_Expecter) ContainersPrune(ctx interface{}, pruneFilters interface{}) *MockAPIClient_ContainersPrune_Call
ContainersPrune is a helper method to define mock.On call
- ctx context.Context
- pruneFilters filters.Args
func (*MockAPIClient_Expecter) CopyFromContainer ¶
func (_e *MockAPIClient_Expecter) CopyFromContainer(ctx interface{}, container1 interface{}, srcPath interface{}) *MockAPIClient_CopyFromContainer_Call
CopyFromContainer is a helper method to define mock.On call
- ctx context.Context
- container1 string
- srcPath string
func (*MockAPIClient_Expecter) CopyToContainer ¶
func (_e *MockAPIClient_Expecter) CopyToContainer(ctx interface{}, container1 interface{}, path interface{}, content interface{}, options interface{}) *MockAPIClient_CopyToContainer_Call
CopyToContainer is a helper method to define mock.On call
- ctx context.Context
- container1 string
- path string
- content io.Reader
- options container.CopyToContainerOptions
func (*MockAPIClient_Expecter) DaemonHost ¶
func (_e *MockAPIClient_Expecter) DaemonHost() *MockAPIClient_DaemonHost_Call
DaemonHost is a helper method to define mock.On call
func (*MockAPIClient_Expecter) DialHijack ¶
func (_e *MockAPIClient_Expecter) DialHijack(ctx interface{}, url interface{}, proto interface{}, meta interface{}) *MockAPIClient_DialHijack_Call
DialHijack is a helper method to define mock.On call
- ctx context.Context
- url string
- proto string
- meta map[string][]string
func (*MockAPIClient_Expecter) Dialer ¶
func (_e *MockAPIClient_Expecter) Dialer() *MockAPIClient_Dialer_Call
Dialer is a helper method to define mock.On call
func (*MockAPIClient_Expecter) DiskUsage ¶
func (_e *MockAPIClient_Expecter) DiskUsage(ctx interface{}, options interface{}) *MockAPIClient_DiskUsage_Call
DiskUsage is a helper method to define mock.On call
- ctx context.Context
- options types.DiskUsageOptions
func (*MockAPIClient_Expecter) DistributionInspect ¶
func (_e *MockAPIClient_Expecter) DistributionInspect(ctx interface{}, image interface{}, encodedRegistryAuth interface{}) *MockAPIClient_DistributionInspect_Call
DistributionInspect is a helper method to define mock.On call
- ctx context.Context
- image string
- encodedRegistryAuth string
func (*MockAPIClient_Expecter) Events ¶
func (_e *MockAPIClient_Expecter) Events(ctx interface{}, options interface{}) *MockAPIClient_Events_Call
Events is a helper method to define mock.On call
- ctx context.Context
- options events.ListOptions
func (*MockAPIClient_Expecter) HTTPClient ¶
func (_e *MockAPIClient_Expecter) HTTPClient() *MockAPIClient_HTTPClient_Call
HTTPClient is a helper method to define mock.On call
func (*MockAPIClient_Expecter) ImageBuild ¶
func (_e *MockAPIClient_Expecter) ImageBuild(ctx interface{}, context1 interface{}, options interface{}) *MockAPIClient_ImageBuild_Call
ImageBuild is a helper method to define mock.On call
- ctx context.Context
- context1 io.Reader
- options build.ImageBuildOptions
func (*MockAPIClient_Expecter) ImageCreate ¶
func (_e *MockAPIClient_Expecter) ImageCreate(ctx interface{}, parentReference interface{}, options interface{}) *MockAPIClient_ImageCreate_Call
ImageCreate is a helper method to define mock.On call
- ctx context.Context
- parentReference string
- options image.CreateOptions
func (*MockAPIClient_Expecter) ImageHistory ¶
func (_e *MockAPIClient_Expecter) ImageHistory(ctx interface{}, image1 interface{}, imageHistoryOptions ...interface{}) *MockAPIClient_ImageHistory_Call
ImageHistory is a helper method to define mock.On call
- ctx context.Context
- image1 string
- imageHistoryOptions ...client.ImageHistoryOption
func (*MockAPIClient_Expecter) ImageImport ¶
func (_e *MockAPIClient_Expecter) ImageImport(ctx interface{}, source interface{}, ref interface{}, options interface{}) *MockAPIClient_ImageImport_Call
ImageImport is a helper method to define mock.On call
- ctx context.Context
- source image.ImportSource
- ref string
- options image.ImportOptions
func (*MockAPIClient_Expecter) ImageInspect ¶
func (_e *MockAPIClient_Expecter) ImageInspect(ctx interface{}, image1 interface{}, imageInspectOptions ...interface{}) *MockAPIClient_ImageInspect_Call
ImageInspect is a helper method to define mock.On call
- ctx context.Context
- image1 string
- imageInspectOptions ...client.ImageInspectOption
func (*MockAPIClient_Expecter) ImageInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) ImageInspectWithRaw(ctx interface{}, image1 interface{}) *MockAPIClient_ImageInspectWithRaw_Call
ImageInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- image1 string
func (*MockAPIClient_Expecter) ImageList ¶
func (_e *MockAPIClient_Expecter) ImageList(ctx interface{}, options interface{}) *MockAPIClient_ImageList_Call
ImageList is a helper method to define mock.On call
- ctx context.Context
- options image.ListOptions
func (*MockAPIClient_Expecter) ImageLoad ¶
func (_e *MockAPIClient_Expecter) ImageLoad(ctx interface{}, input interface{}, imageLoadOptions ...interface{}) *MockAPIClient_ImageLoad_Call
ImageLoad is a helper method to define mock.On call
- ctx context.Context
- input io.Reader
- imageLoadOptions ...client.ImageLoadOption
func (*MockAPIClient_Expecter) ImagePull ¶
func (_e *MockAPIClient_Expecter) ImagePull(ctx interface{}, ref interface{}, options interface{}) *MockAPIClient_ImagePull_Call
ImagePull is a helper method to define mock.On call
- ctx context.Context
- ref string
- options image.PullOptions
func (*MockAPIClient_Expecter) ImagePush ¶
func (_e *MockAPIClient_Expecter) ImagePush(ctx interface{}, ref interface{}, options interface{}) *MockAPIClient_ImagePush_Call
ImagePush is a helper method to define mock.On call
- ctx context.Context
- ref string
- options image.PushOptions
func (*MockAPIClient_Expecter) ImageRemove ¶
func (_e *MockAPIClient_Expecter) ImageRemove(ctx interface{}, image1 interface{}, options interface{}) *MockAPIClient_ImageRemove_Call
ImageRemove is a helper method to define mock.On call
- ctx context.Context
- image1 string
- options image.RemoveOptions
func (*MockAPIClient_Expecter) ImageSave ¶
func (_e *MockAPIClient_Expecter) ImageSave(ctx interface{}, images interface{}, imageSaveOptions ...interface{}) *MockAPIClient_ImageSave_Call
ImageSave is a helper method to define mock.On call
- ctx context.Context
- images []string
- imageSaveOptions ...client.ImageSaveOption
func (*MockAPIClient_Expecter) ImageSearch ¶
func (_e *MockAPIClient_Expecter) ImageSearch(ctx interface{}, term interface{}, options interface{}) *MockAPIClient_ImageSearch_Call
ImageSearch is a helper method to define mock.On call
- ctx context.Context
- term string
- options registry.SearchOptions
func (*MockAPIClient_Expecter) ImageTag ¶
func (_e *MockAPIClient_Expecter) ImageTag(ctx interface{}, image1 interface{}, ref interface{}) *MockAPIClient_ImageTag_Call
ImageTag is a helper method to define mock.On call
- ctx context.Context
- image1 string
- ref string
func (*MockAPIClient_Expecter) ImagesPrune ¶
func (_e *MockAPIClient_Expecter) ImagesPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_ImagesPrune_Call
ImagesPrune is a helper method to define mock.On call
- ctx context.Context
- pruneFilter filters.Args
func (*MockAPIClient_Expecter) Info ¶
func (_e *MockAPIClient_Expecter) Info(ctx interface{}) *MockAPIClient_Info_Call
Info is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) NegotiateAPIVersion ¶
func (_e *MockAPIClient_Expecter) NegotiateAPIVersion(ctx interface{}) *MockAPIClient_NegotiateAPIVersion_Call
NegotiateAPIVersion is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) NegotiateAPIVersionPing ¶
func (_e *MockAPIClient_Expecter) NegotiateAPIVersionPing(ping interface{}) *MockAPIClient_NegotiateAPIVersionPing_Call
NegotiateAPIVersionPing is a helper method to define mock.On call
- ping types.Ping
func (*MockAPIClient_Expecter) NetworkConnect ¶
func (_e *MockAPIClient_Expecter) NetworkConnect(ctx interface{}, network1 interface{}, container1 interface{}, config interface{}) *MockAPIClient_NetworkConnect_Call
NetworkConnect is a helper method to define mock.On call
- ctx context.Context
- network1 string
- container1 string
- config *network.EndpointSettings
func (*MockAPIClient_Expecter) NetworkCreate ¶
func (_e *MockAPIClient_Expecter) NetworkCreate(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_NetworkCreate_Call
NetworkCreate is a helper method to define mock.On call
- ctx context.Context
- name string
- options network.CreateOptions
func (*MockAPIClient_Expecter) NetworkDisconnect ¶
func (_e *MockAPIClient_Expecter) NetworkDisconnect(ctx interface{}, network1 interface{}, container1 interface{}, force interface{}) *MockAPIClient_NetworkDisconnect_Call
NetworkDisconnect is a helper method to define mock.On call
- ctx context.Context
- network1 string
- container1 string
- force bool
func (*MockAPIClient_Expecter) NetworkInspect ¶
func (_e *MockAPIClient_Expecter) NetworkInspect(ctx interface{}, network1 interface{}, options interface{}) *MockAPIClient_NetworkInspect_Call
NetworkInspect is a helper method to define mock.On call
- ctx context.Context
- network1 string
- options network.InspectOptions
func (*MockAPIClient_Expecter) NetworkInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) NetworkInspectWithRaw(ctx interface{}, network1 interface{}, options interface{}) *MockAPIClient_NetworkInspectWithRaw_Call
NetworkInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- network1 string
- options network.InspectOptions
func (*MockAPIClient_Expecter) NetworkList ¶
func (_e *MockAPIClient_Expecter) NetworkList(ctx interface{}, options interface{}) *MockAPIClient_NetworkList_Call
NetworkList is a helper method to define mock.On call
- ctx context.Context
- options network.ListOptions
func (*MockAPIClient_Expecter) NetworkRemove ¶
func (_e *MockAPIClient_Expecter) NetworkRemove(ctx interface{}, network1 interface{}) *MockAPIClient_NetworkRemove_Call
NetworkRemove is a helper method to define mock.On call
- ctx context.Context
- network1 string
func (*MockAPIClient_Expecter) NetworksPrune ¶
func (_e *MockAPIClient_Expecter) NetworksPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_NetworksPrune_Call
NetworksPrune is a helper method to define mock.On call
- ctx context.Context
- pruneFilter filters.Args
func (*MockAPIClient_Expecter) NodeInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) NodeInspectWithRaw(ctx interface{}, nodeID interface{}) *MockAPIClient_NodeInspectWithRaw_Call
NodeInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- nodeID string
func (*MockAPIClient_Expecter) NodeList ¶
func (_e *MockAPIClient_Expecter) NodeList(ctx interface{}, options interface{}) *MockAPIClient_NodeList_Call
NodeList is a helper method to define mock.On call
- ctx context.Context
- options swarm.NodeListOptions
func (*MockAPIClient_Expecter) NodeRemove ¶
func (_e *MockAPIClient_Expecter) NodeRemove(ctx interface{}, nodeID interface{}, options interface{}) *MockAPIClient_NodeRemove_Call
NodeRemove is a helper method to define mock.On call
- ctx context.Context
- nodeID string
- options swarm.NodeRemoveOptions
func (*MockAPIClient_Expecter) NodeUpdate ¶
func (_e *MockAPIClient_Expecter) NodeUpdate(ctx interface{}, nodeID interface{}, version interface{}, node interface{}) *MockAPIClient_NodeUpdate_Call
NodeUpdate is a helper method to define mock.On call
- ctx context.Context
- nodeID string
- version swarm.Version
- node swarm.NodeSpec
func (*MockAPIClient_Expecter) Ping ¶
func (_e *MockAPIClient_Expecter) Ping(ctx interface{}) *MockAPIClient_Ping_Call
Ping is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) PluginCreate ¶
func (_e *MockAPIClient_Expecter) PluginCreate(ctx interface{}, createContext interface{}, options interface{}) *MockAPIClient_PluginCreate_Call
PluginCreate is a helper method to define mock.On call
- ctx context.Context
- createContext io.Reader
- options types.PluginCreateOptions
func (*MockAPIClient_Expecter) PluginDisable ¶
func (_e *MockAPIClient_Expecter) PluginDisable(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginDisable_Call
PluginDisable is a helper method to define mock.On call
- ctx context.Context
- name string
- options types.PluginDisableOptions
func (*MockAPIClient_Expecter) PluginEnable ¶
func (_e *MockAPIClient_Expecter) PluginEnable(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginEnable_Call
PluginEnable is a helper method to define mock.On call
- ctx context.Context
- name string
- options types.PluginEnableOptions
func (*MockAPIClient_Expecter) PluginInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) PluginInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_PluginInspectWithRaw_Call
PluginInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAPIClient_Expecter) PluginInstall ¶
func (_e *MockAPIClient_Expecter) PluginInstall(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginInstall_Call
PluginInstall is a helper method to define mock.On call
- ctx context.Context
- name string
- options types.PluginInstallOptions
func (*MockAPIClient_Expecter) PluginList ¶
func (_e *MockAPIClient_Expecter) PluginList(ctx interface{}, filter interface{}) *MockAPIClient_PluginList_Call
PluginList is a helper method to define mock.On call
- ctx context.Context
- filter filters.Args
func (*MockAPIClient_Expecter) PluginPush ¶
func (_e *MockAPIClient_Expecter) PluginPush(ctx interface{}, name interface{}, registryAuth interface{}) *MockAPIClient_PluginPush_Call
PluginPush is a helper method to define mock.On call
- ctx context.Context
- name string
- registryAuth string
func (*MockAPIClient_Expecter) PluginRemove ¶
func (_e *MockAPIClient_Expecter) PluginRemove(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginRemove_Call
PluginRemove is a helper method to define mock.On call
- ctx context.Context
- name string
- options types.PluginRemoveOptions
func (*MockAPIClient_Expecter) PluginSet ¶
func (_e *MockAPIClient_Expecter) PluginSet(ctx interface{}, name interface{}, args interface{}) *MockAPIClient_PluginSet_Call
PluginSet is a helper method to define mock.On call
- ctx context.Context
- name string
- args []string
func (*MockAPIClient_Expecter) PluginUpgrade ¶
func (_e *MockAPIClient_Expecter) PluginUpgrade(ctx interface{}, name interface{}, options interface{}) *MockAPIClient_PluginUpgrade_Call
PluginUpgrade is a helper method to define mock.On call
- ctx context.Context
- name string
- options types.PluginInstallOptions
func (*MockAPIClient_Expecter) RegistryLogin ¶
func (_e *MockAPIClient_Expecter) RegistryLogin(ctx interface{}, auth interface{}) *MockAPIClient_RegistryLogin_Call
RegistryLogin is a helper method to define mock.On call
- ctx context.Context
- auth registry.AuthConfig
func (*MockAPIClient_Expecter) SecretCreate ¶
func (_e *MockAPIClient_Expecter) SecretCreate(ctx interface{}, secret interface{}) *MockAPIClient_SecretCreate_Call
SecretCreate is a helper method to define mock.On call
- ctx context.Context
- secret swarm.SecretSpec
func (*MockAPIClient_Expecter) SecretInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) SecretInspectWithRaw(ctx interface{}, name interface{}) *MockAPIClient_SecretInspectWithRaw_Call
SecretInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- name string
func (*MockAPIClient_Expecter) SecretList ¶
func (_e *MockAPIClient_Expecter) SecretList(ctx interface{}, options interface{}) *MockAPIClient_SecretList_Call
SecretList is a helper method to define mock.On call
- ctx context.Context
- options swarm.SecretListOptions
func (*MockAPIClient_Expecter) SecretRemove ¶
func (_e *MockAPIClient_Expecter) SecretRemove(ctx interface{}, id interface{}) *MockAPIClient_SecretRemove_Call
SecretRemove is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockAPIClient_Expecter) SecretUpdate ¶
func (_e *MockAPIClient_Expecter) SecretUpdate(ctx interface{}, id interface{}, version interface{}, secret interface{}) *MockAPIClient_SecretUpdate_Call
SecretUpdate is a helper method to define mock.On call
- ctx context.Context
- id string
- version swarm.Version
- secret swarm.SecretSpec
func (*MockAPIClient_Expecter) ServerVersion ¶
func (_e *MockAPIClient_Expecter) ServerVersion(ctx interface{}) *MockAPIClient_ServerVersion_Call
ServerVersion is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) ServiceCreate ¶
func (_e *MockAPIClient_Expecter) ServiceCreate(ctx interface{}, service interface{}, options interface{}) *MockAPIClient_ServiceCreate_Call
ServiceCreate is a helper method to define mock.On call
- ctx context.Context
- service swarm.ServiceSpec
- options swarm.ServiceCreateOptions
func (*MockAPIClient_Expecter) ServiceInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) ServiceInspectWithRaw(ctx interface{}, serviceID interface{}, options interface{}) *MockAPIClient_ServiceInspectWithRaw_Call
ServiceInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- serviceID string
- options swarm.ServiceInspectOptions
func (*MockAPIClient_Expecter) ServiceList ¶
func (_e *MockAPIClient_Expecter) ServiceList(ctx interface{}, options interface{}) *MockAPIClient_ServiceList_Call
ServiceList is a helper method to define mock.On call
- ctx context.Context
- options swarm.ServiceListOptions
func (*MockAPIClient_Expecter) ServiceLogs ¶
func (_e *MockAPIClient_Expecter) ServiceLogs(ctx interface{}, serviceID interface{}, options interface{}) *MockAPIClient_ServiceLogs_Call
ServiceLogs is a helper method to define mock.On call
- ctx context.Context
- serviceID string
- options container.LogsOptions
func (*MockAPIClient_Expecter) ServiceRemove ¶
func (_e *MockAPIClient_Expecter) ServiceRemove(ctx interface{}, serviceID interface{}) *MockAPIClient_ServiceRemove_Call
ServiceRemove is a helper method to define mock.On call
- ctx context.Context
- serviceID string
func (*MockAPIClient_Expecter) ServiceUpdate ¶
func (_e *MockAPIClient_Expecter) ServiceUpdate(ctx interface{}, serviceID interface{}, version interface{}, service interface{}, options interface{}) *MockAPIClient_ServiceUpdate_Call
ServiceUpdate is a helper method to define mock.On call
- ctx context.Context
- serviceID string
- version swarm.Version
- service swarm.ServiceSpec
- options swarm.ServiceUpdateOptions
func (*MockAPIClient_Expecter) SwarmGetUnlockKey ¶
func (_e *MockAPIClient_Expecter) SwarmGetUnlockKey(ctx interface{}) *MockAPIClient_SwarmGetUnlockKey_Call
SwarmGetUnlockKey is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) SwarmInit ¶
func (_e *MockAPIClient_Expecter) SwarmInit(ctx interface{}, req interface{}) *MockAPIClient_SwarmInit_Call
SwarmInit is a helper method to define mock.On call
- ctx context.Context
- req swarm.InitRequest
func (*MockAPIClient_Expecter) SwarmInspect ¶
func (_e *MockAPIClient_Expecter) SwarmInspect(ctx interface{}) *MockAPIClient_SwarmInspect_Call
SwarmInspect is a helper method to define mock.On call
- ctx context.Context
func (*MockAPIClient_Expecter) SwarmJoin ¶
func (_e *MockAPIClient_Expecter) SwarmJoin(ctx interface{}, req interface{}) *MockAPIClient_SwarmJoin_Call
SwarmJoin is a helper method to define mock.On call
- ctx context.Context
- req swarm.JoinRequest
func (*MockAPIClient_Expecter) SwarmLeave ¶
func (_e *MockAPIClient_Expecter) SwarmLeave(ctx interface{}, force interface{}) *MockAPIClient_SwarmLeave_Call
SwarmLeave is a helper method to define mock.On call
- ctx context.Context
- force bool
func (*MockAPIClient_Expecter) SwarmUnlock ¶
func (_e *MockAPIClient_Expecter) SwarmUnlock(ctx interface{}, req interface{}) *MockAPIClient_SwarmUnlock_Call
SwarmUnlock is a helper method to define mock.On call
- ctx context.Context
- req swarm.UnlockRequest
func (*MockAPIClient_Expecter) SwarmUpdate ¶
func (_e *MockAPIClient_Expecter) SwarmUpdate(ctx interface{}, version interface{}, swarm1 interface{}, flags interface{}) *MockAPIClient_SwarmUpdate_Call
SwarmUpdate is a helper method to define mock.On call
- ctx context.Context
- version swarm.Version
- swarm1 swarm.Spec
- flags swarm.UpdateFlags
func (*MockAPIClient_Expecter) TaskInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) TaskInspectWithRaw(ctx interface{}, taskID interface{}) *MockAPIClient_TaskInspectWithRaw_Call
TaskInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- taskID string
func (*MockAPIClient_Expecter) TaskList ¶
func (_e *MockAPIClient_Expecter) TaskList(ctx interface{}, options interface{}) *MockAPIClient_TaskList_Call
TaskList is a helper method to define mock.On call
- ctx context.Context
- options swarm.TaskListOptions
func (*MockAPIClient_Expecter) TaskLogs ¶
func (_e *MockAPIClient_Expecter) TaskLogs(ctx interface{}, taskID interface{}, options interface{}) *MockAPIClient_TaskLogs_Call
TaskLogs is a helper method to define mock.On call
- ctx context.Context
- taskID string
- options container.LogsOptions
func (*MockAPIClient_Expecter) VolumeCreate ¶
func (_e *MockAPIClient_Expecter) VolumeCreate(ctx interface{}, options interface{}) *MockAPIClient_VolumeCreate_Call
VolumeCreate is a helper method to define mock.On call
- ctx context.Context
- options volume.CreateOptions
func (*MockAPIClient_Expecter) VolumeInspect ¶
func (_e *MockAPIClient_Expecter) VolumeInspect(ctx interface{}, volumeID interface{}) *MockAPIClient_VolumeInspect_Call
VolumeInspect is a helper method to define mock.On call
- ctx context.Context
- volumeID string
func (*MockAPIClient_Expecter) VolumeInspectWithRaw ¶
func (_e *MockAPIClient_Expecter) VolumeInspectWithRaw(ctx interface{}, volumeID interface{}) *MockAPIClient_VolumeInspectWithRaw_Call
VolumeInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- volumeID string
func (*MockAPIClient_Expecter) VolumeList ¶
func (_e *MockAPIClient_Expecter) VolumeList(ctx interface{}, options interface{}) *MockAPIClient_VolumeList_Call
VolumeList is a helper method to define mock.On call
- ctx context.Context
- options volume.ListOptions
func (*MockAPIClient_Expecter) VolumeRemove ¶
func (_e *MockAPIClient_Expecter) VolumeRemove(ctx interface{}, volumeID interface{}, force interface{}) *MockAPIClient_VolumeRemove_Call
VolumeRemove is a helper method to define mock.On call
- ctx context.Context
- volumeID string
- force bool
func (*MockAPIClient_Expecter) VolumeUpdate ¶
func (_e *MockAPIClient_Expecter) VolumeUpdate(ctx interface{}, volumeID interface{}, version interface{}, options interface{}) *MockAPIClient_VolumeUpdate_Call
VolumeUpdate is a helper method to define mock.On call
- ctx context.Context
- volumeID string
- version swarm.Version
- options volume.UpdateOptions
func (*MockAPIClient_Expecter) VolumesPrune ¶
func (_e *MockAPIClient_Expecter) VolumesPrune(ctx interface{}, pruneFilter interface{}) *MockAPIClient_VolumesPrune_Call
VolumesPrune is a helper method to define mock.On call
- ctx context.Context
- pruneFilter filters.Args
type MockAPIClient_HTTPClient_Call ¶
MockAPIClient_HTTPClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HTTPClient'
func (*MockAPIClient_HTTPClient_Call) Return ¶
func (_c *MockAPIClient_HTTPClient_Call) Return(client *http.Client) *MockAPIClient_HTTPClient_Call
func (*MockAPIClient_HTTPClient_Call) Run ¶
func (_c *MockAPIClient_HTTPClient_Call) Run(run func()) *MockAPIClient_HTTPClient_Call
func (*MockAPIClient_HTTPClient_Call) RunAndReturn ¶
func (_c *MockAPIClient_HTTPClient_Call) RunAndReturn(run func() *http.Client) *MockAPIClient_HTTPClient_Call
type MockAPIClient_ImageBuild_Call ¶
MockAPIClient_ImageBuild_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageBuild'
func (*MockAPIClient_ImageBuild_Call) Return ¶
func (_c *MockAPIClient_ImageBuild_Call) Return(imageBuildResponse build.ImageBuildResponse, err error) *MockAPIClient_ImageBuild_Call
func (*MockAPIClient_ImageBuild_Call) Run ¶
func (_c *MockAPIClient_ImageBuild_Call) Run(run func(ctx context.Context, context1 io.Reader, options build.ImageBuildOptions)) *MockAPIClient_ImageBuild_Call
func (*MockAPIClient_ImageBuild_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageBuild_Call) RunAndReturn(run func(ctx context.Context, context1 io.Reader, options build.ImageBuildOptions) (build.ImageBuildResponse, error)) *MockAPIClient_ImageBuild_Call
type MockAPIClient_ImageCreate_Call ¶
MockAPIClient_ImageCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageCreate'
func (*MockAPIClient_ImageCreate_Call) Return ¶
func (_c *MockAPIClient_ImageCreate_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImageCreate_Call
func (*MockAPIClient_ImageCreate_Call) Run ¶
func (_c *MockAPIClient_ImageCreate_Call) Run(run func(ctx context.Context, parentReference string, options image.CreateOptions)) *MockAPIClient_ImageCreate_Call
func (*MockAPIClient_ImageCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageCreate_Call) RunAndReturn(run func(ctx context.Context, parentReference string, options image.CreateOptions) (io.ReadCloser, error)) *MockAPIClient_ImageCreate_Call
type MockAPIClient_ImageHistory_Call ¶
MockAPIClient_ImageHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageHistory'
func (*MockAPIClient_ImageHistory_Call) Return ¶
func (_c *MockAPIClient_ImageHistory_Call) Return(historyResponseItems []image.HistoryResponseItem, err error) *MockAPIClient_ImageHistory_Call
func (*MockAPIClient_ImageHistory_Call) Run ¶
func (_c *MockAPIClient_ImageHistory_Call) Run(run func(ctx context.Context, image1 string, imageHistoryOptions ...client.ImageHistoryOption)) *MockAPIClient_ImageHistory_Call
func (*MockAPIClient_ImageHistory_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageHistory_Call) RunAndReturn(run func(ctx context.Context, image1 string, imageHistoryOptions ...client.ImageHistoryOption) ([]image.HistoryResponseItem, error)) *MockAPIClient_ImageHistory_Call
type MockAPIClient_ImageImport_Call ¶
MockAPIClient_ImageImport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageImport'
func (*MockAPIClient_ImageImport_Call) Return ¶
func (_c *MockAPIClient_ImageImport_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImageImport_Call
func (*MockAPIClient_ImageImport_Call) Run ¶
func (_c *MockAPIClient_ImageImport_Call) Run(run func(ctx context.Context, source image.ImportSource, ref string, options image.ImportOptions)) *MockAPIClient_ImageImport_Call
func (*MockAPIClient_ImageImport_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageImport_Call) RunAndReturn(run func(ctx context.Context, source image.ImportSource, ref string, options image.ImportOptions) (io.ReadCloser, error)) *MockAPIClient_ImageImport_Call
type MockAPIClient_ImageInspectWithRaw_Call ¶
MockAPIClient_ImageInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageInspectWithRaw'
func (*MockAPIClient_ImageInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_ImageInspectWithRaw_Call) Return(inspectResponse image.InspectResponse, bytes []byte, err error) *MockAPIClient_ImageInspectWithRaw_Call
func (*MockAPIClient_ImageInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_ImageInspectWithRaw_Call) Run(run func(ctx context.Context, image1 string)) *MockAPIClient_ImageInspectWithRaw_Call
func (*MockAPIClient_ImageInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, image1 string) (image.InspectResponse, []byte, error)) *MockAPIClient_ImageInspectWithRaw_Call
type MockAPIClient_ImageInspect_Call ¶
MockAPIClient_ImageInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageInspect'
func (*MockAPIClient_ImageInspect_Call) Return ¶
func (_c *MockAPIClient_ImageInspect_Call) Return(inspectResponse image.InspectResponse, err error) *MockAPIClient_ImageInspect_Call
func (*MockAPIClient_ImageInspect_Call) Run ¶
func (_c *MockAPIClient_ImageInspect_Call) Run(run func(ctx context.Context, image1 string, imageInspectOptions ...client.ImageInspectOption)) *MockAPIClient_ImageInspect_Call
func (*MockAPIClient_ImageInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageInspect_Call) RunAndReturn(run func(ctx context.Context, image1 string, imageInspectOptions ...client.ImageInspectOption) (image.InspectResponse, error)) *MockAPIClient_ImageInspect_Call
type MockAPIClient_ImageList_Call ¶
MockAPIClient_ImageList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageList'
func (*MockAPIClient_ImageList_Call) Return ¶
func (_c *MockAPIClient_ImageList_Call) Return(summarys []image.Summary, err error) *MockAPIClient_ImageList_Call
func (*MockAPIClient_ImageList_Call) Run ¶
func (_c *MockAPIClient_ImageList_Call) Run(run func(ctx context.Context, options image.ListOptions)) *MockAPIClient_ImageList_Call
func (*MockAPIClient_ImageList_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageList_Call) RunAndReturn(run func(ctx context.Context, options image.ListOptions) ([]image.Summary, error)) *MockAPIClient_ImageList_Call
type MockAPIClient_ImageLoad_Call ¶
MockAPIClient_ImageLoad_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageLoad'
func (*MockAPIClient_ImageLoad_Call) Return ¶
func (_c *MockAPIClient_ImageLoad_Call) Return(loadResponse image.LoadResponse, err error) *MockAPIClient_ImageLoad_Call
func (*MockAPIClient_ImageLoad_Call) Run ¶
func (_c *MockAPIClient_ImageLoad_Call) Run(run func(ctx context.Context, input io.Reader, imageLoadOptions ...client.ImageLoadOption)) *MockAPIClient_ImageLoad_Call
func (*MockAPIClient_ImageLoad_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageLoad_Call) RunAndReturn(run func(ctx context.Context, input io.Reader, imageLoadOptions ...client.ImageLoadOption) (image.LoadResponse, error)) *MockAPIClient_ImageLoad_Call
type MockAPIClient_ImagePull_Call ¶
MockAPIClient_ImagePull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImagePull'
func (*MockAPIClient_ImagePull_Call) Return ¶
func (_c *MockAPIClient_ImagePull_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImagePull_Call
func (*MockAPIClient_ImagePull_Call) Run ¶
func (_c *MockAPIClient_ImagePull_Call) Run(run func(ctx context.Context, ref string, options image.PullOptions)) *MockAPIClient_ImagePull_Call
func (*MockAPIClient_ImagePull_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImagePull_Call) RunAndReturn(run func(ctx context.Context, ref string, options image.PullOptions) (io.ReadCloser, error)) *MockAPIClient_ImagePull_Call
type MockAPIClient_ImagePush_Call ¶
MockAPIClient_ImagePush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImagePush'
func (*MockAPIClient_ImagePush_Call) Return ¶
func (_c *MockAPIClient_ImagePush_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImagePush_Call
func (*MockAPIClient_ImagePush_Call) Run ¶
func (_c *MockAPIClient_ImagePush_Call) Run(run func(ctx context.Context, ref string, options image.PushOptions)) *MockAPIClient_ImagePush_Call
func (*MockAPIClient_ImagePush_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImagePush_Call) RunAndReturn(run func(ctx context.Context, ref string, options image.PushOptions) (io.ReadCloser, error)) *MockAPIClient_ImagePush_Call
type MockAPIClient_ImageRemove_Call ¶
MockAPIClient_ImageRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageRemove'
func (*MockAPIClient_ImageRemove_Call) Return ¶
func (_c *MockAPIClient_ImageRemove_Call) Return(deleteResponses []image.DeleteResponse, err error) *MockAPIClient_ImageRemove_Call
func (*MockAPIClient_ImageRemove_Call) Run ¶
func (_c *MockAPIClient_ImageRemove_Call) Run(run func(ctx context.Context, image1 string, options image.RemoveOptions)) *MockAPIClient_ImageRemove_Call
func (*MockAPIClient_ImageRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageRemove_Call) RunAndReturn(run func(ctx context.Context, image1 string, options image.RemoveOptions) ([]image.DeleteResponse, error)) *MockAPIClient_ImageRemove_Call
type MockAPIClient_ImageSave_Call ¶
MockAPIClient_ImageSave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageSave'
func (*MockAPIClient_ImageSave_Call) Return ¶
func (_c *MockAPIClient_ImageSave_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ImageSave_Call
func (*MockAPIClient_ImageSave_Call) Run ¶
func (_c *MockAPIClient_ImageSave_Call) Run(run func(ctx context.Context, images []string, imageSaveOptions ...client.ImageSaveOption)) *MockAPIClient_ImageSave_Call
func (*MockAPIClient_ImageSave_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageSave_Call) RunAndReturn(run func(ctx context.Context, images []string, imageSaveOptions ...client.ImageSaveOption) (io.ReadCloser, error)) *MockAPIClient_ImageSave_Call
type MockAPIClient_ImageSearch_Call ¶
MockAPIClient_ImageSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageSearch'
func (*MockAPIClient_ImageSearch_Call) Return ¶
func (_c *MockAPIClient_ImageSearch_Call) Return(searchResults []registry.SearchResult, err error) *MockAPIClient_ImageSearch_Call
func (*MockAPIClient_ImageSearch_Call) Run ¶
func (_c *MockAPIClient_ImageSearch_Call) Run(run func(ctx context.Context, term string, options registry.SearchOptions)) *MockAPIClient_ImageSearch_Call
func (*MockAPIClient_ImageSearch_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageSearch_Call) RunAndReturn(run func(ctx context.Context, term string, options registry.SearchOptions) ([]registry.SearchResult, error)) *MockAPIClient_ImageSearch_Call
type MockAPIClient_ImageTag_Call ¶
MockAPIClient_ImageTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageTag'
func (*MockAPIClient_ImageTag_Call) Return ¶
func (_c *MockAPIClient_ImageTag_Call) Return(err error) *MockAPIClient_ImageTag_Call
func (*MockAPIClient_ImageTag_Call) Run ¶
func (_c *MockAPIClient_ImageTag_Call) Run(run func(ctx context.Context, image1 string, ref string)) *MockAPIClient_ImageTag_Call
func (*MockAPIClient_ImageTag_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImageTag_Call) RunAndReturn(run func(ctx context.Context, image1 string, ref string) error) *MockAPIClient_ImageTag_Call
type MockAPIClient_ImagesPrune_Call ¶
MockAPIClient_ImagesPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImagesPrune'
func (*MockAPIClient_ImagesPrune_Call) Return ¶
func (_c *MockAPIClient_ImagesPrune_Call) Return(pruneReport image.PruneReport, err error) *MockAPIClient_ImagesPrune_Call
func (*MockAPIClient_ImagesPrune_Call) Run ¶
func (_c *MockAPIClient_ImagesPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_ImagesPrune_Call
func (*MockAPIClient_ImagesPrune_Call) RunAndReturn ¶
func (_c *MockAPIClient_ImagesPrune_Call) RunAndReturn(run func(ctx context.Context, pruneFilter filters.Args) (image.PruneReport, error)) *MockAPIClient_ImagesPrune_Call
type MockAPIClient_Info_Call ¶
MockAPIClient_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*MockAPIClient_Info_Call) Return ¶
func (_c *MockAPIClient_Info_Call) Return(info system.Info, err error) *MockAPIClient_Info_Call
func (*MockAPIClient_Info_Call) Run ¶
func (_c *MockAPIClient_Info_Call) Run(run func(ctx context.Context)) *MockAPIClient_Info_Call
func (*MockAPIClient_Info_Call) RunAndReturn ¶
func (_c *MockAPIClient_Info_Call) RunAndReturn(run func(ctx context.Context) (system.Info, error)) *MockAPIClient_Info_Call
type MockAPIClient_NegotiateAPIVersionPing_Call ¶
MockAPIClient_NegotiateAPIVersionPing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NegotiateAPIVersionPing'
func (*MockAPIClient_NegotiateAPIVersionPing_Call) Return ¶
func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) Return() *MockAPIClient_NegotiateAPIVersionPing_Call
func (*MockAPIClient_NegotiateAPIVersionPing_Call) Run ¶
func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) Run(run func(ping types.Ping)) *MockAPIClient_NegotiateAPIVersionPing_Call
func (*MockAPIClient_NegotiateAPIVersionPing_Call) RunAndReturn ¶
func (_c *MockAPIClient_NegotiateAPIVersionPing_Call) RunAndReturn(run func(ping types.Ping)) *MockAPIClient_NegotiateAPIVersionPing_Call
type MockAPIClient_NegotiateAPIVersion_Call ¶
MockAPIClient_NegotiateAPIVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NegotiateAPIVersion'
func (*MockAPIClient_NegotiateAPIVersion_Call) Return ¶
func (_c *MockAPIClient_NegotiateAPIVersion_Call) Return() *MockAPIClient_NegotiateAPIVersion_Call
func (*MockAPIClient_NegotiateAPIVersion_Call) Run ¶
func (_c *MockAPIClient_NegotiateAPIVersion_Call) Run(run func(ctx context.Context)) *MockAPIClient_NegotiateAPIVersion_Call
func (*MockAPIClient_NegotiateAPIVersion_Call) RunAndReturn ¶
func (_c *MockAPIClient_NegotiateAPIVersion_Call) RunAndReturn(run func(ctx context.Context)) *MockAPIClient_NegotiateAPIVersion_Call
type MockAPIClient_NetworkConnect_Call ¶
MockAPIClient_NetworkConnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkConnect'
func (*MockAPIClient_NetworkConnect_Call) Return ¶
func (_c *MockAPIClient_NetworkConnect_Call) Return(err error) *MockAPIClient_NetworkConnect_Call
func (*MockAPIClient_NetworkConnect_Call) Run ¶
func (_c *MockAPIClient_NetworkConnect_Call) Run(run func(ctx context.Context, network1 string, container1 string, config *network.EndpointSettings)) *MockAPIClient_NetworkConnect_Call
func (*MockAPIClient_NetworkConnect_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkConnect_Call) RunAndReturn(run func(ctx context.Context, network1 string, container1 string, config *network.EndpointSettings) error) *MockAPIClient_NetworkConnect_Call
type MockAPIClient_NetworkCreate_Call ¶
MockAPIClient_NetworkCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkCreate'
func (*MockAPIClient_NetworkCreate_Call) Return ¶
func (_c *MockAPIClient_NetworkCreate_Call) Return(createResponse network.CreateResponse, err error) *MockAPIClient_NetworkCreate_Call
func (*MockAPIClient_NetworkCreate_Call) Run ¶
func (_c *MockAPIClient_NetworkCreate_Call) Run(run func(ctx context.Context, name string, options network.CreateOptions)) *MockAPIClient_NetworkCreate_Call
func (*MockAPIClient_NetworkCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkCreate_Call) RunAndReturn(run func(ctx context.Context, name string, options network.CreateOptions) (network.CreateResponse, error)) *MockAPIClient_NetworkCreate_Call
type MockAPIClient_NetworkDisconnect_Call ¶
MockAPIClient_NetworkDisconnect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkDisconnect'
func (*MockAPIClient_NetworkDisconnect_Call) Return ¶
func (_c *MockAPIClient_NetworkDisconnect_Call) Return(err error) *MockAPIClient_NetworkDisconnect_Call
func (*MockAPIClient_NetworkDisconnect_Call) Run ¶
func (_c *MockAPIClient_NetworkDisconnect_Call) Run(run func(ctx context.Context, network1 string, container1 string, force bool)) *MockAPIClient_NetworkDisconnect_Call
func (*MockAPIClient_NetworkDisconnect_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkDisconnect_Call) RunAndReturn(run func(ctx context.Context, network1 string, container1 string, force bool) error) *MockAPIClient_NetworkDisconnect_Call
type MockAPIClient_NetworkInspectWithRaw_Call ¶
MockAPIClient_NetworkInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkInspectWithRaw'
func (*MockAPIClient_NetworkInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_NetworkInspectWithRaw_Call) Return(inspect network.Inspect, bytes []byte, err error) *MockAPIClient_NetworkInspectWithRaw_Call
func (*MockAPIClient_NetworkInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_NetworkInspectWithRaw_Call) Run(run func(ctx context.Context, network1 string, options network.InspectOptions)) *MockAPIClient_NetworkInspectWithRaw_Call
func (*MockAPIClient_NetworkInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, []byte, error)) *MockAPIClient_NetworkInspectWithRaw_Call
type MockAPIClient_NetworkInspect_Call ¶
MockAPIClient_NetworkInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkInspect'
func (*MockAPIClient_NetworkInspect_Call) Return ¶
func (_c *MockAPIClient_NetworkInspect_Call) Return(inspect network.Inspect, err error) *MockAPIClient_NetworkInspect_Call
func (*MockAPIClient_NetworkInspect_Call) Run ¶
func (_c *MockAPIClient_NetworkInspect_Call) Run(run func(ctx context.Context, network1 string, options network.InspectOptions)) *MockAPIClient_NetworkInspect_Call
func (*MockAPIClient_NetworkInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkInspect_Call) RunAndReturn(run func(ctx context.Context, network1 string, options network.InspectOptions) (network.Inspect, error)) *MockAPIClient_NetworkInspect_Call
type MockAPIClient_NetworkList_Call ¶
MockAPIClient_NetworkList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkList'
func (*MockAPIClient_NetworkList_Call) Return ¶
func (_c *MockAPIClient_NetworkList_Call) Return(vs []network.Summary, err error) *MockAPIClient_NetworkList_Call
func (*MockAPIClient_NetworkList_Call) Run ¶
func (_c *MockAPIClient_NetworkList_Call) Run(run func(ctx context.Context, options network.ListOptions)) *MockAPIClient_NetworkList_Call
func (*MockAPIClient_NetworkList_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkList_Call) RunAndReturn(run func(ctx context.Context, options network.ListOptions) ([]network.Summary, error)) *MockAPIClient_NetworkList_Call
type MockAPIClient_NetworkRemove_Call ¶
MockAPIClient_NetworkRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworkRemove'
func (*MockAPIClient_NetworkRemove_Call) Return ¶
func (_c *MockAPIClient_NetworkRemove_Call) Return(err error) *MockAPIClient_NetworkRemove_Call
func (*MockAPIClient_NetworkRemove_Call) Run ¶
func (_c *MockAPIClient_NetworkRemove_Call) Run(run func(ctx context.Context, network1 string)) *MockAPIClient_NetworkRemove_Call
func (*MockAPIClient_NetworkRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworkRemove_Call) RunAndReturn(run func(ctx context.Context, network1 string) error) *MockAPIClient_NetworkRemove_Call
type MockAPIClient_NetworksPrune_Call ¶
MockAPIClient_NetworksPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetworksPrune'
func (*MockAPIClient_NetworksPrune_Call) Return ¶
func (_c *MockAPIClient_NetworksPrune_Call) Return(pruneReport network.PruneReport, err error) *MockAPIClient_NetworksPrune_Call
func (*MockAPIClient_NetworksPrune_Call) Run ¶
func (_c *MockAPIClient_NetworksPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_NetworksPrune_Call
func (*MockAPIClient_NetworksPrune_Call) RunAndReturn ¶
func (_c *MockAPIClient_NetworksPrune_Call) RunAndReturn(run func(ctx context.Context, pruneFilter filters.Args) (network.PruneReport, error)) *MockAPIClient_NetworksPrune_Call
type MockAPIClient_NodeInspectWithRaw_Call ¶
MockAPIClient_NodeInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeInspectWithRaw'
func (*MockAPIClient_NodeInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_NodeInspectWithRaw_Call) Return(node swarm.Node, bytes []byte, err error) *MockAPIClient_NodeInspectWithRaw_Call
func (*MockAPIClient_NodeInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_NodeInspectWithRaw_Call) Run(run func(ctx context.Context, nodeID string)) *MockAPIClient_NodeInspectWithRaw_Call
func (*MockAPIClient_NodeInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_NodeInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, nodeID string) (swarm.Node, []byte, error)) *MockAPIClient_NodeInspectWithRaw_Call
type MockAPIClient_NodeList_Call ¶
MockAPIClient_NodeList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeList'
func (*MockAPIClient_NodeList_Call) Return ¶
func (_c *MockAPIClient_NodeList_Call) Return(nodes []swarm.Node, err error) *MockAPIClient_NodeList_Call
func (*MockAPIClient_NodeList_Call) Run ¶
func (_c *MockAPIClient_NodeList_Call) Run(run func(ctx context.Context, options swarm.NodeListOptions)) *MockAPIClient_NodeList_Call
func (*MockAPIClient_NodeList_Call) RunAndReturn ¶
func (_c *MockAPIClient_NodeList_Call) RunAndReturn(run func(ctx context.Context, options swarm.NodeListOptions) ([]swarm.Node, error)) *MockAPIClient_NodeList_Call
type MockAPIClient_NodeRemove_Call ¶
MockAPIClient_NodeRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeRemove'
func (*MockAPIClient_NodeRemove_Call) Return ¶
func (_c *MockAPIClient_NodeRemove_Call) Return(err error) *MockAPIClient_NodeRemove_Call
func (*MockAPIClient_NodeRemove_Call) Run ¶
func (_c *MockAPIClient_NodeRemove_Call) Run(run func(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions)) *MockAPIClient_NodeRemove_Call
func (*MockAPIClient_NodeRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_NodeRemove_Call) RunAndReturn(run func(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions) error) *MockAPIClient_NodeRemove_Call
type MockAPIClient_NodeUpdate_Call ¶
MockAPIClient_NodeUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NodeUpdate'
func (*MockAPIClient_NodeUpdate_Call) Return ¶
func (_c *MockAPIClient_NodeUpdate_Call) Return(err error) *MockAPIClient_NodeUpdate_Call
func (*MockAPIClient_NodeUpdate_Call) Run ¶
func (_c *MockAPIClient_NodeUpdate_Call) Run(run func(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec)) *MockAPIClient_NodeUpdate_Call
func (*MockAPIClient_NodeUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_NodeUpdate_Call) RunAndReturn(run func(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error) *MockAPIClient_NodeUpdate_Call
type MockAPIClient_Ping_Call ¶
MockAPIClient_Ping_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ping'
func (*MockAPIClient_Ping_Call) Return ¶
func (_c *MockAPIClient_Ping_Call) Return(ping types.Ping, err error) *MockAPIClient_Ping_Call
func (*MockAPIClient_Ping_Call) Run ¶
func (_c *MockAPIClient_Ping_Call) Run(run func(ctx context.Context)) *MockAPIClient_Ping_Call
func (*MockAPIClient_Ping_Call) RunAndReturn ¶
func (_c *MockAPIClient_Ping_Call) RunAndReturn(run func(ctx context.Context) (types.Ping, error)) *MockAPIClient_Ping_Call
type MockAPIClient_PluginCreate_Call ¶
MockAPIClient_PluginCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginCreate'
func (*MockAPIClient_PluginCreate_Call) Return ¶
func (_c *MockAPIClient_PluginCreate_Call) Return(err error) *MockAPIClient_PluginCreate_Call
func (*MockAPIClient_PluginCreate_Call) Run ¶
func (_c *MockAPIClient_PluginCreate_Call) Run(run func(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions)) *MockAPIClient_PluginCreate_Call
func (*MockAPIClient_PluginCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginCreate_Call) RunAndReturn(run func(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error) *MockAPIClient_PluginCreate_Call
type MockAPIClient_PluginDisable_Call ¶
MockAPIClient_PluginDisable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginDisable'
func (*MockAPIClient_PluginDisable_Call) Return ¶
func (_c *MockAPIClient_PluginDisable_Call) Return(err error) *MockAPIClient_PluginDisable_Call
func (*MockAPIClient_PluginDisable_Call) Run ¶
func (_c *MockAPIClient_PluginDisable_Call) Run(run func(ctx context.Context, name string, options types.PluginDisableOptions)) *MockAPIClient_PluginDisable_Call
func (*MockAPIClient_PluginDisable_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginDisable_Call) RunAndReturn(run func(ctx context.Context, name string, options types.PluginDisableOptions) error) *MockAPIClient_PluginDisable_Call
type MockAPIClient_PluginEnable_Call ¶
MockAPIClient_PluginEnable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginEnable'
func (*MockAPIClient_PluginEnable_Call) Return ¶
func (_c *MockAPIClient_PluginEnable_Call) Return(err error) *MockAPIClient_PluginEnable_Call
func (*MockAPIClient_PluginEnable_Call) Run ¶
func (_c *MockAPIClient_PluginEnable_Call) Run(run func(ctx context.Context, name string, options types.PluginEnableOptions)) *MockAPIClient_PluginEnable_Call
func (*MockAPIClient_PluginEnable_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginEnable_Call) RunAndReturn(run func(ctx context.Context, name string, options types.PluginEnableOptions) error) *MockAPIClient_PluginEnable_Call
type MockAPIClient_PluginInspectWithRaw_Call ¶
MockAPIClient_PluginInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginInspectWithRaw'
func (*MockAPIClient_PluginInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_PluginInspectWithRaw_Call) Return(plugin *types.Plugin, bytes []byte, err error) *MockAPIClient_PluginInspectWithRaw_Call
func (*MockAPIClient_PluginInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_PluginInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_PluginInspectWithRaw_Call
func (*MockAPIClient_PluginInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (*types.Plugin, []byte, error)) *MockAPIClient_PluginInspectWithRaw_Call
type MockAPIClient_PluginInstall_Call ¶
MockAPIClient_PluginInstall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginInstall'
func (*MockAPIClient_PluginInstall_Call) Return ¶
func (_c *MockAPIClient_PluginInstall_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginInstall_Call
func (*MockAPIClient_PluginInstall_Call) Run ¶
func (_c *MockAPIClient_PluginInstall_Call) Run(run func(ctx context.Context, name string, options types.PluginInstallOptions)) *MockAPIClient_PluginInstall_Call
func (*MockAPIClient_PluginInstall_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginInstall_Call) RunAndReturn(run func(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)) *MockAPIClient_PluginInstall_Call
type MockAPIClient_PluginList_Call ¶
MockAPIClient_PluginList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginList'
func (*MockAPIClient_PluginList_Call) Return ¶
func (_c *MockAPIClient_PluginList_Call) Return(pluginsListResponse types.PluginsListResponse, err error) *MockAPIClient_PluginList_Call
func (*MockAPIClient_PluginList_Call) Run ¶
func (_c *MockAPIClient_PluginList_Call) Run(run func(ctx context.Context, filter filters.Args)) *MockAPIClient_PluginList_Call
func (*MockAPIClient_PluginList_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginList_Call) RunAndReturn(run func(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)) *MockAPIClient_PluginList_Call
type MockAPIClient_PluginPush_Call ¶
MockAPIClient_PluginPush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginPush'
func (*MockAPIClient_PluginPush_Call) Return ¶
func (_c *MockAPIClient_PluginPush_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginPush_Call
func (*MockAPIClient_PluginPush_Call) Run ¶
func (_c *MockAPIClient_PluginPush_Call) Run(run func(ctx context.Context, name string, registryAuth string)) *MockAPIClient_PluginPush_Call
func (*MockAPIClient_PluginPush_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginPush_Call) RunAndReturn(run func(ctx context.Context, name string, registryAuth string) (io.ReadCloser, error)) *MockAPIClient_PluginPush_Call
type MockAPIClient_PluginRemove_Call ¶
MockAPIClient_PluginRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginRemove'
func (*MockAPIClient_PluginRemove_Call) Return ¶
func (_c *MockAPIClient_PluginRemove_Call) Return(err error) *MockAPIClient_PluginRemove_Call
func (*MockAPIClient_PluginRemove_Call) Run ¶
func (_c *MockAPIClient_PluginRemove_Call) Run(run func(ctx context.Context, name string, options types.PluginRemoveOptions)) *MockAPIClient_PluginRemove_Call
func (*MockAPIClient_PluginRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginRemove_Call) RunAndReturn(run func(ctx context.Context, name string, options types.PluginRemoveOptions) error) *MockAPIClient_PluginRemove_Call
type MockAPIClient_PluginSet_Call ¶
MockAPIClient_PluginSet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginSet'
func (*MockAPIClient_PluginSet_Call) Return ¶
func (_c *MockAPIClient_PluginSet_Call) Return(err error) *MockAPIClient_PluginSet_Call
func (*MockAPIClient_PluginSet_Call) Run ¶
func (_c *MockAPIClient_PluginSet_Call) Run(run func(ctx context.Context, name string, args []string)) *MockAPIClient_PluginSet_Call
func (*MockAPIClient_PluginSet_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginSet_Call) RunAndReturn(run func(ctx context.Context, name string, args []string) error) *MockAPIClient_PluginSet_Call
type MockAPIClient_PluginUpgrade_Call ¶
MockAPIClient_PluginUpgrade_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PluginUpgrade'
func (*MockAPIClient_PluginUpgrade_Call) Return ¶
func (_c *MockAPIClient_PluginUpgrade_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_PluginUpgrade_Call
func (*MockAPIClient_PluginUpgrade_Call) Run ¶
func (_c *MockAPIClient_PluginUpgrade_Call) Run(run func(ctx context.Context, name string, options types.PluginInstallOptions)) *MockAPIClient_PluginUpgrade_Call
func (*MockAPIClient_PluginUpgrade_Call) RunAndReturn ¶
func (_c *MockAPIClient_PluginUpgrade_Call) RunAndReturn(run func(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)) *MockAPIClient_PluginUpgrade_Call
type MockAPIClient_RegistryLogin_Call ¶
MockAPIClient_RegistryLogin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryLogin'
func (*MockAPIClient_RegistryLogin_Call) Return ¶
func (_c *MockAPIClient_RegistryLogin_Call) Return(authenticateOKBody registry.AuthenticateOKBody, err error) *MockAPIClient_RegistryLogin_Call
func (*MockAPIClient_RegistryLogin_Call) Run ¶
func (_c *MockAPIClient_RegistryLogin_Call) Run(run func(ctx context.Context, auth registry.AuthConfig)) *MockAPIClient_RegistryLogin_Call
func (*MockAPIClient_RegistryLogin_Call) RunAndReturn ¶
func (_c *MockAPIClient_RegistryLogin_Call) RunAndReturn(run func(ctx context.Context, auth registry.AuthConfig) (registry.AuthenticateOKBody, error)) *MockAPIClient_RegistryLogin_Call
type MockAPIClient_SecretCreate_Call ¶
MockAPIClient_SecretCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretCreate'
func (*MockAPIClient_SecretCreate_Call) Return ¶
func (_c *MockAPIClient_SecretCreate_Call) Return(secretCreateResponse swarm.SecretCreateResponse, err error) *MockAPIClient_SecretCreate_Call
func (*MockAPIClient_SecretCreate_Call) Run ¶
func (_c *MockAPIClient_SecretCreate_Call) Run(run func(ctx context.Context, secret swarm.SecretSpec)) *MockAPIClient_SecretCreate_Call
func (*MockAPIClient_SecretCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_SecretCreate_Call) RunAndReturn(run func(ctx context.Context, secret swarm.SecretSpec) (swarm.SecretCreateResponse, error)) *MockAPIClient_SecretCreate_Call
type MockAPIClient_SecretInspectWithRaw_Call ¶
MockAPIClient_SecretInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretInspectWithRaw'
func (*MockAPIClient_SecretInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_SecretInspectWithRaw_Call) Return(secret swarm.Secret, bytes []byte, err error) *MockAPIClient_SecretInspectWithRaw_Call
func (*MockAPIClient_SecretInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_SecretInspectWithRaw_Call) Run(run func(ctx context.Context, name string)) *MockAPIClient_SecretInspectWithRaw_Call
func (*MockAPIClient_SecretInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_SecretInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, name string) (swarm.Secret, []byte, error)) *MockAPIClient_SecretInspectWithRaw_Call
type MockAPIClient_SecretList_Call ¶
MockAPIClient_SecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretList'
func (*MockAPIClient_SecretList_Call) Return ¶
func (_c *MockAPIClient_SecretList_Call) Return(secrets []swarm.Secret, err error) *MockAPIClient_SecretList_Call
func (*MockAPIClient_SecretList_Call) Run ¶
func (_c *MockAPIClient_SecretList_Call) Run(run func(ctx context.Context, options swarm.SecretListOptions)) *MockAPIClient_SecretList_Call
func (*MockAPIClient_SecretList_Call) RunAndReturn ¶
func (_c *MockAPIClient_SecretList_Call) RunAndReturn(run func(ctx context.Context, options swarm.SecretListOptions) ([]swarm.Secret, error)) *MockAPIClient_SecretList_Call
type MockAPIClient_SecretRemove_Call ¶
MockAPIClient_SecretRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretRemove'
func (*MockAPIClient_SecretRemove_Call) Return ¶
func (_c *MockAPIClient_SecretRemove_Call) Return(err error) *MockAPIClient_SecretRemove_Call
func (*MockAPIClient_SecretRemove_Call) Run ¶
func (_c *MockAPIClient_SecretRemove_Call) Run(run func(ctx context.Context, id string)) *MockAPIClient_SecretRemove_Call
func (*MockAPIClient_SecretRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_SecretRemove_Call) RunAndReturn(run func(ctx context.Context, id string) error) *MockAPIClient_SecretRemove_Call
type MockAPIClient_SecretUpdate_Call ¶
MockAPIClient_SecretUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretUpdate'
func (*MockAPIClient_SecretUpdate_Call) Return ¶
func (_c *MockAPIClient_SecretUpdate_Call) Return(err error) *MockAPIClient_SecretUpdate_Call
func (*MockAPIClient_SecretUpdate_Call) Run ¶
func (_c *MockAPIClient_SecretUpdate_Call) Run(run func(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec)) *MockAPIClient_SecretUpdate_Call
func (*MockAPIClient_SecretUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_SecretUpdate_Call) RunAndReturn(run func(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error) *MockAPIClient_SecretUpdate_Call
type MockAPIClient_ServerVersion_Call ¶
MockAPIClient_ServerVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServerVersion'
func (*MockAPIClient_ServerVersion_Call) Return ¶
func (_c *MockAPIClient_ServerVersion_Call) Return(version types.Version, err error) *MockAPIClient_ServerVersion_Call
func (*MockAPIClient_ServerVersion_Call) Run ¶
func (_c *MockAPIClient_ServerVersion_Call) Run(run func(ctx context.Context)) *MockAPIClient_ServerVersion_Call
func (*MockAPIClient_ServerVersion_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServerVersion_Call) RunAndReturn(run func(ctx context.Context) (types.Version, error)) *MockAPIClient_ServerVersion_Call
type MockAPIClient_ServiceCreate_Call ¶
MockAPIClient_ServiceCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceCreate'
func (*MockAPIClient_ServiceCreate_Call) Return ¶
func (_c *MockAPIClient_ServiceCreate_Call) Return(serviceCreateResponse swarm.ServiceCreateResponse, err error) *MockAPIClient_ServiceCreate_Call
func (*MockAPIClient_ServiceCreate_Call) Run ¶
func (_c *MockAPIClient_ServiceCreate_Call) Run(run func(ctx context.Context, service swarm.ServiceSpec, options swarm.ServiceCreateOptions)) *MockAPIClient_ServiceCreate_Call
func (*MockAPIClient_ServiceCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceCreate_Call) RunAndReturn(run func(ctx context.Context, service swarm.ServiceSpec, options swarm.ServiceCreateOptions) (swarm.ServiceCreateResponse, error)) *MockAPIClient_ServiceCreate_Call
type MockAPIClient_ServiceInspectWithRaw_Call ¶
MockAPIClient_ServiceInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceInspectWithRaw'
func (*MockAPIClient_ServiceInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_ServiceInspectWithRaw_Call) Return(service swarm.Service, bytes []byte, err error) *MockAPIClient_ServiceInspectWithRaw_Call
func (*MockAPIClient_ServiceInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_ServiceInspectWithRaw_Call) Run(run func(ctx context.Context, serviceID string, options swarm.ServiceInspectOptions)) *MockAPIClient_ServiceInspectWithRaw_Call
func (*MockAPIClient_ServiceInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, serviceID string, options swarm.ServiceInspectOptions) (swarm.Service, []byte, error)) *MockAPIClient_ServiceInspectWithRaw_Call
type MockAPIClient_ServiceList_Call ¶
MockAPIClient_ServiceList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceList'
func (*MockAPIClient_ServiceList_Call) Return ¶
func (_c *MockAPIClient_ServiceList_Call) Return(services []swarm.Service, err error) *MockAPIClient_ServiceList_Call
func (*MockAPIClient_ServiceList_Call) Run ¶
func (_c *MockAPIClient_ServiceList_Call) Run(run func(ctx context.Context, options swarm.ServiceListOptions)) *MockAPIClient_ServiceList_Call
func (*MockAPIClient_ServiceList_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceList_Call) RunAndReturn(run func(ctx context.Context, options swarm.ServiceListOptions) ([]swarm.Service, error)) *MockAPIClient_ServiceList_Call
type MockAPIClient_ServiceLogs_Call ¶
MockAPIClient_ServiceLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceLogs'
func (*MockAPIClient_ServiceLogs_Call) Return ¶
func (_c *MockAPIClient_ServiceLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_ServiceLogs_Call
func (*MockAPIClient_ServiceLogs_Call) Run ¶
func (_c *MockAPIClient_ServiceLogs_Call) Run(run func(ctx context.Context, serviceID string, options container.LogsOptions)) *MockAPIClient_ServiceLogs_Call
func (*MockAPIClient_ServiceLogs_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceLogs_Call) RunAndReturn(run func(ctx context.Context, serviceID string, options container.LogsOptions) (io.ReadCloser, error)) *MockAPIClient_ServiceLogs_Call
type MockAPIClient_ServiceRemove_Call ¶
MockAPIClient_ServiceRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceRemove'
func (*MockAPIClient_ServiceRemove_Call) Return ¶
func (_c *MockAPIClient_ServiceRemove_Call) Return(err error) *MockAPIClient_ServiceRemove_Call
func (*MockAPIClient_ServiceRemove_Call) Run ¶
func (_c *MockAPIClient_ServiceRemove_Call) Run(run func(ctx context.Context, serviceID string)) *MockAPIClient_ServiceRemove_Call
func (*MockAPIClient_ServiceRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceRemove_Call) RunAndReturn(run func(ctx context.Context, serviceID string) error) *MockAPIClient_ServiceRemove_Call
type MockAPIClient_ServiceUpdate_Call ¶
MockAPIClient_ServiceUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceUpdate'
func (*MockAPIClient_ServiceUpdate_Call) Return ¶
func (_c *MockAPIClient_ServiceUpdate_Call) Return(serviceUpdateResponse swarm.ServiceUpdateResponse, err error) *MockAPIClient_ServiceUpdate_Call
func (*MockAPIClient_ServiceUpdate_Call) Run ¶
func (_c *MockAPIClient_ServiceUpdate_Call) Run(run func(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options swarm.ServiceUpdateOptions)) *MockAPIClient_ServiceUpdate_Call
func (*MockAPIClient_ServiceUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_ServiceUpdate_Call) RunAndReturn(run func(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options swarm.ServiceUpdateOptions) (swarm.ServiceUpdateResponse, error)) *MockAPIClient_ServiceUpdate_Call
type MockAPIClient_SwarmGetUnlockKey_Call ¶
MockAPIClient_SwarmGetUnlockKey_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmGetUnlockKey'
func (*MockAPIClient_SwarmGetUnlockKey_Call) Return ¶
func (_c *MockAPIClient_SwarmGetUnlockKey_Call) Return(unlockKeyResponse swarm.UnlockKeyResponse, err error) *MockAPIClient_SwarmGetUnlockKey_Call
func (*MockAPIClient_SwarmGetUnlockKey_Call) Run ¶
func (_c *MockAPIClient_SwarmGetUnlockKey_Call) Run(run func(ctx context.Context)) *MockAPIClient_SwarmGetUnlockKey_Call
func (*MockAPIClient_SwarmGetUnlockKey_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmGetUnlockKey_Call) RunAndReturn(run func(ctx context.Context) (swarm.UnlockKeyResponse, error)) *MockAPIClient_SwarmGetUnlockKey_Call
type MockAPIClient_SwarmInit_Call ¶
MockAPIClient_SwarmInit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmInit'
func (*MockAPIClient_SwarmInit_Call) Return ¶
func (_c *MockAPIClient_SwarmInit_Call) Return(s string, err error) *MockAPIClient_SwarmInit_Call
func (*MockAPIClient_SwarmInit_Call) Run ¶
func (_c *MockAPIClient_SwarmInit_Call) Run(run func(ctx context.Context, req swarm.InitRequest)) *MockAPIClient_SwarmInit_Call
func (*MockAPIClient_SwarmInit_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmInit_Call) RunAndReturn(run func(ctx context.Context, req swarm.InitRequest) (string, error)) *MockAPIClient_SwarmInit_Call
type MockAPIClient_SwarmInspect_Call ¶
MockAPIClient_SwarmInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmInspect'
func (*MockAPIClient_SwarmInspect_Call) Return ¶
func (_c *MockAPIClient_SwarmInspect_Call) Return(swarm1 swarm.Swarm, err error) *MockAPIClient_SwarmInspect_Call
func (*MockAPIClient_SwarmInspect_Call) Run ¶
func (_c *MockAPIClient_SwarmInspect_Call) Run(run func(ctx context.Context)) *MockAPIClient_SwarmInspect_Call
func (*MockAPIClient_SwarmInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmInspect_Call) RunAndReturn(run func(ctx context.Context) (swarm.Swarm, error)) *MockAPIClient_SwarmInspect_Call
type MockAPIClient_SwarmJoin_Call ¶
MockAPIClient_SwarmJoin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmJoin'
func (*MockAPIClient_SwarmJoin_Call) Return ¶
func (_c *MockAPIClient_SwarmJoin_Call) Return(err error) *MockAPIClient_SwarmJoin_Call
func (*MockAPIClient_SwarmJoin_Call) Run ¶
func (_c *MockAPIClient_SwarmJoin_Call) Run(run func(ctx context.Context, req swarm.JoinRequest)) *MockAPIClient_SwarmJoin_Call
func (*MockAPIClient_SwarmJoin_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmJoin_Call) RunAndReturn(run func(ctx context.Context, req swarm.JoinRequest) error) *MockAPIClient_SwarmJoin_Call
type MockAPIClient_SwarmLeave_Call ¶
MockAPIClient_SwarmLeave_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmLeave'
func (*MockAPIClient_SwarmLeave_Call) Return ¶
func (_c *MockAPIClient_SwarmLeave_Call) Return(err error) *MockAPIClient_SwarmLeave_Call
func (*MockAPIClient_SwarmLeave_Call) Run ¶
func (_c *MockAPIClient_SwarmLeave_Call) Run(run func(ctx context.Context, force bool)) *MockAPIClient_SwarmLeave_Call
func (*MockAPIClient_SwarmLeave_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmLeave_Call) RunAndReturn(run func(ctx context.Context, force bool) error) *MockAPIClient_SwarmLeave_Call
type MockAPIClient_SwarmUnlock_Call ¶
MockAPIClient_SwarmUnlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmUnlock'
func (*MockAPIClient_SwarmUnlock_Call) Return ¶
func (_c *MockAPIClient_SwarmUnlock_Call) Return(err error) *MockAPIClient_SwarmUnlock_Call
func (*MockAPIClient_SwarmUnlock_Call) Run ¶
func (_c *MockAPIClient_SwarmUnlock_Call) Run(run func(ctx context.Context, req swarm.UnlockRequest)) *MockAPIClient_SwarmUnlock_Call
func (*MockAPIClient_SwarmUnlock_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmUnlock_Call) RunAndReturn(run func(ctx context.Context, req swarm.UnlockRequest) error) *MockAPIClient_SwarmUnlock_Call
type MockAPIClient_SwarmUpdate_Call ¶
MockAPIClient_SwarmUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SwarmUpdate'
func (*MockAPIClient_SwarmUpdate_Call) Return ¶
func (_c *MockAPIClient_SwarmUpdate_Call) Return(err error) *MockAPIClient_SwarmUpdate_Call
func (*MockAPIClient_SwarmUpdate_Call) Run ¶
func (_c *MockAPIClient_SwarmUpdate_Call) Run(run func(ctx context.Context, version swarm.Version, swarm1 swarm.Spec, flags swarm.UpdateFlags)) *MockAPIClient_SwarmUpdate_Call
func (*MockAPIClient_SwarmUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_SwarmUpdate_Call) RunAndReturn(run func(ctx context.Context, version swarm.Version, swarm1 swarm.Spec, flags swarm.UpdateFlags) error) *MockAPIClient_SwarmUpdate_Call
type MockAPIClient_TaskInspectWithRaw_Call ¶
MockAPIClient_TaskInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskInspectWithRaw'
func (*MockAPIClient_TaskInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_TaskInspectWithRaw_Call) Return(task swarm.Task, bytes []byte, err error) *MockAPIClient_TaskInspectWithRaw_Call
func (*MockAPIClient_TaskInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_TaskInspectWithRaw_Call) Run(run func(ctx context.Context, taskID string)) *MockAPIClient_TaskInspectWithRaw_Call
func (*MockAPIClient_TaskInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_TaskInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, taskID string) (swarm.Task, []byte, error)) *MockAPIClient_TaskInspectWithRaw_Call
type MockAPIClient_TaskList_Call ¶
MockAPIClient_TaskList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskList'
func (*MockAPIClient_TaskList_Call) Return ¶
func (_c *MockAPIClient_TaskList_Call) Return(tasks []swarm.Task, err error) *MockAPIClient_TaskList_Call
func (*MockAPIClient_TaskList_Call) Run ¶
func (_c *MockAPIClient_TaskList_Call) Run(run func(ctx context.Context, options swarm.TaskListOptions)) *MockAPIClient_TaskList_Call
func (*MockAPIClient_TaskList_Call) RunAndReturn ¶
func (_c *MockAPIClient_TaskList_Call) RunAndReturn(run func(ctx context.Context, options swarm.TaskListOptions) ([]swarm.Task, error)) *MockAPIClient_TaskList_Call
type MockAPIClient_TaskLogs_Call ¶
MockAPIClient_TaskLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TaskLogs'
func (*MockAPIClient_TaskLogs_Call) Return ¶
func (_c *MockAPIClient_TaskLogs_Call) Return(readCloser io.ReadCloser, err error) *MockAPIClient_TaskLogs_Call
func (*MockAPIClient_TaskLogs_Call) Run ¶
func (_c *MockAPIClient_TaskLogs_Call) Run(run func(ctx context.Context, taskID string, options container.LogsOptions)) *MockAPIClient_TaskLogs_Call
func (*MockAPIClient_TaskLogs_Call) RunAndReturn ¶
func (_c *MockAPIClient_TaskLogs_Call) RunAndReturn(run func(ctx context.Context, taskID string, options container.LogsOptions) (io.ReadCloser, error)) *MockAPIClient_TaskLogs_Call
type MockAPIClient_VolumeCreate_Call ¶
MockAPIClient_VolumeCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeCreate'
func (*MockAPIClient_VolumeCreate_Call) Return ¶
func (_c *MockAPIClient_VolumeCreate_Call) Return(volume1 volume.Volume, err error) *MockAPIClient_VolumeCreate_Call
func (*MockAPIClient_VolumeCreate_Call) Run ¶
func (_c *MockAPIClient_VolumeCreate_Call) Run(run func(ctx context.Context, options volume.CreateOptions)) *MockAPIClient_VolumeCreate_Call
func (*MockAPIClient_VolumeCreate_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeCreate_Call) RunAndReturn(run func(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)) *MockAPIClient_VolumeCreate_Call
type MockAPIClient_VolumeInspectWithRaw_Call ¶
MockAPIClient_VolumeInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeInspectWithRaw'
func (*MockAPIClient_VolumeInspectWithRaw_Call) Return ¶
func (_c *MockAPIClient_VolumeInspectWithRaw_Call) Return(volume1 volume.Volume, bytes []byte, err error) *MockAPIClient_VolumeInspectWithRaw_Call
func (*MockAPIClient_VolumeInspectWithRaw_Call) Run ¶
func (_c *MockAPIClient_VolumeInspectWithRaw_Call) Run(run func(ctx context.Context, volumeID string)) *MockAPIClient_VolumeInspectWithRaw_Call
func (*MockAPIClient_VolumeInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, volumeID string) (volume.Volume, []byte, error)) *MockAPIClient_VolumeInspectWithRaw_Call
type MockAPIClient_VolumeInspect_Call ¶
MockAPIClient_VolumeInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeInspect'
func (*MockAPIClient_VolumeInspect_Call) Return ¶
func (_c *MockAPIClient_VolumeInspect_Call) Return(volume1 volume.Volume, err error) *MockAPIClient_VolumeInspect_Call
func (*MockAPIClient_VolumeInspect_Call) Run ¶
func (_c *MockAPIClient_VolumeInspect_Call) Run(run func(ctx context.Context, volumeID string)) *MockAPIClient_VolumeInspect_Call
func (*MockAPIClient_VolumeInspect_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeInspect_Call) RunAndReturn(run func(ctx context.Context, volumeID string) (volume.Volume, error)) *MockAPIClient_VolumeInspect_Call
type MockAPIClient_VolumeList_Call ¶
MockAPIClient_VolumeList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeList'
func (*MockAPIClient_VolumeList_Call) Return ¶
func (_c *MockAPIClient_VolumeList_Call) Return(listResponse volume.ListResponse, err error) *MockAPIClient_VolumeList_Call
func (*MockAPIClient_VolumeList_Call) Run ¶
func (_c *MockAPIClient_VolumeList_Call) Run(run func(ctx context.Context, options volume.ListOptions)) *MockAPIClient_VolumeList_Call
func (*MockAPIClient_VolumeList_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeList_Call) RunAndReturn(run func(ctx context.Context, options volume.ListOptions) (volume.ListResponse, error)) *MockAPIClient_VolumeList_Call
type MockAPIClient_VolumeRemove_Call ¶
MockAPIClient_VolumeRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeRemove'
func (*MockAPIClient_VolumeRemove_Call) Return ¶
func (_c *MockAPIClient_VolumeRemove_Call) Return(err error) *MockAPIClient_VolumeRemove_Call
func (*MockAPIClient_VolumeRemove_Call) Run ¶
func (_c *MockAPIClient_VolumeRemove_Call) Run(run func(ctx context.Context, volumeID string, force bool)) *MockAPIClient_VolumeRemove_Call
func (*MockAPIClient_VolumeRemove_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeRemove_Call) RunAndReturn(run func(ctx context.Context, volumeID string, force bool) error) *MockAPIClient_VolumeRemove_Call
type MockAPIClient_VolumeUpdate_Call ¶
MockAPIClient_VolumeUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumeUpdate'
func (*MockAPIClient_VolumeUpdate_Call) Return ¶
func (_c *MockAPIClient_VolumeUpdate_Call) Return(err error) *MockAPIClient_VolumeUpdate_Call
func (*MockAPIClient_VolumeUpdate_Call) Run ¶
func (_c *MockAPIClient_VolumeUpdate_Call) Run(run func(ctx context.Context, volumeID string, version swarm.Version, options volume.UpdateOptions)) *MockAPIClient_VolumeUpdate_Call
func (*MockAPIClient_VolumeUpdate_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumeUpdate_Call) RunAndReturn(run func(ctx context.Context, volumeID string, version swarm.Version, options volume.UpdateOptions) error) *MockAPIClient_VolumeUpdate_Call
type MockAPIClient_VolumesPrune_Call ¶
MockAPIClient_VolumesPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VolumesPrune'
func (*MockAPIClient_VolumesPrune_Call) Return ¶
func (_c *MockAPIClient_VolumesPrune_Call) Return(pruneReport volume.PruneReport, err error) *MockAPIClient_VolumesPrune_Call
func (*MockAPIClient_VolumesPrune_Call) Run ¶
func (_c *MockAPIClient_VolumesPrune_Call) Run(run func(ctx context.Context, pruneFilter filters.Args)) *MockAPIClient_VolumesPrune_Call
func (*MockAPIClient_VolumesPrune_Call) RunAndReturn ¶
func (_c *MockAPIClient_VolumesPrune_Call) RunAndReturn(run func(ctx context.Context, pruneFilter filters.Args) (volume.PruneReport, error)) *MockAPIClient_VolumesPrune_Call
type MockContainerAPIClient ¶
MockContainerAPIClient is an autogenerated mock type for the ContainerAPIClient type
func NewMockContainerAPIClient ¶
func NewMockContainerAPIClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockContainerAPIClient
NewMockContainerAPIClient creates a new instance of MockContainerAPIClient. 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 (*MockContainerAPIClient) ContainerAttach ¶
func (_mock *MockContainerAPIClient) ContainerAttach(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)
ContainerAttach provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerCommit ¶
func (_mock *MockContainerAPIClient) ContainerCommit(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)
ContainerCommit provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerCreate ¶
func (_mock *MockContainerAPIClient) 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 for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerDiff ¶
func (_mock *MockContainerAPIClient) ContainerDiff(ctx context.Context, container1 string) ([]container.FilesystemChange, error)
ContainerDiff provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExecAttach ¶
func (_mock *MockContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)
ContainerExecAttach provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExecCreate ¶
func (_mock *MockContainerAPIClient) ContainerExecCreate(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)
ContainerExecCreate provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExecInspect ¶
func (_mock *MockContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (container.ExecInspect, error)
ContainerExecInspect provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExecResize ¶
func (_mock *MockContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options container.ResizeOptions) error
ContainerExecResize provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExecStart ¶
func (_mock *MockContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, options container.ExecStartOptions) error
ContainerExecStart provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerExport ¶
func (_mock *MockContainerAPIClient) ContainerExport(ctx context.Context, container1 string) (io.ReadCloser, error)
ContainerExport provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerInspect ¶
func (_mock *MockContainerAPIClient) ContainerInspect(ctx context.Context, container1 string) (container.InspectResponse, error)
ContainerInspect provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerInspectWithRaw ¶
func (_mock *MockContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)
ContainerInspectWithRaw provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerKill ¶
func (_mock *MockContainerAPIClient) ContainerKill(ctx context.Context, container1 string, signal string) error
ContainerKill provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerList ¶
func (_mock *MockContainerAPIClient) ContainerList(ctx context.Context, options container.ListOptions) ([]container.Summary, error)
ContainerList provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerLogs ¶
func (_mock *MockContainerAPIClient) ContainerLogs(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)
ContainerLogs provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerPause ¶
func (_mock *MockContainerAPIClient) ContainerPause(ctx context.Context, container1 string) error
ContainerPause provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerRemove ¶
func (_mock *MockContainerAPIClient) ContainerRemove(ctx context.Context, container1 string, options container.RemoveOptions) error
ContainerRemove provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerRename ¶
func (_mock *MockContainerAPIClient) ContainerRename(ctx context.Context, container1 string, newContainerName string) error
ContainerRename provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerResize ¶
func (_mock *MockContainerAPIClient) ContainerResize(ctx context.Context, container1 string, options container.ResizeOptions) error
ContainerResize provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerRestart ¶
func (_mock *MockContainerAPIClient) ContainerRestart(ctx context.Context, container1 string, options container.StopOptions) error
ContainerRestart provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerStart ¶
func (_mock *MockContainerAPIClient) ContainerStart(ctx context.Context, container1 string, options container.StartOptions) error
ContainerStart provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerStatPath ¶
func (_mock *MockContainerAPIClient) ContainerStatPath(ctx context.Context, container1 string, path string) (container.PathStat, error)
ContainerStatPath provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerStats ¶
func (_mock *MockContainerAPIClient) ContainerStats(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)
ContainerStats provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerStatsOneShot ¶
func (_mock *MockContainerAPIClient) ContainerStatsOneShot(ctx context.Context, container1 string) (container.StatsResponseReader, error)
ContainerStatsOneShot provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerStop ¶
func (_mock *MockContainerAPIClient) ContainerStop(ctx context.Context, container1 string, options container.StopOptions) error
ContainerStop provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerTop ¶
func (_mock *MockContainerAPIClient) ContainerTop(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)
ContainerTop provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerUnpause ¶
func (_mock *MockContainerAPIClient) ContainerUnpause(ctx context.Context, container1 string) error
ContainerUnpause provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerUpdate ¶
func (_mock *MockContainerAPIClient) ContainerUpdate(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)
ContainerUpdate provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainerWait ¶
func (_mock *MockContainerAPIClient) ContainerWait(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)
ContainerWait provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) ContainersPrune ¶
func (_mock *MockContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)
ContainersPrune provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) CopyFromContainer ¶
func (_mock *MockContainerAPIClient) CopyFromContainer(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)
CopyFromContainer provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) CopyToContainer ¶
func (_mock *MockContainerAPIClient) CopyToContainer(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions) error
CopyToContainer provides a mock function for the type MockContainerAPIClient
func (*MockContainerAPIClient) EXPECT ¶
func (_m *MockContainerAPIClient) EXPECT() *MockContainerAPIClient_Expecter
type MockContainerAPIClient_ContainerAttach_Call ¶
MockContainerAPIClient_ContainerAttach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerAttach'
func (*MockContainerAPIClient_ContainerAttach_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockContainerAPIClient_ContainerAttach_Call
func (*MockContainerAPIClient_ContainerAttach_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerAttach_Call) Run(run func(ctx context.Context, container1 string, options container.AttachOptions)) *MockContainerAPIClient_ContainerAttach_Call
func (*MockContainerAPIClient_ContainerAttach_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerAttach_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.AttachOptions) (types.HijackedResponse, error)) *MockContainerAPIClient_ContainerAttach_Call
type MockContainerAPIClient_ContainerCommit_Call ¶
MockContainerAPIClient_ContainerCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerCommit'
func (*MockContainerAPIClient_ContainerCommit_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerCommit_Call) Return(v container.CommitResponse, err error) *MockContainerAPIClient_ContainerCommit_Call
func (*MockContainerAPIClient_ContainerCommit_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerCommit_Call) Run(run func(ctx context.Context, container1 string, options container.CommitOptions)) *MockContainerAPIClient_ContainerCommit_Call
func (*MockContainerAPIClient_ContainerCommit_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerCommit_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.CommitOptions) (container.CommitResponse, error)) *MockContainerAPIClient_ContainerCommit_Call
type MockContainerAPIClient_ContainerCreate_Call ¶
MockContainerAPIClient_ContainerCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerCreate'
func (*MockContainerAPIClient_ContainerCreate_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerCreate_Call) Return(createResponse container.CreateResponse, err error) *MockContainerAPIClient_ContainerCreate_Call
func (*MockContainerAPIClient_ContainerCreate_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerCreate_Call) Run(run func(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string)) *MockContainerAPIClient_ContainerCreate_Call
func (*MockContainerAPIClient_ContainerCreate_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerCreate_Call) RunAndReturn(run func(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error)) *MockContainerAPIClient_ContainerCreate_Call
type MockContainerAPIClient_ContainerDiff_Call ¶
MockContainerAPIClient_ContainerDiff_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerDiff'
func (*MockContainerAPIClient_ContainerDiff_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerDiff_Call) Return(filesystemChanges []container.FilesystemChange, err error) *MockContainerAPIClient_ContainerDiff_Call
func (*MockContainerAPIClient_ContainerDiff_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerDiff_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerDiff_Call
func (*MockContainerAPIClient_ContainerDiff_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerDiff_Call) RunAndReturn(run func(ctx context.Context, container1 string) ([]container.FilesystemChange, error)) *MockContainerAPIClient_ContainerDiff_Call
type MockContainerAPIClient_ContainerExecAttach_Call ¶
MockContainerAPIClient_ContainerExecAttach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecAttach'
func (*MockContainerAPIClient_ContainerExecAttach_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerExecAttach_Call) Return(hijackedResponse types.HijackedResponse, err error) *MockContainerAPIClient_ContainerExecAttach_Call
func (*MockContainerAPIClient_ContainerExecAttach_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExecAttach_Call) Run(run func(ctx context.Context, execID string, options container.ExecAttachOptions)) *MockContainerAPIClient_ContainerExecAttach_Call
func (*MockContainerAPIClient_ContainerExecAttach_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExecAttach_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ExecAttachOptions) (types.HijackedResponse, error)) *MockContainerAPIClient_ContainerExecAttach_Call
type MockContainerAPIClient_ContainerExecCreate_Call ¶
MockContainerAPIClient_ContainerExecCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecCreate'
func (*MockContainerAPIClient_ContainerExecCreate_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExecCreate_Call) Run(run func(ctx context.Context, container1 string, options container.ExecOptions)) *MockContainerAPIClient_ContainerExecCreate_Call
func (*MockContainerAPIClient_ContainerExecCreate_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExecCreate_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.ExecOptions) (container.ExecCreateResponse, error)) *MockContainerAPIClient_ContainerExecCreate_Call
type MockContainerAPIClient_ContainerExecInspect_Call ¶
MockContainerAPIClient_ContainerExecInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecInspect'
func (*MockContainerAPIClient_ContainerExecInspect_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerExecInspect_Call) Return(execInspect container.ExecInspect, err error) *MockContainerAPIClient_ContainerExecInspect_Call
func (*MockContainerAPIClient_ContainerExecInspect_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExecInspect_Call) Run(run func(ctx context.Context, execID string)) *MockContainerAPIClient_ContainerExecInspect_Call
func (*MockContainerAPIClient_ContainerExecInspect_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExecInspect_Call) RunAndReturn(run func(ctx context.Context, execID string) (container.ExecInspect, error)) *MockContainerAPIClient_ContainerExecInspect_Call
type MockContainerAPIClient_ContainerExecResize_Call ¶
MockContainerAPIClient_ContainerExecResize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecResize'
func (*MockContainerAPIClient_ContainerExecResize_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerExecResize_Call) Return(err error) *MockContainerAPIClient_ContainerExecResize_Call
func (*MockContainerAPIClient_ContainerExecResize_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExecResize_Call) Run(run func(ctx context.Context, execID string, options container.ResizeOptions)) *MockContainerAPIClient_ContainerExecResize_Call
func (*MockContainerAPIClient_ContainerExecResize_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExecResize_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ResizeOptions) error) *MockContainerAPIClient_ContainerExecResize_Call
type MockContainerAPIClient_ContainerExecStart_Call ¶
MockContainerAPIClient_ContainerExecStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecStart'
func (*MockContainerAPIClient_ContainerExecStart_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerExecStart_Call) Return(err error) *MockContainerAPIClient_ContainerExecStart_Call
func (*MockContainerAPIClient_ContainerExecStart_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExecStart_Call) Run(run func(ctx context.Context, execID string, options container.ExecStartOptions)) *MockContainerAPIClient_ContainerExecStart_Call
func (*MockContainerAPIClient_ContainerExecStart_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExecStart_Call) RunAndReturn(run func(ctx context.Context, execID string, options container.ExecStartOptions) error) *MockContainerAPIClient_ContainerExecStart_Call
type MockContainerAPIClient_ContainerExport_Call ¶
MockContainerAPIClient_ContainerExport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExport'
func (*MockContainerAPIClient_ContainerExport_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerExport_Call) Return(readCloser io.ReadCloser, err error) *MockContainerAPIClient_ContainerExport_Call
func (*MockContainerAPIClient_ContainerExport_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerExport_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerExport_Call
func (*MockContainerAPIClient_ContainerExport_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerExport_Call) RunAndReturn(run func(ctx context.Context, container1 string) (io.ReadCloser, error)) *MockContainerAPIClient_ContainerExport_Call
type MockContainerAPIClient_ContainerInspectWithRaw_Call ¶
MockContainerAPIClient_ContainerInspectWithRaw_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerInspectWithRaw'
func (*MockContainerAPIClient_ContainerInspectWithRaw_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) Return(inspectResponse container.InspectResponse, bytes []byte, err error) *MockContainerAPIClient_ContainerInspectWithRaw_Call
func (*MockContainerAPIClient_ContainerInspectWithRaw_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) Run(run func(ctx context.Context, container1 string, getSize bool)) *MockContainerAPIClient_ContainerInspectWithRaw_Call
func (*MockContainerAPIClient_ContainerInspectWithRaw_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerInspectWithRaw_Call) RunAndReturn(run func(ctx context.Context, container1 string, getSize bool) (container.InspectResponse, []byte, error)) *MockContainerAPIClient_ContainerInspectWithRaw_Call
type MockContainerAPIClient_ContainerInspect_Call ¶
MockContainerAPIClient_ContainerInspect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerInspect'
func (*MockContainerAPIClient_ContainerInspect_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerInspect_Call) Return(inspectResponse container.InspectResponse, err error) *MockContainerAPIClient_ContainerInspect_Call
func (*MockContainerAPIClient_ContainerInspect_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerInspect_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerInspect_Call
func (*MockContainerAPIClient_ContainerInspect_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerInspect_Call) RunAndReturn(run func(ctx context.Context, container1 string) (container.InspectResponse, error)) *MockContainerAPIClient_ContainerInspect_Call
type MockContainerAPIClient_ContainerKill_Call ¶
MockContainerAPIClient_ContainerKill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerKill'
func (*MockContainerAPIClient_ContainerKill_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerKill_Call) Return(err error) *MockContainerAPIClient_ContainerKill_Call
func (*MockContainerAPIClient_ContainerKill_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerKill_Call) Run(run func(ctx context.Context, container1 string, signal string)) *MockContainerAPIClient_ContainerKill_Call
func (*MockContainerAPIClient_ContainerKill_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerKill_Call) RunAndReturn(run func(ctx context.Context, container1 string, signal string) error) *MockContainerAPIClient_ContainerKill_Call
type MockContainerAPIClient_ContainerList_Call ¶
MockContainerAPIClient_ContainerList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerList'
func (*MockContainerAPIClient_ContainerList_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerList_Call) Return(summarys []container.Summary, err error) *MockContainerAPIClient_ContainerList_Call
func (*MockContainerAPIClient_ContainerList_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerList_Call) Run(run func(ctx context.Context, options container.ListOptions)) *MockContainerAPIClient_ContainerList_Call
func (*MockContainerAPIClient_ContainerList_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerList_Call) RunAndReturn(run func(ctx context.Context, options container.ListOptions) ([]container.Summary, error)) *MockContainerAPIClient_ContainerList_Call
type MockContainerAPIClient_ContainerLogs_Call ¶
MockContainerAPIClient_ContainerLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerLogs'
func (*MockContainerAPIClient_ContainerLogs_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerLogs_Call) Return(readCloser io.ReadCloser, err error) *MockContainerAPIClient_ContainerLogs_Call
func (*MockContainerAPIClient_ContainerLogs_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerLogs_Call) Run(run func(ctx context.Context, container1 string, options container.LogsOptions)) *MockContainerAPIClient_ContainerLogs_Call
func (*MockContainerAPIClient_ContainerLogs_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerLogs_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.LogsOptions) (io.ReadCloser, error)) *MockContainerAPIClient_ContainerLogs_Call
type MockContainerAPIClient_ContainerPause_Call ¶
MockContainerAPIClient_ContainerPause_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerPause'
func (*MockContainerAPIClient_ContainerPause_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerPause_Call) Return(err error) *MockContainerAPIClient_ContainerPause_Call
func (*MockContainerAPIClient_ContainerPause_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerPause_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerPause_Call
func (*MockContainerAPIClient_ContainerPause_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerPause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockContainerAPIClient_ContainerPause_Call
type MockContainerAPIClient_ContainerRemove_Call ¶
MockContainerAPIClient_ContainerRemove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRemove'
func (*MockContainerAPIClient_ContainerRemove_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerRemove_Call) Return(err error) *MockContainerAPIClient_ContainerRemove_Call
func (*MockContainerAPIClient_ContainerRemove_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerRemove_Call) Run(run func(ctx context.Context, container1 string, options container.RemoveOptions)) *MockContainerAPIClient_ContainerRemove_Call
func (*MockContainerAPIClient_ContainerRemove_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerRemove_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.RemoveOptions) error) *MockContainerAPIClient_ContainerRemove_Call
type MockContainerAPIClient_ContainerRename_Call ¶
MockContainerAPIClient_ContainerRename_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRename'
func (*MockContainerAPIClient_ContainerRename_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerRename_Call) Return(err error) *MockContainerAPIClient_ContainerRename_Call
func (*MockContainerAPIClient_ContainerRename_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerRename_Call) Run(run func(ctx context.Context, container1 string, newContainerName string)) *MockContainerAPIClient_ContainerRename_Call
func (*MockContainerAPIClient_ContainerRename_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerRename_Call) RunAndReturn(run func(ctx context.Context, container1 string, newContainerName string) error) *MockContainerAPIClient_ContainerRename_Call
type MockContainerAPIClient_ContainerResize_Call ¶
MockContainerAPIClient_ContainerResize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerResize'
func (*MockContainerAPIClient_ContainerResize_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerResize_Call) Return(err error) *MockContainerAPIClient_ContainerResize_Call
func (*MockContainerAPIClient_ContainerResize_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerResize_Call) Run(run func(ctx context.Context, container1 string, options container.ResizeOptions)) *MockContainerAPIClient_ContainerResize_Call
func (*MockContainerAPIClient_ContainerResize_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerResize_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.ResizeOptions) error) *MockContainerAPIClient_ContainerResize_Call
type MockContainerAPIClient_ContainerRestart_Call ¶
MockContainerAPIClient_ContainerRestart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerRestart'
func (*MockContainerAPIClient_ContainerRestart_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerRestart_Call) Return(err error) *MockContainerAPIClient_ContainerRestart_Call
func (*MockContainerAPIClient_ContainerRestart_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerRestart_Call) Run(run func(ctx context.Context, container1 string, options container.StopOptions)) *MockContainerAPIClient_ContainerRestart_Call
func (*MockContainerAPIClient_ContainerRestart_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerRestart_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StopOptions) error) *MockContainerAPIClient_ContainerRestart_Call
type MockContainerAPIClient_ContainerStart_Call ¶
MockContainerAPIClient_ContainerStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStart'
func (*MockContainerAPIClient_ContainerStart_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerStart_Call) Return(err error) *MockContainerAPIClient_ContainerStart_Call
func (*MockContainerAPIClient_ContainerStart_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerStart_Call) Run(run func(ctx context.Context, container1 string, options container.StartOptions)) *MockContainerAPIClient_ContainerStart_Call
func (*MockContainerAPIClient_ContainerStart_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerStart_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StartOptions) error) *MockContainerAPIClient_ContainerStart_Call
type MockContainerAPIClient_ContainerStatPath_Call ¶
MockContainerAPIClient_ContainerStatPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatPath'
func (*MockContainerAPIClient_ContainerStatPath_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerStatPath_Call) Return(pathStat container.PathStat, err error) *MockContainerAPIClient_ContainerStatPath_Call
func (*MockContainerAPIClient_ContainerStatPath_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerStatPath_Call) Run(run func(ctx context.Context, container1 string, path string)) *MockContainerAPIClient_ContainerStatPath_Call
func (*MockContainerAPIClient_ContainerStatPath_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerStatPath_Call) RunAndReturn(run func(ctx context.Context, container1 string, path string) (container.PathStat, error)) *MockContainerAPIClient_ContainerStatPath_Call
type MockContainerAPIClient_ContainerStatsOneShot_Call ¶
MockContainerAPIClient_ContainerStatsOneShot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatsOneShot'
func (*MockContainerAPIClient_ContainerStatsOneShot_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockContainerAPIClient_ContainerStatsOneShot_Call
func (*MockContainerAPIClient_ContainerStatsOneShot_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerStatsOneShot_Call
func (*MockContainerAPIClient_ContainerStatsOneShot_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerStatsOneShot_Call) RunAndReturn(run func(ctx context.Context, container1 string) (container.StatsResponseReader, error)) *MockContainerAPIClient_ContainerStatsOneShot_Call
type MockContainerAPIClient_ContainerStats_Call ¶
MockContainerAPIClient_ContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStats'
func (*MockContainerAPIClient_ContainerStats_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerStats_Call) Return(statsResponseReader container.StatsResponseReader, err error) *MockContainerAPIClient_ContainerStats_Call
func (*MockContainerAPIClient_ContainerStats_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerStats_Call) Run(run func(ctx context.Context, container1 string, stream bool)) *MockContainerAPIClient_ContainerStats_Call
func (*MockContainerAPIClient_ContainerStats_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerStats_Call) RunAndReturn(run func(ctx context.Context, container1 string, stream bool) (container.StatsResponseReader, error)) *MockContainerAPIClient_ContainerStats_Call
type MockContainerAPIClient_ContainerStop_Call ¶
MockContainerAPIClient_ContainerStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStop'
func (*MockContainerAPIClient_ContainerStop_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerStop_Call) Return(err error) *MockContainerAPIClient_ContainerStop_Call
func (*MockContainerAPIClient_ContainerStop_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerStop_Call) Run(run func(ctx context.Context, container1 string, options container.StopOptions)) *MockContainerAPIClient_ContainerStop_Call
func (*MockContainerAPIClient_ContainerStop_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerStop_Call) RunAndReturn(run func(ctx context.Context, container1 string, options container.StopOptions) error) *MockContainerAPIClient_ContainerStop_Call
type MockContainerAPIClient_ContainerTop_Call ¶
MockContainerAPIClient_ContainerTop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerTop'
func (*MockContainerAPIClient_ContainerTop_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerTop_Call) Return(topResponse container.TopResponse, err error) *MockContainerAPIClient_ContainerTop_Call
func (*MockContainerAPIClient_ContainerTop_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerTop_Call) Run(run func(ctx context.Context, container1 string, arguments []string)) *MockContainerAPIClient_ContainerTop_Call
func (*MockContainerAPIClient_ContainerTop_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerTop_Call) RunAndReturn(run func(ctx context.Context, container1 string, arguments []string) (container.TopResponse, error)) *MockContainerAPIClient_ContainerTop_Call
type MockContainerAPIClient_ContainerUnpause_Call ¶
MockContainerAPIClient_ContainerUnpause_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUnpause'
func (*MockContainerAPIClient_ContainerUnpause_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerUnpause_Call) Return(err error) *MockContainerAPIClient_ContainerUnpause_Call
func (*MockContainerAPIClient_ContainerUnpause_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerUnpause_Call) Run(run func(ctx context.Context, container1 string)) *MockContainerAPIClient_ContainerUnpause_Call
func (*MockContainerAPIClient_ContainerUnpause_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerUnpause_Call) RunAndReturn(run func(ctx context.Context, container1 string) error) *MockContainerAPIClient_ContainerUnpause_Call
type MockContainerAPIClient_ContainerUpdate_Call ¶
MockContainerAPIClient_ContainerUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerUpdate'
func (*MockContainerAPIClient_ContainerUpdate_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerUpdate_Call) Return(updateResponse container.UpdateResponse, err error) *MockContainerAPIClient_ContainerUpdate_Call
func (*MockContainerAPIClient_ContainerUpdate_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerUpdate_Call) Run(run func(ctx context.Context, container1 string, updateConfig container.UpdateConfig)) *MockContainerAPIClient_ContainerUpdate_Call
func (*MockContainerAPIClient_ContainerUpdate_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerUpdate_Call) RunAndReturn(run func(ctx context.Context, container1 string, updateConfig container.UpdateConfig) (container.UpdateResponse, error)) *MockContainerAPIClient_ContainerUpdate_Call
type MockContainerAPIClient_ContainerWait_Call ¶
MockContainerAPIClient_ContainerWait_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerWait'
func (*MockContainerAPIClient_ContainerWait_Call) Return ¶
func (_c *MockContainerAPIClient_ContainerWait_Call) Return(waitResponseCh <-chan container.WaitResponse, errCh <-chan error) *MockContainerAPIClient_ContainerWait_Call
func (*MockContainerAPIClient_ContainerWait_Call) Run ¶
func (_c *MockContainerAPIClient_ContainerWait_Call) Run(run func(ctx context.Context, container1 string, condition container.WaitCondition)) *MockContainerAPIClient_ContainerWait_Call
func (*MockContainerAPIClient_ContainerWait_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainerWait_Call) RunAndReturn(run func(ctx context.Context, container1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)) *MockContainerAPIClient_ContainerWait_Call
type MockContainerAPIClient_ContainersPrune_Call ¶
MockContainerAPIClient_ContainersPrune_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainersPrune'
func (*MockContainerAPIClient_ContainersPrune_Call) Return ¶
func (_c *MockContainerAPIClient_ContainersPrune_Call) Return(pruneReport container.PruneReport, err error) *MockContainerAPIClient_ContainersPrune_Call
func (*MockContainerAPIClient_ContainersPrune_Call) Run ¶
func (_c *MockContainerAPIClient_ContainersPrune_Call) Run(run func(ctx context.Context, pruneFilters filters.Args)) *MockContainerAPIClient_ContainersPrune_Call
func (*MockContainerAPIClient_ContainersPrune_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_ContainersPrune_Call) RunAndReturn(run func(ctx context.Context, pruneFilters filters.Args) (container.PruneReport, error)) *MockContainerAPIClient_ContainersPrune_Call
type MockContainerAPIClient_CopyFromContainer_Call ¶
MockContainerAPIClient_CopyFromContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFromContainer'
func (*MockContainerAPIClient_CopyFromContainer_Call) Return ¶
func (_c *MockContainerAPIClient_CopyFromContainer_Call) Return(readCloser io.ReadCloser, pathStat container.PathStat, err error) *MockContainerAPIClient_CopyFromContainer_Call
func (*MockContainerAPIClient_CopyFromContainer_Call) Run ¶
func (_c *MockContainerAPIClient_CopyFromContainer_Call) Run(run func(ctx context.Context, container1 string, srcPath string)) *MockContainerAPIClient_CopyFromContainer_Call
func (*MockContainerAPIClient_CopyFromContainer_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_CopyFromContainer_Call) RunAndReturn(run func(ctx context.Context, container1 string, srcPath string) (io.ReadCloser, container.PathStat, error)) *MockContainerAPIClient_CopyFromContainer_Call
type MockContainerAPIClient_CopyToContainer_Call ¶
MockContainerAPIClient_CopyToContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyToContainer'
func (*MockContainerAPIClient_CopyToContainer_Call) Return ¶
func (_c *MockContainerAPIClient_CopyToContainer_Call) Return(err error) *MockContainerAPIClient_CopyToContainer_Call
func (*MockContainerAPIClient_CopyToContainer_Call) Run ¶
func (_c *MockContainerAPIClient_CopyToContainer_Call) Run(run func(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions)) *MockContainerAPIClient_CopyToContainer_Call
func (*MockContainerAPIClient_CopyToContainer_Call) RunAndReturn ¶
func (_c *MockContainerAPIClient_CopyToContainer_Call) RunAndReturn(run func(ctx context.Context, container1 string, path string, content io.Reader, options container.CopyToContainerOptions) error) *MockContainerAPIClient_CopyToContainer_Call
type MockContainerAPIClient_Expecter ¶
type MockContainerAPIClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockContainerAPIClient_Expecter) ContainerAttach ¶
func (_e *MockContainerAPIClient_Expecter) ContainerAttach(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerAttach_Call
ContainerAttach is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.AttachOptions
func (*MockContainerAPIClient_Expecter) ContainerCommit ¶
func (_e *MockContainerAPIClient_Expecter) ContainerCommit(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerCommit_Call
ContainerCommit is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.CommitOptions
func (*MockContainerAPIClient_Expecter) ContainerCreate ¶
func (_e *MockContainerAPIClient_Expecter) ContainerCreate(ctx interface{}, config interface{}, hostConfig interface{}, networkingConfig interface{}, platform interface{}, containerName interface{}) *MockContainerAPIClient_ContainerCreate_Call
ContainerCreate is a helper method to define mock.On call
- ctx context.Context
- config *container.Config
- hostConfig *container.HostConfig
- networkingConfig *network.NetworkingConfig
- platform *v1.Platform
- containerName string
func (*MockContainerAPIClient_Expecter) ContainerDiff ¶
func (_e *MockContainerAPIClient_Expecter) ContainerDiff(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerDiff_Call
ContainerDiff is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerExecAttach ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExecAttach(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecAttach_Call
ContainerExecAttach is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ExecAttachOptions
func (*MockContainerAPIClient_Expecter) ContainerExecCreate ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExecCreate(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerExecCreate_Call
ContainerExecCreate is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.ExecOptions
func (*MockContainerAPIClient_Expecter) ContainerExecInspect ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExecInspect(ctx interface{}, execID interface{}) *MockContainerAPIClient_ContainerExecInspect_Call
ContainerExecInspect is a helper method to define mock.On call
- ctx context.Context
- execID string
func (*MockContainerAPIClient_Expecter) ContainerExecResize ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExecResize(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecResize_Call
ContainerExecResize is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ResizeOptions
func (*MockContainerAPIClient_Expecter) ContainerExecStart ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExecStart(ctx interface{}, execID interface{}, options interface{}) *MockContainerAPIClient_ContainerExecStart_Call
ContainerExecStart is a helper method to define mock.On call
- ctx context.Context
- execID string
- options container.ExecStartOptions
func (*MockContainerAPIClient_Expecter) ContainerExport ¶
func (_e *MockContainerAPIClient_Expecter) ContainerExport(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerExport_Call
ContainerExport is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerInspect ¶
func (_e *MockContainerAPIClient_Expecter) ContainerInspect(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerInspect_Call
ContainerInspect is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerInspectWithRaw ¶
func (_e *MockContainerAPIClient_Expecter) ContainerInspectWithRaw(ctx interface{}, container1 interface{}, getSize interface{}) *MockContainerAPIClient_ContainerInspectWithRaw_Call
ContainerInspectWithRaw is a helper method to define mock.On call
- ctx context.Context
- container1 string
- getSize bool
func (*MockContainerAPIClient_Expecter) ContainerKill ¶
func (_e *MockContainerAPIClient_Expecter) ContainerKill(ctx interface{}, container1 interface{}, signal interface{}) *MockContainerAPIClient_ContainerKill_Call
ContainerKill is a helper method to define mock.On call
- ctx context.Context
- container1 string
- signal string
func (*MockContainerAPIClient_Expecter) ContainerList ¶
func (_e *MockContainerAPIClient_Expecter) ContainerList(ctx interface{}, options interface{}) *MockContainerAPIClient_ContainerList_Call
ContainerList is a helper method to define mock.On call
- ctx context.Context
- options container.ListOptions
func (*MockContainerAPIClient_Expecter) ContainerLogs ¶
func (_e *MockContainerAPIClient_Expecter) ContainerLogs(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerLogs_Call
ContainerLogs is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.LogsOptions
func (*MockContainerAPIClient_Expecter) ContainerPause ¶
func (_e *MockContainerAPIClient_Expecter) ContainerPause(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerPause_Call
ContainerPause is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerRemove ¶
func (_e *MockContainerAPIClient_Expecter) ContainerRemove(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerRemove_Call
ContainerRemove is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.RemoveOptions
func (*MockContainerAPIClient_Expecter) ContainerRename ¶
func (_e *MockContainerAPIClient_Expecter) ContainerRename(ctx interface{}, container1 interface{}, newContainerName interface{}) *MockContainerAPIClient_ContainerRename_Call
ContainerRename is a helper method to define mock.On call
- ctx context.Context
- container1 string
- newContainerName string
func (*MockContainerAPIClient_Expecter) ContainerResize ¶
func (_e *MockContainerAPIClient_Expecter) ContainerResize(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerResize_Call
ContainerResize is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.ResizeOptions
func (*MockContainerAPIClient_Expecter) ContainerRestart ¶
func (_e *MockContainerAPIClient_Expecter) ContainerRestart(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerRestart_Call
ContainerRestart is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StopOptions
func (*MockContainerAPIClient_Expecter) ContainerStart ¶
func (_e *MockContainerAPIClient_Expecter) ContainerStart(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerStart_Call
ContainerStart is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StartOptions
func (*MockContainerAPIClient_Expecter) ContainerStatPath ¶
func (_e *MockContainerAPIClient_Expecter) ContainerStatPath(ctx interface{}, container1 interface{}, path interface{}) *MockContainerAPIClient_ContainerStatPath_Call
ContainerStatPath is a helper method to define mock.On call
- ctx context.Context
- container1 string
- path string
func (*MockContainerAPIClient_Expecter) ContainerStats ¶
func (_e *MockContainerAPIClient_Expecter) ContainerStats(ctx interface{}, container1 interface{}, stream interface{}) *MockContainerAPIClient_ContainerStats_Call
ContainerStats is a helper method to define mock.On call
- ctx context.Context
- container1 string
- stream bool
func (*MockContainerAPIClient_Expecter) ContainerStatsOneShot ¶
func (_e *MockContainerAPIClient_Expecter) ContainerStatsOneShot(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerStatsOneShot_Call
ContainerStatsOneShot is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerStop ¶
func (_e *MockContainerAPIClient_Expecter) ContainerStop(ctx interface{}, container1 interface{}, options interface{}) *MockContainerAPIClient_ContainerStop_Call
ContainerStop is a helper method to define mock.On call
- ctx context.Context
- container1 string
- options container.StopOptions
func (*MockContainerAPIClient_Expecter) ContainerTop ¶
func (_e *MockContainerAPIClient_Expecter) ContainerTop(ctx interface{}, container1 interface{}, arguments interface{}) *MockContainerAPIClient_ContainerTop_Call
ContainerTop is a helper method to define mock.On call
- ctx context.Context
- container1 string
- arguments []string
func (*MockContainerAPIClient_Expecter) ContainerUnpause ¶
func (_e *MockContainerAPIClient_Expecter) ContainerUnpause(ctx interface{}, container1 interface{}) *MockContainerAPIClient_ContainerUnpause_Call
ContainerUnpause is a helper method to define mock.On call
- ctx context.Context
- container1 string
func (*MockContainerAPIClient_Expecter) ContainerUpdate ¶
func (_e *MockContainerAPIClient_Expecter) ContainerUpdate(ctx interface{}, container1 interface{}, updateConfig interface{}) *MockContainerAPIClient_ContainerUpdate_Call
ContainerUpdate is a helper method to define mock.On call
- ctx context.Context
- container1 string
- updateConfig container.UpdateConfig
func (*MockContainerAPIClient_Expecter) ContainerWait ¶
func (_e *MockContainerAPIClient_Expecter) ContainerWait(ctx interface{}, container1 interface{}, condition interface{}) *MockContainerAPIClient_ContainerWait_Call
ContainerWait is a helper method to define mock.On call
- ctx context.Context
- container1 string
- condition container.WaitCondition
func (*MockContainerAPIClient_Expecter) ContainersPrune ¶
func (_e *MockContainerAPIClient_Expecter) ContainersPrune(ctx interface{}, pruneFilters interface{}) *MockContainerAPIClient_ContainersPrune_Call
ContainersPrune is a helper method to define mock.On call
- ctx context.Context
- pruneFilters filters.Args
func (*MockContainerAPIClient_Expecter) CopyFromContainer ¶
func (_e *MockContainerAPIClient_Expecter) CopyFromContainer(ctx interface{}, container1 interface{}, srcPath interface{}) *MockContainerAPIClient_CopyFromContainer_Call
CopyFromContainer is a helper method to define mock.On call
- ctx context.Context
- container1 string
- srcPath string
func (*MockContainerAPIClient_Expecter) CopyToContainer ¶
func (_e *MockContainerAPIClient_Expecter) CopyToContainer(ctx interface{}, container1 interface{}, path interface{}, content interface{}, options interface{}) *MockContainerAPIClient_CopyToContainer_Call
CopyToContainer is a helper method to define mock.On call
- ctx context.Context
- container1 string
- path string
- content io.Reader
- options container.CopyToContainerOptions
type RegistryConfig ¶
type RegistryConfig struct {
Name string
Port int
UpstreamURL string
ClusterName string
NetworkName string
VolumeName string
}
RegistryConfig holds configuration for creating a registry.
type RegistryManager ¶
type RegistryManager struct {
// contains filtered or unexported fields
}
RegistryManager manages Docker registry containers for mirror/pull-through caching.
func NewRegistryManager ¶
func NewRegistryManager(apiClient client.APIClient) (*RegistryManager, error)
NewRegistryManager creates a new RegistryManager.
func (*RegistryManager) CreateRegistry ¶
func (rm *RegistryManager) CreateRegistry(ctx context.Context, config RegistryConfig) error
CreateRegistry creates a registry container with the given configuration. If the registry already exists, it returns ErrRegistryAlreadyExists.
func (*RegistryManager) DeleteRegistry ¶
func (rm *RegistryManager) DeleteRegistry( ctx context.Context, name, _ string, deleteVolume bool, networkName string, volumeName string, ) error
DeleteRegistry removes a registry container and optionally its volume. If deleteVolume is true, the associated volume will be removed. If the registry is still in use by other clusters, it returns an error.
func (*RegistryManager) GetRegistryPort ¶
GetRegistryPort returns the host port for a registry.
func (*RegistryManager) IsRegistryInUse ¶
IsRegistryInUse checks if a registry is being used by any clusters. A registry is considered in use if it exists and is running.
func (*RegistryManager) ListRegistries ¶
func (rm *RegistryManager) ListRegistries(ctx context.Context) ([]string, error)
ListRegistries returns a list of all ksail registry containers.