docker

package
v5.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

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

View Source
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

View Source
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.

View Source
var (
	// ErrAPIClientNil is returned when apiClient is nil.
	ErrAPIClientNil = errors.New("apiClient cannot be nil")
)

Error definitions for container engine operations.

Functions

func GetDockerClient

func GetDockerClient() (client.APIClient, error)

GetDockerClient creates a Docker client using environment configuration.

func NormalizeVolumeName

func NormalizeVolumeName(registryName string) string

NormalizeVolumeName trims registry names and removes distribution prefixes such as kind- or k3d-.

Types

type MockAPIClient

type MockAPIClient struct {
	mock.Mock
}

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) Dialer

func (_mock *MockAPIClient) Dialer() func(context.Context) (net.Conn, error)

Dialer 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) ImageTag

func (_mock *MockAPIClient) ImageTag(ctx context.Context, image1 string, ref string) error

ImageTag 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) Info

func (_mock *MockAPIClient) Info(ctx context.Context) (system.Info, error)

Info 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) Ping

func (_mock *MockAPIClient) Ping(ctx context.Context) (types.Ping, error)

Ping 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) PluginSet

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

PluginSet 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

func (_mock *MockAPIClient) ServerVersion(ctx context.Context) (types.Version, error)

ServerVersion provides a mock function for the type MockAPIClient

func (*MockAPIClient) ServiceCreate

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

func (_mock *MockAPIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)

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

