mocks

package
v0.0.0-...-06bcc1c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIClient

type APIClient struct {
	mock.Mock
}

APIClient is an autogenerated mock type for the APIClient type

func NewAPIClient

func NewAPIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *APIClient

NewAPIClient creates a new instance of APIClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*APIClient) BuildCachePrune

BuildCachePrune provides a mock function with given fields: ctx, opts

func (*APIClient) BuildCancel

func (_m *APIClient) BuildCancel(ctx context.Context, id string) error

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

func (*APIClient) CheckpointCreate

func (_m *APIClient) CheckpointCreate(ctx context.Context, _a1 string, options types.CheckpointCreateOptions) error

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

func (*APIClient) CheckpointDelete

func (_m *APIClient) CheckpointDelete(ctx context.Context, _a1 string, options types.CheckpointDeleteOptions) error

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

func (*APIClient) CheckpointList

func (_m *APIClient) CheckpointList(ctx context.Context, _a1 string, options types.CheckpointListOptions) ([]types.Checkpoint, error)

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

func (*APIClient) ClientVersion

func (_m *APIClient) ClientVersion() string

ClientVersion provides a mock function with given fields:

func (*APIClient) Close

func (_m *APIClient) Close() error

Close provides a mock function with given fields:

func (*APIClient) ConfigCreate

func (_m *APIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)

ConfigCreate provides a mock function with given fields: ctx, config

func (*APIClient) ConfigInspectWithRaw

func (_m *APIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)

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

func (*APIClient) ConfigList

func (_m *APIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)

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

func (*APIClient) ConfigRemove

func (_m *APIClient) ConfigRemove(ctx context.Context, id string) error

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

func (*APIClient) ConfigUpdate

func (_m *APIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error

ConfigUpdate provides a mock function with given fields: ctx, id, version, config

func (*APIClient) ContainerAttach

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

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

func (*APIClient) ContainerCommit

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

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

func (*APIClient) ContainerCreate

func (_m *APIClient) ContainerCreate(ctx context.Context, config *container.Config, hostConfig *container.HostConfig, networkingConfig *network.NetworkingConfig, platform *v1.Platform, containerName string) (container.CreateResponse, error)

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

func (*APIClient) ContainerDiff

func (_m *APIClient) ContainerDiff(ctx context.Context, _a1 string) ([]container.ContainerChangeResponseItem, error)

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

func (*APIClient) ContainerExecAttach

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

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

func (*APIClient) ContainerExecCreate

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

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

func (*APIClient) ContainerExecInspect

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

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

func (*APIClient) ContainerExecResize

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

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

func (*APIClient) ContainerExecStart

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

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

func (*APIClient) ContainerExport

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

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

func (*APIClient) ContainerInspect

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

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

func (*APIClient) ContainerInspectWithRaw

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

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

func (*APIClient) ContainerKill

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

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

func (*APIClient) ContainerList

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

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

func (*APIClient) ContainerLogs

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

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

func (*APIClient) ContainerPause

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

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

func (*APIClient) ContainerRemove

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

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

func (*APIClient) ContainerRename

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

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

func (*APIClient) ContainerResize

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

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

func (*APIClient) ContainerRestart

func (_m *APIClient) ContainerRestart(ctx context.Context, _a1 string, options container.StopOptions) error

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

func (*APIClient) ContainerStart

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

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

func (*APIClient) ContainerStatPath

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

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

func (*APIClient) ContainerStats

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

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

func (*APIClient) ContainerStatsOneShot

func (_m *APIClient) ContainerStatsOneShot(ctx context.Context, _a1 string) (types.ContainerStats, error)

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

func (*APIClient) ContainerStop

func (_m *APIClient) ContainerStop(ctx context.Context, _a1 string, options container.StopOptions) error

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

func (*APIClient) ContainerTop

func (_m *APIClient) ContainerTop(ctx context.Context, _a1 string, arguments []string) (container.ContainerTopOKBody, error)

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

func (*APIClient) ContainerUnpause

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

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

func (*APIClient) ContainerUpdate

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

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

func (*APIClient) ContainerWait

func (_m *APIClient) ContainerWait(ctx context.Context, _a1 string, condition container.WaitCondition) (<-chan container.WaitResponse, <-chan error)

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

func (*APIClient) ContainersPrune

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

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

func (*APIClient) CopyFromContainer

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

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

func (*APIClient) CopyToContainer

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

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

func (*APIClient) DaemonHost

func (_m *APIClient) DaemonHost() string

DaemonHost provides a mock function with given fields:

func (*APIClient) DialHijack

func (_m *APIClient) DialHijack(ctx context.Context, url string, proto string, meta map[string][]string) (net.Conn, error)

DialHijack provides a mock function with given fields: ctx, url, proto, meta

func (*APIClient) Dialer

func (_m *APIClient) Dialer() func(context.Context) (net.Conn, error)

Dialer provides a mock function with given fields:

func (*APIClient) DiskUsage

func (_m *APIClient) DiskUsage(ctx context.Context, options types.DiskUsageOptions) (types.DiskUsage, error)

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

func (*APIClient) DistributionInspect

func (_m *APIClient) DistributionInspect(ctx context.Context, _a1 string, encodedRegistryAuth string) (registry.DistributionInspect, error)

DistributionInspect provides a mock function with given fields: ctx, _a1, encodedRegistryAuth

func (*APIClient) Events

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

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

func (*APIClient) HTTPClient

func (_m *APIClient) HTTPClient() *http.Client

HTTPClient provides a mock function with given fields:

func (*APIClient) ImageBuild

func (_m *APIClient) ImageBuild(ctx context.Context, _a1 io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)

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

func (*APIClient) ImageCreate

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

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

func (*APIClient) ImageHistory

func (_m *APIClient) ImageHistory(ctx context.Context, _a1 string) ([]image.HistoryResponseItem, error)

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

func (*APIClient) ImageImport

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

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

func (*APIClient) ImageInspectWithRaw

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

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

func (*APIClient) ImageList

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

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

func (*APIClient) ImageLoad

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

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

func (*APIClient) ImagePull

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

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

func (*APIClient) ImagePush

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

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

func (*APIClient) ImageRemove

func (_m *APIClient) ImageRemove(ctx context.Context, _a1 string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)

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

func (*APIClient) ImageSave

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

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

func (*APIClient) ImageSearch

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

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

func (*APIClient) ImageTag

func (_m *APIClient) ImageTag(ctx context.Context, _a1 string, ref string) error

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

func (*APIClient) ImagesPrune

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

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

func (*APIClient) Info

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

Info provides a mock function with given fields: ctx

func (*APIClient) NegotiateAPIVersion

func (_m *APIClient) NegotiateAPIVersion(ctx context.Context)

NegotiateAPIVersion provides a mock function with given fields: ctx

func (*APIClient) NegotiateAPIVersionPing

func (_m *APIClient) NegotiateAPIVersionPing(_a0 types.Ping)

NegotiateAPIVersionPing provides a mock function with given fields: _a0

func (*APIClient) NetworkConnect

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

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

func (*APIClient) NetworkCreate

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

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

func (*APIClient) NetworkDisconnect

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

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

func (*APIClient) NetworkInspect

func (_m *APIClient) NetworkInspect(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, error)

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

func (*APIClient) NetworkInspectWithRaw

func (_m *APIClient) NetworkInspectWithRaw(ctx context.Context, _a1 string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)

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

func (*APIClient) NetworkList

func (_m *APIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)

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

func (*APIClient) NetworkRemove

func (_m *APIClient) NetworkRemove(ctx context.Context, _a1 string) error

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

func (*APIClient) NetworksPrune

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

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

func (*APIClient) NodeInspectWithRaw

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

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

func (*APIClient) NodeList

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

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

func (*APIClient) NodeRemove

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

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

func (*APIClient) NodeUpdate

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

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

func (*APIClient) Ping

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

Ping provides a mock function with given fields: ctx

func (*APIClient) PluginCreate

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

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

func (*APIClient) PluginDisable

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

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

func (*APIClient) PluginEnable

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

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

func (*APIClient) PluginInspectWithRaw

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

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

func (*APIClient) PluginInstall

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

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

func (*APIClient) PluginList

func (_m *APIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)

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

func (*APIClient) PluginPush

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

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

func (*APIClient) PluginRemove

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

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

func (*APIClient) PluginSet

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

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

func (*APIClient) PluginUpgrade

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

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

func (*APIClient) RegistryLogin

func (_m *APIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)

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

func (*APIClient) SecretCreate

func (_m *APIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)

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

func (*APIClient) SecretInspectWithRaw

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

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

func (*APIClient) SecretList

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

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

func (*APIClient) SecretRemove

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

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

func (*APIClient) SecretUpdate

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

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

func (*APIClient) ServerVersion

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

ServerVersion provides a mock function with given fields: ctx

func (*APIClient) ServiceCreate

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

func (*APIClient) ServiceInspectWithRaw

func (_m *APIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)

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

func (*APIClient) ServiceList

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

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

func (*APIClient) ServiceLogs

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

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

func (*APIClient) ServiceRemove

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

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

func (*APIClient) ServiceUpdate

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

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

func (*APIClient) SwarmGetUnlockKey

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

SwarmGetUnlockKey provides a mock function with given fields: ctx

func (*APIClient) SwarmInit

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

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

func (*APIClient) SwarmInspect

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

SwarmInspect provides a mock function with given fields: ctx

func (*APIClient) SwarmJoin

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

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

func (*APIClient) SwarmLeave

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

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

func (*APIClient) SwarmUnlock

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

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

func (*APIClient) SwarmUpdate

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

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

func (*APIClient) TaskInspectWithRaw

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

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

func (*APIClient) TaskList

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

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

func (*APIClient) TaskLogs

func (_m *APIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)

TaskLogs provides a mock function with given fields: ctx, taskID, options

func (*APIClient) VolumeCreate

func (_m *APIClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)

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

func (*APIClient) VolumeInspect

func (_m *APIClient) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error)

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

func (*APIClient) VolumeInspectWithRaw

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

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

func (*APIClient) VolumeList

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

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

func (*APIClient) VolumeRemove

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

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

func (*APIClient) VolumeUpdate

func (_m *APIClient) VolumeUpdate(ctx context.Context, volumeID string, version swarm.Version, options volume.UpdateOptions) error

VolumeUpdate provides a mock function with given fields: ctx, volumeID, version, options

func (*APIClient) VolumesPrune

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

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

Jump to

Keyboard shortcuts

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