func (_mock *MockAPIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error

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

type MockAPIClient_BuildCachePrune_Call struct {
	*mock.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 (*MockAPIClient_BuildCachePrune_Call) Run

func (*MockAPIClient_BuildCachePrune_Call) RunAndReturn

type MockAPIClient_BuildCancel_Call

type MockAPIClient_BuildCancel_Call struct {
	*mock.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 (*MockAPIClient_BuildCancel_Call) Run

func (*MockAPIClient_BuildCancel_Call) RunAndReturn

type MockAPIClient_CheckpointCreate_Call

type MockAPIClient_CheckpointCreate_Call struct {
	*mock.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 (*MockAPIClient_CheckpointCreate_Call) Run

func (*MockAPIClient_CheckpointCreate_Call) RunAndReturn

type MockAPIClient_CheckpointDelete_Call

type MockAPIClient_CheckpointDelete_Call struct {
	*mock.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 (*MockAPIClient_CheckpointDelete_Call) Run

func (*MockAPIClient_CheckpointDelete_Call) RunAndReturn

type MockAPIClient_CheckpointList_Call

type MockAPIClient_CheckpointList_Call struct {
	*mock.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 (*MockAPIClient_CheckpointList_Call) Run

func (*MockAPIClient_CheckpointList_Call) RunAndReturn

type MockAPIClient_ClientVersion_Call

type MockAPIClient_ClientVersion_Call struct {
	*mock.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 (*MockAPIClient_ClientVersion_Call) Run

func (*MockAPIClient_ClientVersion_Call) RunAndReturn

type MockAPIClient_Close_Call

type MockAPIClient_Close_Call struct {
	*mock.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 (*MockAPIClient_Close_Call) Run

func (*MockAPIClient_Close_Call) RunAndReturn

func (_c *MockAPIClient_Close_Call) RunAndReturn(run func() error) *MockAPIClient_Close_Call

type MockAPIClient_ConfigCreate_Call

type MockAPIClient_ConfigCreate_Call struct {
	*mock.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 (*MockAPIClient_ConfigCreate_Call) Run

func (*MockAPIClient_ConfigCreate_Call) RunAndReturn

type MockAPIClient_ConfigInspectWithRaw_Call

type MockAPIClient_ConfigInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_ConfigInspectWithRaw_Call) Run

func (*MockAPIClient_ConfigInspectWithRaw_Call) RunAndReturn

type MockAPIClient_ConfigList_Call

type MockAPIClient_ConfigList_Call struct {
	*mock.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 (*MockAPIClient_ConfigList_Call) Run

func (*MockAPIClient_ConfigList_Call) RunAndReturn

type MockAPIClient_ConfigRemove_Call

type MockAPIClient_ConfigRemove_Call struct {
	*mock.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 (*MockAPIClient_ConfigRemove_Call) Run

func (*MockAPIClient_ConfigRemove_Call) RunAndReturn

type MockAPIClient_ConfigUpdate_Call

type MockAPIClient_ConfigUpdate_Call struct {
	*mock.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 (*MockAPIClient_ConfigUpdate_Call) Run

func (*MockAPIClient_ConfigUpdate_Call) RunAndReturn

type MockAPIClient_ContainerAttach_Call

type MockAPIClient_ContainerAttach_Call struct {
	*mock.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 (*MockAPIClient_ContainerAttach_Call) Run

func (*MockAPIClient_ContainerAttach_Call) RunAndReturn

type MockAPIClient_ContainerCommit_Call

type MockAPIClient_ContainerCommit_Call struct {
	*mock.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 (*MockAPIClient_ContainerCommit_Call) Run

func (*MockAPIClient_ContainerCommit_Call) RunAndReturn

type MockAPIClient_ContainerCreate_Call

type MockAPIClient_ContainerCreate_Call struct {
	*mock.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 (*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

type MockAPIClient_ContainerDiff_Call struct {
	*mock.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 (*MockAPIClient_ContainerDiff_Call) Run

func (*MockAPIClient_ContainerDiff_Call) RunAndReturn

type MockAPIClient_ContainerExecAttach_Call

type MockAPIClient_ContainerExecAttach_Call struct {
	*mock.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 (*MockAPIClient_ContainerExecAttach_Call) Run

func (*MockAPIClient_ContainerExecAttach_Call) RunAndReturn

type MockAPIClient_ContainerExecCreate_Call

type MockAPIClient_ContainerExecCreate_Call struct {
	*mock.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 (*MockAPIClient_ContainerExecCreate_Call) Run

func (*MockAPIClient_ContainerExecCreate_Call) RunAndReturn

type MockAPIClient_ContainerExecInspect_Call

type MockAPIClient_ContainerExecInspect_Call struct {
	*mock.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 (*MockAPIClient_ContainerExecInspect_Call) Run

func (*MockAPIClient_ContainerExecInspect_Call) RunAndReturn

type MockAPIClient_ContainerExecResize_Call

type MockAPIClient_ContainerExecResize_Call struct {
	*mock.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 (*MockAPIClient_ContainerExecResize_Call) Run

func (*MockAPIClient_ContainerExecResize_Call) RunAndReturn

type MockAPIClient_ContainerExecStart_Call

type MockAPIClient_ContainerExecStart_Call struct {
	*mock.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 (*MockAPIClient_ContainerExecStart_Call) Run

func (*MockAPIClient_ContainerExecStart_Call) RunAndReturn

type MockAPIClient_ContainerExport_Call

type MockAPIClient_ContainerExport_Call struct {
	*mock.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 (*MockAPIClient_ContainerExport_Call) Run

func (*MockAPIClient_ContainerExport_Call) RunAndReturn

type MockAPIClient_ContainerInspectWithRaw_Call

type MockAPIClient_ContainerInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_ContainerInspectWithRaw_Call) Run

func (*MockAPIClient_ContainerInspectWithRaw_Call) RunAndReturn

type MockAPIClient_ContainerInspect_Call

type MockAPIClient_ContainerInspect_Call struct {
	*mock.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 (*MockAPIClient_ContainerInspect_Call) Run

func (*MockAPIClient_ContainerInspect_Call) RunAndReturn

type MockAPIClient_ContainerKill_Call

type MockAPIClient_ContainerKill_Call struct {
	*mock.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 (*MockAPIClient_ContainerKill_Call) Run

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

type MockAPIClient_ContainerList_Call struct {
	*mock.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 (*MockAPIClient_ContainerList_Call) Run

func (*MockAPIClient_ContainerList_Call) RunAndReturn

type MockAPIClient_ContainerLogs_Call

type MockAPIClient_ContainerLogs_Call struct {
	*mock.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 (*MockAPIClient_ContainerLogs_Call) Run

func (*MockAPIClient_ContainerLogs_Call) RunAndReturn

type MockAPIClient_ContainerPause_Call

type MockAPIClient_ContainerPause_Call struct {
	*mock.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 (*MockAPIClient_ContainerPause_Call) Run

func (*MockAPIClient_ContainerPause_Call) RunAndReturn

type MockAPIClient_ContainerRemove_Call

type MockAPIClient_ContainerRemove_Call struct {
	*mock.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 (*MockAPIClient_ContainerRemove_Call) Run

func (*MockAPIClient_ContainerRemove_Call) RunAndReturn

type MockAPIClient_ContainerRename_Call

type MockAPIClient_ContainerRename_Call struct {
	*mock.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 (*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

type MockAPIClient_ContainerResize_Call struct {
	*mock.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 (*MockAPIClient_ContainerResize_Call) Run

func (*MockAPIClient_ContainerResize_Call) RunAndReturn

type MockAPIClient_ContainerRestart_Call

type MockAPIClient_ContainerRestart_Call struct {
	*mock.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 (*MockAPIClient_ContainerRestart_Call) Run

func (*MockAPIClient_ContainerRestart_Call) RunAndReturn

type MockAPIClient_ContainerStart_Call

type MockAPIClient_ContainerStart_Call struct {
	*mock.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 (*MockAPIClient_ContainerStart_Call) Run

func (*MockAPIClient_ContainerStart_Call) RunAndReturn

type MockAPIClient_ContainerStatPath_Call

type MockAPIClient_ContainerStatPath_Call struct {
	*mock.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 (*MockAPIClient_ContainerStatPath_Call) Run

func (*MockAPIClient_ContainerStatPath_Call) RunAndReturn

type MockAPIClient_ContainerStatsOneShot_Call

type MockAPIClient_ContainerStatsOneShot_Call struct {
	*mock.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 (*MockAPIClient_ContainerStatsOneShot_Call) Run

func (*MockAPIClient_ContainerStatsOneShot_Call) RunAndReturn

type MockAPIClient_ContainerStats_Call

type MockAPIClient_ContainerStats_Call struct {
	*mock.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 (*MockAPIClient_ContainerStats_Call) Run

func (*MockAPIClient_ContainerStats_Call) RunAndReturn

type MockAPIClient_ContainerStop_Call

type MockAPIClient_ContainerStop_Call struct {
	*mock.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 (*MockAPIClient_ContainerStop_Call) Run

func (*MockAPIClient_ContainerStop_Call) RunAndReturn

type MockAPIClient_ContainerTop_Call

type MockAPIClient_ContainerTop_Call struct {
	*mock.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 (*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

type MockAPIClient_ContainerUnpause_Call struct {
	*mock.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 (*MockAPIClient_ContainerUnpause_Call) Run

func (*MockAPIClient_ContainerUnpause_Call) RunAndReturn

type MockAPIClient_ContainerUpdate_Call

type MockAPIClient_ContainerUpdate_Call struct {
	*mock.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 (*MockAPIClient_ContainerUpdate_Call) Run

func (*MockAPIClient_ContainerUpdate_Call) RunAndReturn

type MockAPIClient_ContainerWait_Call

type MockAPIClient_ContainerWait_Call struct {
	*mock.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 (*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

type MockAPIClient_ContainersPrune_Call struct {
	*mock.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 (*MockAPIClient_ContainersPrune_Call) Run

func (*MockAPIClient_ContainersPrune_Call) RunAndReturn

type MockAPIClient_CopyFromContainer_Call

type MockAPIClient_CopyFromContainer_Call struct {
	*mock.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 (*MockAPIClient_CopyFromContainer_Call) Run

func (*MockAPIClient_CopyFromContainer_Call) RunAndReturn

type MockAPIClient_CopyToContainer_Call

type MockAPIClient_CopyToContainer_Call struct {
	*mock.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 (*MockAPIClient_CopyToContainer_Call) Run

func (*MockAPIClient_CopyToContainer_Call) RunAndReturn

type MockAPIClient_DaemonHost_Call

type MockAPIClient_DaemonHost_Call struct {
	*mock.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 (*MockAPIClient_DaemonHost_Call) Run

func (*MockAPIClient_DaemonHost_Call) RunAndReturn

type MockAPIClient_DialHijack_Call

type MockAPIClient_DialHijack_Call struct {
	*mock.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 (*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

func (_c *MockAPIClient_DialHijack_Call) RunAndReturn(run func(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)) *MockAPIClient_DialHijack_Call

type MockAPIClient_Dialer_Call

type MockAPIClient_Dialer_Call struct {
	*mock.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 (*MockAPIClient_Dialer_Call) Run

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

type MockAPIClient_DiskUsage_Call struct {
	*mock.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 (*MockAPIClient_DiskUsage_Call) Run

func (*MockAPIClient_DiskUsage_Call) RunAndReturn

type MockAPIClient_DistributionInspect_Call

type MockAPIClient_DistributionInspect_Call struct {
	*mock.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 (*MockAPIClient_DistributionInspect_Call) Run

func (*MockAPIClient_DistributionInspect_Call) RunAndReturn

type MockAPIClient_Events_Call

type MockAPIClient_Events_Call struct {
	*mock.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 (*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

ClientVersion is a helper method to define mock.On call

func (*MockAPIClient_Expecter) Close

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

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

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

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

type MockAPIClient_HTTPClient_Call struct {
	*mock.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 (*MockAPIClient_HTTPClient_Call) Run

func (*MockAPIClient_HTTPClient_Call) RunAndReturn

type MockAPIClient_ImageBuild_Call

type MockAPIClient_ImageBuild_Call struct {
	*mock.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 (*MockAPIClient_ImageBuild_Call) Run

func (*MockAPIClient_ImageBuild_Call) RunAndReturn

type MockAPIClient_ImageCreate_Call

type MockAPIClient_ImageCreate_Call struct {
	*mock.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 (*MockAPIClient_ImageCreate_Call) Run

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

type MockAPIClient_ImageHistory_Call struct {
	*mock.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 (*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

type MockAPIClient_ImageImport_Call

type MockAPIClient_ImageImport_Call struct {
	*mock.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 (*MockAPIClient_ImageImport_Call) Run

func (*MockAPIClient_ImageImport_Call) RunAndReturn

type MockAPIClient_ImageInspectWithRaw_Call

type MockAPIClient_ImageInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_ImageInspectWithRaw_Call) Run

func (*MockAPIClient_ImageInspectWithRaw_Call) RunAndReturn

type MockAPIClient_ImageInspect_Call

type MockAPIClient_ImageInspect_Call struct {
	*mock.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 (*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

type MockAPIClient_ImageList_Call

type MockAPIClient_ImageList_Call struct {
	*mock.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 (*MockAPIClient_ImageList_Call) Run

func (*MockAPIClient_ImageList_Call) RunAndReturn

type MockAPIClient_ImageLoad_Call

type MockAPIClient_ImageLoad_Call struct {
	*mock.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 (*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

type MockAPIClient_ImagePull_Call struct {
	*mock.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 (*MockAPIClient_ImagePull_Call) Run

func (*MockAPIClient_ImagePull_Call) RunAndReturn

type MockAPIClient_ImagePush_Call

type MockAPIClient_ImagePush_Call struct {
	*mock.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 (*MockAPIClient_ImagePush_Call) Run

func (*MockAPIClient_ImagePush_Call) RunAndReturn

type MockAPIClient_ImageRemove_Call

type MockAPIClient_ImageRemove_Call struct {
	*mock.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 (*MockAPIClient_ImageRemove_Call) Run

func (*MockAPIClient_ImageRemove_Call) RunAndReturn

type MockAPIClient_ImageSave_Call

type MockAPIClient_ImageSave_Call struct {
	*mock.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 (*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

type MockAPIClient_ImageSearch_Call struct {
	*mock.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 (*MockAPIClient_ImageSearch_Call) Run

func (*MockAPIClient_ImageSearch_Call) RunAndReturn

type MockAPIClient_ImageTag_Call

type MockAPIClient_ImageTag_Call struct {
	*mock.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 (*MockAPIClient_ImageTag_Call) Run

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

type MockAPIClient_ImagesPrune_Call struct {
	*mock.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 (*MockAPIClient_ImagesPrune_Call) Run

func (*MockAPIClient_ImagesPrune_Call) RunAndReturn

type MockAPIClient_Info_Call

type MockAPIClient_Info_Call struct {
	*mock.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 (*MockAPIClient_Info_Call) Run

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

type MockAPIClient_NegotiateAPIVersionPing_Call struct {
	*mock.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 (*MockAPIClient_NegotiateAPIVersionPing_Call) Run

func (*MockAPIClient_NegotiateAPIVersionPing_Call) RunAndReturn

type MockAPIClient_NegotiateAPIVersion_Call

type MockAPIClient_NegotiateAPIVersion_Call struct {
	*mock.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 (*MockAPIClient_NegotiateAPIVersion_Call) Run

func (*MockAPIClient_NegotiateAPIVersion_Call) RunAndReturn

type MockAPIClient_NetworkConnect_Call

type MockAPIClient_NetworkConnect_Call struct {
	*mock.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 (*MockAPIClient_NetworkConnect_Call) Run

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

type MockAPIClient_NetworkCreate_Call struct {
	*mock.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 (*MockAPIClient_NetworkCreate_Call) Run

func (*MockAPIClient_NetworkCreate_Call) RunAndReturn

type MockAPIClient_NetworkDisconnect_Call

type MockAPIClient_NetworkDisconnect_Call struct {
	*mock.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 (*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

type MockAPIClient_NetworkInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_NetworkInspectWithRaw_Call) Run

func (*MockAPIClient_NetworkInspectWithRaw_Call) RunAndReturn

type MockAPIClient_NetworkInspect_Call

type MockAPIClient_NetworkInspect_Call struct {
	*mock.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 (*MockAPIClient_NetworkInspect_Call) Run

func (*MockAPIClient_NetworkInspect_Call) RunAndReturn

type MockAPIClient_NetworkList_Call

type MockAPIClient_NetworkList_Call struct {
	*mock.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 (*MockAPIClient_NetworkList_Call) Run

func (*MockAPIClient_NetworkList_Call) RunAndReturn

type MockAPIClient_NetworkRemove_Call

type MockAPIClient_NetworkRemove_Call struct {
	*mock.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 (*MockAPIClient_NetworkRemove_Call) Run

func (*MockAPIClient_NetworkRemove_Call) RunAndReturn

type MockAPIClient_NetworksPrune_Call

type MockAPIClient_NetworksPrune_Call struct {
	*mock.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 (*MockAPIClient_NetworksPrune_Call) Run

func (*MockAPIClient_NetworksPrune_Call) RunAndReturn

type MockAPIClient_NodeInspectWithRaw_Call

type MockAPIClient_NodeInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_NodeInspectWithRaw_Call) Run

func (*MockAPIClient_NodeInspectWithRaw_Call) RunAndReturn

type MockAPIClient_NodeList_Call

type MockAPIClient_NodeList_Call struct {
	*mock.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 (*MockAPIClient_NodeList_Call) Run

func (*MockAPIClient_NodeList_Call) RunAndReturn

type MockAPIClient_NodeRemove_Call

type MockAPIClient_NodeRemove_Call struct {
	*mock.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 (*MockAPIClient_NodeRemove_Call) Run

func (*MockAPIClient_NodeRemove_Call) RunAndReturn

type MockAPIClient_NodeUpdate_Call

type MockAPIClient_NodeUpdate_Call struct {
	*mock.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 (*MockAPIClient_NodeUpdate_Call) Run

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

type MockAPIClient_Ping_Call struct {
	*mock.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 (*MockAPIClient_Ping_Call) Run

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

type MockAPIClient_PluginCreate_Call struct {
	*mock.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 (*MockAPIClient_PluginCreate_Call) Run

func (*MockAPIClient_PluginCreate_Call) RunAndReturn

type MockAPIClient_PluginDisable_Call

type MockAPIClient_PluginDisable_Call struct {
	*mock.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 (*MockAPIClient_PluginDisable_Call) Run

func (*MockAPIClient_PluginDisable_Call) RunAndReturn

type MockAPIClient_PluginEnable_Call

type MockAPIClient_PluginEnable_Call struct {
	*mock.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 (*MockAPIClient_PluginEnable_Call) Run

func (*MockAPIClient_PluginEnable_Call) RunAndReturn

type MockAPIClient_PluginInspectWithRaw_Call

type MockAPIClient_PluginInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_PluginInspectWithRaw_Call) Run

func (*MockAPIClient_PluginInspectWithRaw_Call) RunAndReturn

type MockAPIClient_PluginInstall_Call

type MockAPIClient_PluginInstall_Call struct {
	*mock.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 (*MockAPIClient_PluginInstall_Call) Run

func (*MockAPIClient_PluginInstall_Call) RunAndReturn

type MockAPIClient_PluginList_Call

type MockAPIClient_PluginList_Call struct {
	*mock.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 (*MockAPIClient_PluginList_Call) Run

func (*MockAPIClient_PluginList_Call) RunAndReturn

type MockAPIClient_PluginPush_Call

type MockAPIClient_PluginPush_Call struct {
	*mock.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 (*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

type MockAPIClient_PluginRemove_Call struct {
	*mock.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 (*MockAPIClient_PluginRemove_Call) Run

func (*MockAPIClient_PluginRemove_Call) RunAndReturn

type MockAPIClient_PluginSet_Call

type MockAPIClient_PluginSet_Call struct {
	*mock.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 (*MockAPIClient_PluginSet_Call) Run

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

type MockAPIClient_PluginUpgrade_Call struct {
	*mock.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 (*MockAPIClient_PluginUpgrade_Call) Run

func (*MockAPIClient_PluginUpgrade_Call) RunAndReturn

type MockAPIClient_RegistryLogin_Call

type MockAPIClient_RegistryLogin_Call struct {
	*mock.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 (*MockAPIClient_RegistryLogin_Call) Run

func (*MockAPIClient_RegistryLogin_Call) RunAndReturn

type MockAPIClient_SecretCreate_Call

type MockAPIClient_SecretCreate_Call struct {
	*mock.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 (*MockAPIClient_SecretCreate_Call) Run

func (*MockAPIClient_SecretCreate_Call) RunAndReturn

type MockAPIClient_SecretInspectWithRaw_Call

type MockAPIClient_SecretInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_SecretInspectWithRaw_Call) Run

func (*MockAPIClient_SecretInspectWithRaw_Call) RunAndReturn

type MockAPIClient_SecretList_Call

type MockAPIClient_SecretList_Call struct {
	*mock.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 (*MockAPIClient_SecretList_Call) Run

func (*MockAPIClient_SecretList_Call) RunAndReturn

type MockAPIClient_SecretRemove_Call

type MockAPIClient_SecretRemove_Call struct {
	*mock.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 (*MockAPIClient_SecretRemove_Call) Run

func (*MockAPIClient_SecretRemove_Call) RunAndReturn

type MockAPIClient_SecretUpdate_Call

type MockAPIClient_SecretUpdate_Call struct {
	*mock.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 (*MockAPIClient_SecretUpdate_Call) Run

func (*MockAPIClient_SecretUpdate_Call) RunAndReturn

type MockAPIClient_ServerVersion_Call

type MockAPIClient_ServerVersion_Call struct {
	*mock.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 (*MockAPIClient_ServerVersion_Call) Run

func (*MockAPIClient_ServerVersion_Call) RunAndReturn

type MockAPIClient_ServiceCreate_Call

type MockAPIClient_ServiceCreate_Call struct {
	*mock.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 (*MockAPIClient_ServiceCreate_Call) Run

func (*MockAPIClient_ServiceCreate_Call) RunAndReturn

type MockAPIClient_ServiceInspectWithRaw_Call

type MockAPIClient_ServiceInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_ServiceInspectWithRaw_Call) Run

func (*MockAPIClient_ServiceInspectWithRaw_Call) RunAndReturn

type MockAPIClient_ServiceList_Call

type MockAPIClient_ServiceList_Call struct {
	*mock.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 (*MockAPIClient_ServiceList_Call) Run

func (*MockAPIClient_ServiceList_Call) RunAndReturn

type MockAPIClient_ServiceLogs_Call

type MockAPIClient_ServiceLogs_Call struct {
	*mock.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 (*MockAPIClient_ServiceLogs_Call) Run

func (*MockAPIClient_ServiceLogs_Call) RunAndReturn

type MockAPIClient_ServiceRemove_Call

type MockAPIClient_ServiceRemove_Call struct {
	*mock.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 (*MockAPIClient_ServiceRemove_Call) Run

func (*MockAPIClient_ServiceRemove_Call) RunAndReturn

type MockAPIClient_ServiceUpdate_Call

type MockAPIClient_ServiceUpdate_Call struct {
	*mock.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 (*MockAPIClient_ServiceUpdate_Call) Run

func (*MockAPIClient_ServiceUpdate_Call) RunAndReturn

type MockAPIClient_SwarmGetUnlockKey_Call

type MockAPIClient_SwarmGetUnlockKey_Call struct {
	*mock.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 (*MockAPIClient_SwarmGetUnlockKey_Call) Run

func (*MockAPIClient_SwarmGetUnlockKey_Call) RunAndReturn

type MockAPIClient_SwarmInit_Call

type MockAPIClient_SwarmInit_Call struct {
	*mock.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 (*MockAPIClient_SwarmInit_Call) Run

func (*MockAPIClient_SwarmInit_Call) RunAndReturn

type MockAPIClient_SwarmInspect_Call

type MockAPIClient_SwarmInspect_Call struct {
	*mock.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 (*MockAPIClient_SwarmInspect_Call) Run

func (*MockAPIClient_SwarmInspect_Call) RunAndReturn

type MockAPIClient_SwarmJoin_Call

type MockAPIClient_SwarmJoin_Call struct {
	*mock.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 (*MockAPIClient_SwarmJoin_Call) Run

func (*MockAPIClient_SwarmJoin_Call) RunAndReturn

type MockAPIClient_SwarmLeave_Call

type MockAPIClient_SwarmLeave_Call struct {
	*mock.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 (*MockAPIClient_SwarmLeave_Call) Run

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

type MockAPIClient_SwarmUnlock_Call struct {
	*mock.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 (*MockAPIClient_SwarmUnlock_Call) Run

func (*MockAPIClient_SwarmUnlock_Call) RunAndReturn

type MockAPIClient_SwarmUpdate_Call

type MockAPIClient_SwarmUpdate_Call struct {
	*mock.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 (*MockAPIClient_SwarmUpdate_Call) Run

func (*MockAPIClient_SwarmUpdate_Call) RunAndReturn

type MockAPIClient_TaskInspectWithRaw_Call

type MockAPIClient_TaskInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_TaskInspectWithRaw_Call) Run

func (*MockAPIClient_TaskInspectWithRaw_Call) RunAndReturn

type MockAPIClient_TaskList_Call

type MockAPIClient_TaskList_Call struct {
	*mock.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 (*MockAPIClient_TaskList_Call) Run

func (*MockAPIClient_TaskList_Call) RunAndReturn

type MockAPIClient_TaskLogs_Call

type MockAPIClient_TaskLogs_Call struct {
	*mock.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 (*MockAPIClient_TaskLogs_Call) Run

func (*MockAPIClient_TaskLogs_Call) RunAndReturn

type MockAPIClient_VolumeCreate_Call

type MockAPIClient_VolumeCreate_Call struct {
	*mock.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 (*MockAPIClient_VolumeCreate_Call) Run

func (*MockAPIClient_VolumeCreate_Call) RunAndReturn

type MockAPIClient_VolumeInspectWithRaw_Call

type MockAPIClient_VolumeInspectWithRaw_Call struct {
	*mock.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 (*MockAPIClient_VolumeInspectWithRaw_Call) Run

func (*MockAPIClient_VolumeInspectWithRaw_Call) RunAndReturn

type MockAPIClient_VolumeInspect_Call

type MockAPIClient_VolumeInspect_Call struct {
	*mock.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 (*MockAPIClient_VolumeInspect_Call) Run

func (*MockAPIClient_VolumeInspect_Call) RunAndReturn

type MockAPIClient_VolumeList_Call

type MockAPIClient_VolumeList_Call struct {
	*mock.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 (*MockAPIClient_VolumeList_Call) Run

func (*MockAPIClient_VolumeList_Call) RunAndReturn

type MockAPIClient_VolumeRemove_Call

type MockAPIClient_VolumeRemove_Call struct {
	*mock.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 (*MockAPIClient_VolumeRemove_Call) Run

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

type MockAPIClient_VolumeUpdate_Call struct {
	*mock.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 (*MockAPIClient_VolumeUpdate_Call) Run

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

type MockAPIClient_VolumesPrune_Call struct {
	*mock.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 (*MockAPIClient_VolumesPrune_Call) Run

func (*MockAPIClient_VolumesPrune_Call) RunAndReturn

type MockContainerAPIClient

type MockContainerAPIClient struct {
	mock.Mock
}

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

type MockContainerAPIClient_ContainerAttach_Call

type MockContainerAPIClient_ContainerAttach_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerAttach_Call) Run

func (*MockContainerAPIClient_ContainerAttach_Call) RunAndReturn

type MockContainerAPIClient_ContainerCommit_Call

type MockContainerAPIClient_ContainerCommit_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerCommit_Call) Run

func (*MockContainerAPIClient_ContainerCommit_Call) RunAndReturn

type MockContainerAPIClient_ContainerCreate_Call

type MockContainerAPIClient_ContainerCreate_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerCreate_Call) Run

func (*MockContainerAPIClient_ContainerCreate_Call) RunAndReturn

type MockContainerAPIClient_ContainerDiff_Call

type MockContainerAPIClient_ContainerDiff_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerDiff_Call) Run

func (*MockContainerAPIClient_ContainerDiff_Call) RunAndReturn

type MockContainerAPIClient_ContainerExecAttach_Call

type MockContainerAPIClient_ContainerExecAttach_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerExecAttach_Call) Run

func (*MockContainerAPIClient_ContainerExecAttach_Call) RunAndReturn

type MockContainerAPIClient_ContainerExecCreate_Call

type MockContainerAPIClient_ContainerExecCreate_Call struct {
	*mock.Call
}

MockContainerAPIClient_ContainerExecCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerExecCreate'

func (*MockContainerAPIClient_ContainerExecCreate_Call) Return

func (*MockContainerAPIClient_ContainerExecCreate_Call) Run

func (*MockContainerAPIClient_ContainerExecCreate_Call) RunAndReturn

type MockContainerAPIClient_ContainerExecInspect_Call

type MockContainerAPIClient_ContainerExecInspect_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerExecInspect_Call) Run

func (*MockContainerAPIClient_ContainerExecInspect_Call) RunAndReturn

type MockContainerAPIClient_ContainerExecResize_Call

type MockContainerAPIClient_ContainerExecResize_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerExecResize_Call) Run

func (*MockContainerAPIClient_ContainerExecResize_Call) RunAndReturn

type MockContainerAPIClient_ContainerExecStart_Call

type MockContainerAPIClient_ContainerExecStart_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerExecStart_Call) Run

func (*MockContainerAPIClient_ContainerExecStart_Call) RunAndReturn

type MockContainerAPIClient_ContainerExport_Call

type MockContainerAPIClient_ContainerExport_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerExport_Call) Run

func (*MockContainerAPIClient_ContainerExport_Call) RunAndReturn

type MockContainerAPIClient_ContainerInspectWithRaw_Call

type MockContainerAPIClient_ContainerInspectWithRaw_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerInspectWithRaw_Call) Run

func (*MockContainerAPIClient_ContainerInspectWithRaw_Call) RunAndReturn

type MockContainerAPIClient_ContainerInspect_Call

type MockContainerAPIClient_ContainerInspect_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerInspect_Call) Run

func (*MockContainerAPIClient_ContainerInspect_Call) RunAndReturn

type MockContainerAPIClient_ContainerKill_Call

type MockContainerAPIClient_ContainerKill_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerKill_Call) Run

func (*MockContainerAPIClient_ContainerKill_Call) RunAndReturn

type MockContainerAPIClient_ContainerList_Call

type MockContainerAPIClient_ContainerList_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerList_Call) Run

func (*MockContainerAPIClient_ContainerList_Call) RunAndReturn

type MockContainerAPIClient_ContainerLogs_Call

type MockContainerAPIClient_ContainerLogs_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerLogs_Call) Run

func (*MockContainerAPIClient_ContainerLogs_Call) RunAndReturn

type MockContainerAPIClient_ContainerPause_Call

type MockContainerAPIClient_ContainerPause_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerPause_Call) Run

func (*MockContainerAPIClient_ContainerPause_Call) RunAndReturn

type MockContainerAPIClient_ContainerRemove_Call

type MockContainerAPIClient_ContainerRemove_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerRemove_Call) Run

func (*MockContainerAPIClient_ContainerRemove_Call) RunAndReturn

type MockContainerAPIClient_ContainerRename_Call

type MockContainerAPIClient_ContainerRename_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerRename_Call) Run

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

type MockContainerAPIClient_ContainerResize_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerResize_Call) Run

func (*MockContainerAPIClient_ContainerResize_Call) RunAndReturn

type MockContainerAPIClient_ContainerRestart_Call

type MockContainerAPIClient_ContainerRestart_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerRestart_Call) Run

func (*MockContainerAPIClient_ContainerRestart_Call) RunAndReturn

type MockContainerAPIClient_ContainerStart_Call

type MockContainerAPIClient_ContainerStart_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerStart_Call) Run

func (*MockContainerAPIClient_ContainerStart_Call) RunAndReturn

type MockContainerAPIClient_ContainerStatPath_Call

type MockContainerAPIClient_ContainerStatPath_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerStatPath_Call) Run

func (*MockContainerAPIClient_ContainerStatPath_Call) RunAndReturn

type MockContainerAPIClient_ContainerStatsOneShot_Call

type MockContainerAPIClient_ContainerStatsOneShot_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerStatsOneShot_Call) Run

func (*MockContainerAPIClient_ContainerStatsOneShot_Call) RunAndReturn

type MockContainerAPIClient_ContainerStats_Call

type MockContainerAPIClient_ContainerStats_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerStats_Call) Run

func (*MockContainerAPIClient_ContainerStats_Call) RunAndReturn

type MockContainerAPIClient_ContainerStop_Call

type MockContainerAPIClient_ContainerStop_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerStop_Call) Run

func (*MockContainerAPIClient_ContainerStop_Call) RunAndReturn

type MockContainerAPIClient_ContainerTop_Call

type MockContainerAPIClient_ContainerTop_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerTop_Call) Run

func (*MockContainerAPIClient_ContainerTop_Call) RunAndReturn

type MockContainerAPIClient_ContainerUnpause_Call

type MockContainerAPIClient_ContainerUnpause_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerUnpause_Call) Run

func (*MockContainerAPIClient_ContainerUnpause_Call) RunAndReturn

type MockContainerAPIClient_ContainerUpdate_Call

type MockContainerAPIClient_ContainerUpdate_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerUpdate_Call) Run

func (*MockContainerAPIClient_ContainerUpdate_Call) RunAndReturn

type MockContainerAPIClient_ContainerWait_Call

type MockContainerAPIClient_ContainerWait_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainerWait_Call) Run

func (*MockContainerAPIClient_ContainerWait_Call) RunAndReturn

type MockContainerAPIClient_ContainersPrune_Call

type MockContainerAPIClient_ContainersPrune_Call struct {
	*mock.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 (*MockContainerAPIClient_ContainersPrune_Call) Run

func (*MockContainerAPIClient_ContainersPrune_Call) RunAndReturn

type MockContainerAPIClient_CopyFromContainer_Call

type MockContainerAPIClient_CopyFromContainer_Call struct {
	*mock.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 (*MockContainerAPIClient_CopyFromContainer_Call) Run

func (*MockContainerAPIClient_CopyFromContainer_Call) RunAndReturn

type MockContainerAPIClient_CopyToContainer_Call

type MockContainerAPIClient_CopyToContainer_Call struct {
	*mock.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 (*MockContainerAPIClient_CopyToContainer_Call) Run

func (*MockContainerAPIClient_CopyToContainer_Call) RunAndReturn

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

func (rm *RegistryManager) GetRegistryPort(ctx context.Context, name string) (int, error)

GetRegistryPort returns the host port for a registry.

func (*RegistryManager) IsRegistryInUse

func (rm *RegistryManager) IsRegistryInUse(ctx context.Context, name string) (bool, error)

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.

Jump to

Keyboard shortcuts

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