Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCommonAPIClient
- func (m *MockCommonAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (m *MockCommonAPIClient) BuildCancel(ctx context.Context, id string) error
- func (m *MockCommonAPIClient) ClientVersion() string
- func (m *MockCommonAPIClient) Close() error
- func (m *MockCommonAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
- func (m *MockCommonAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
- func (m *MockCommonAPIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
- func (m *MockCommonAPIClient) ConfigRemove(ctx context.Context, id string) error
- func (m *MockCommonAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
- func (m *MockCommonAPIClient) ContainerAttach(ctx context.Context, container string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (m *MockCommonAPIClient) ContainerCommit(ctx context.Context, container string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (m *MockCommonAPIClient) ContainerCreate(ctx context.Context, config *containertypes.Config, ...) (containertypes.ContainerCreateCreatedBody, error)
- func (m *MockCommonAPIClient) ContainerDiff(ctx context.Context, container string) ([]containertypes.ContainerChangeResponseItem, error)
- func (m *MockCommonAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (m *MockCommonAPIClient) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
- func (m *MockCommonAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (m *MockCommonAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
- func (m *MockCommonAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (m *MockCommonAPIClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error)
- func (m *MockCommonAPIClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (types.ContainerJSON, []byte, error)
- func (m *MockCommonAPIClient) ContainerKill(ctx context.Context, container, signal string) error
- func (m *MockCommonAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (m *MockCommonAPIClient) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ContainerPause(ctx context.Context, container string) error
- func (m *MockCommonAPIClient) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error
- func (m *MockCommonAPIClient) ContainerRename(ctx context.Context, container, newContainerName string) error
- func (m *MockCommonAPIClient) ContainerResize(ctx context.Context, container string, options types.ResizeOptions) error
- func (m *MockCommonAPIClient) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error
- func (m *MockCommonAPIClient) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error
- func (m *MockCommonAPIClient) ContainerStatPath(ctx context.Context, container, path string) (types.ContainerPathStat, error)
- func (m *MockCommonAPIClient) ContainerStats(ctx context.Context, container string, stream bool) (types.ContainerStats, error)
- func (m *MockCommonAPIClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error
- func (m *MockCommonAPIClient) ContainerTop(ctx context.Context, container string, arguments []string) (containertypes.ContainerTopOKBody, error)
- func (m *MockCommonAPIClient) ContainerUnpause(ctx context.Context, container string) error
- func (m *MockCommonAPIClient) ContainerUpdate(ctx context.Context, container string, ...) (containertypes.ContainerUpdateOKBody, error)
- func (m *MockCommonAPIClient) ContainerWait(ctx context.Context, container string, condition containertypes.WaitCondition) (<-chan containertypes.ContainerWaitOKBody, <-chan error)
- func (m *MockCommonAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- func (m *MockCommonAPIClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (m *MockCommonAPIClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, ...) error
- func (m *MockCommonAPIClient) DaemonHost() string
- func (m *MockCommonAPIClient) DialSession(ctx context.Context, proto string, meta map[string][]string) (net.Conn, error)
- func (m *MockCommonAPIClient) Dialer() func(context.Context) (net.Conn, error)
- func (m *MockCommonAPIClient) DiskUsage(ctx context.Context) (types.DiskUsage, error)
- func (m *MockCommonAPIClient) DistributionInspect(ctx context.Context, image, encodedRegistryAuth string) (registry.DistributionInspect, error)
- func (m *MockCommonAPIClient) EXPECT() *MockCommonAPIClientMockRecorder
- func (m *MockCommonAPIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
- func (m *MockCommonAPIClient) HTTPClient() *http.Client
- func (m *MockCommonAPIClient) ImageBuild(ctx context.Context, context io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (m *MockCommonAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ImageHistory(ctx context.Context, image string) ([]imagetypes.HistoryResponseItem, error)
- func (m *MockCommonAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error)
- func (m *MockCommonAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockCommonAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
- func (m *MockCommonAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockCommonAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (m *MockCommonAPIClient) ImageTag(ctx context.Context, image, ref string) error
- func (m *MockCommonAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
- func (m *MockCommonAPIClient) Info(ctx context.Context) (types.Info, error)
- func (m *MockCommonAPIClient) NegotiateAPIVersion(ctx context.Context)
- func (m *MockCommonAPIClient) NegotiateAPIVersionPing(arg0 types.Ping)
- func (m *MockCommonAPIClient) NetworkConnect(ctx context.Context, network, container string, ...) error
- func (m *MockCommonAPIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (m *MockCommonAPIClient) NetworkDisconnect(ctx context.Context, network, container string, force bool) error
- func (m *MockCommonAPIClient) NetworkInspect(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, error)
- func (m *MockCommonAPIClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
- func (m *MockCommonAPIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
- func (m *MockCommonAPIClient) NetworkRemove(ctx context.Context, network string) error
- func (m *MockCommonAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
- func (m *MockCommonAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
- func (m *MockCommonAPIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
- func (m *MockCommonAPIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
- func (m *MockCommonAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
- func (m *MockCommonAPIClient) Ping(ctx context.Context) (types.Ping, error)
- func (m *MockCommonAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, ...) error
- func (m *MockCommonAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
- func (m *MockCommonAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
- func (m *MockCommonAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
- func (m *MockCommonAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
- func (m *MockCommonAPIClient) PluginPush(ctx context.Context, name, registryAuth string) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
- func (m *MockCommonAPIClient) PluginSet(ctx context.Context, name string, args []string) error
- func (m *MockCommonAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
- func (m *MockCommonAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
- func (m *MockCommonAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
- func (m *MockCommonAPIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
- func (m *MockCommonAPIClient) SecretRemove(ctx context.Context, id string) error
- func (m *MockCommonAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
- func (m *MockCommonAPIClient) ServerVersion(ctx context.Context) (types.Version, error)
- func (m *MockCommonAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, ...) (types.ServiceCreateResponse, error)
- func (m *MockCommonAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
- func (m *MockCommonAPIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
- func (m *MockCommonAPIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
- func (m *MockCommonAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, ...) (types.ServiceUpdateResponse, error)
- func (m *MockCommonAPIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)
- func (m *MockCommonAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
- func (m *MockCommonAPIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)
- func (m *MockCommonAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
- func (m *MockCommonAPIClient) SwarmLeave(ctx context.Context, force bool) error
- func (m *MockCommonAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
- func (m *MockCommonAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm swarm.Spec, ...) error
- func (m *MockCommonAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
- func (m *MockCommonAPIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
- func (m *MockCommonAPIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockCommonAPIClient) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
- func (m *MockCommonAPIClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)
- func (m *MockCommonAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
- func (m *MockCommonAPIClient) VolumeList(ctx context.Context, filter filters.Args) (volumetypes.VolumeListOKBody, error)
- func (m *MockCommonAPIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- func (m *MockCommonAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
- type MockCommonAPIClientMockRecorder
- func (mr *MockCommonAPIClientMockRecorder) BuildCachePrune(ctx, opts interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) BuildCancel(ctx, id interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ClientVersion() *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) Close() *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ConfigCreate(ctx, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ConfigInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ConfigList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ConfigRemove(ctx, id interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ConfigUpdate(ctx, id, version, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerAttach(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerCommit(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerCreate(ctx, config, hostConfig, networkingConfig, containerName interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerDiff(ctx, container interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExecAttach(ctx, execID, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExecCreate(ctx, container, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExecInspect(ctx, execID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExecResize(ctx, execID, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExecStart(ctx, execID, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerExport(ctx, container interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerInspect(ctx, container interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerInspectWithRaw(ctx, container, getSize interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerKill(ctx, container, signal interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerLogs(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerPause(ctx, container interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerRemove(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerRename(ctx, container, newContainerName interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerResize(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerRestart(ctx, container, timeout interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerStart(ctx, container, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerStatPath(ctx, container, path interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerStats(ctx, container, stream interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerStop(ctx, container, timeout interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerTop(ctx, container, arguments interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerUnpause(ctx, container interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerUpdate(ctx, container, updateConfig interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainerWait(ctx, container, condition interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ContainersPrune(ctx, pruneFilters interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) CopyFromContainer(ctx, container, srcPath interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) CopyToContainer(ctx, container, path, content, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) DaemonHost() *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) DialSession(ctx, proto, meta interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) Dialer() *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) DiskUsage(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) DistributionInspect(ctx, image, encodedRegistryAuth interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) Events(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageBuild(ctx, context, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageCreate(ctx, parentReference, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageHistory(ctx, image interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageImport(ctx, source, ref, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageInspectWithRaw(ctx, image interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageLoad(ctx, input, quiet interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImagePull(ctx, ref, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImagePush(ctx, ref, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageRemove(ctx, image, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageSave(ctx, images interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageSearch(ctx, term, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImageTag(ctx, image, ref interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ImagesPrune(ctx, pruneFilter interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) Info(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersion(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersionPing(arg0 interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkConnect(ctx, network, container, config interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkCreate(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkDisconnect(ctx, network, container, force interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkInspect(ctx, network, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkInspectWithRaw(ctx, network, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworkRemove(ctx, network interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NetworksPrune(ctx, pruneFilter interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NodeInspectWithRaw(ctx, nodeID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NodeList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NodeRemove(ctx, nodeID, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) NodeUpdate(ctx, nodeID, version, node interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) Ping(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginCreate(ctx, createContext, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginDisable(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginEnable(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginInstall(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginList(ctx, filter interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginPush(ctx, name, registryAuth interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginRemove(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginSet(ctx, name, args interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) PluginUpgrade(ctx, name, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) RegistryLogin(ctx, auth interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SecretCreate(ctx, secret interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SecretInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SecretList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SecretRemove(ctx, id interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SecretUpdate(ctx, id, version, secret interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServerVersion(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceCreate(ctx, service, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceInspectWithRaw(ctx, serviceID, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceLogs(ctx, serviceID, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceRemove(ctx, serviceID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) ServiceUpdate(ctx, serviceID, version, service, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmGetUnlockKey(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmInit(ctx, req interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmInspect(ctx interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmJoin(ctx, req interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmLeave(ctx, force interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmUnlock(ctx, req interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) SwarmUpdate(ctx, version, swarm, flags interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) TaskInspectWithRaw(ctx, taskID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) TaskList(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) TaskLogs(ctx, taskID, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumeCreate(ctx, options interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumeInspect(ctx, volumeID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumeInspectWithRaw(ctx, volumeID interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumeList(ctx, filter interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumeRemove(ctx, volumeID, force interface{}) *gomock.Call
- func (mr *MockCommonAPIClientMockRecorder) VolumesPrune(ctx, pruneFilter interface{}) *gomock.Call
- type MockConfigAPIClient
- func (m *MockConfigAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
- func (m *MockConfigAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
- func (m *MockConfigAPIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
- func (m *MockConfigAPIClient) ConfigRemove(ctx context.Context, id string) error
- func (m *MockConfigAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
- func (m *MockConfigAPIClient) EXPECT() *MockConfigAPIClientMockRecorder
- type MockConfigAPIClientMockRecorder
- func (mr *MockConfigAPIClientMockRecorder) ConfigCreate(ctx, config interface{}) *gomock.Call
- func (mr *MockConfigAPIClientMockRecorder) ConfigInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockConfigAPIClientMockRecorder) ConfigList(ctx, options interface{}) *gomock.Call
- func (mr *MockConfigAPIClientMockRecorder) ConfigRemove(ctx, id interface{}) *gomock.Call
- func (mr *MockConfigAPIClientMockRecorder) ConfigUpdate(ctx, id, version, config interface{}) *gomock.Call
- type MockContainerAPIClient
- func (m *MockContainerAPIClient) ContainerAttach(ctx context.Context, container string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
- func (m *MockContainerAPIClient) ContainerCommit(ctx context.Context, container string, options types.ContainerCommitOptions) (types.IDResponse, error)
- func (m *MockContainerAPIClient) ContainerCreate(ctx context.Context, config *containertypes.Config, ...) (containertypes.ContainerCreateCreatedBody, error)
- func (m *MockContainerAPIClient) ContainerDiff(ctx context.Context, container string) ([]containertypes.ContainerChangeResponseItem, error)
- func (m *MockContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
- func (m *MockContainerAPIClient) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
- func (m *MockContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
- func (m *MockContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
- func (m *MockContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
- func (m *MockContainerAPIClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error)
- func (m *MockContainerAPIClient) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error)
- func (m *MockContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (types.ContainerJSON, []byte, error)
- func (m *MockContainerAPIClient) ContainerKill(ctx context.Context, container, signal string) error
- func (m *MockContainerAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
- func (m *MockContainerAPIClient) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockContainerAPIClient) ContainerPause(ctx context.Context, container string) error
- func (m *MockContainerAPIClient) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error
- func (m *MockContainerAPIClient) ContainerRename(ctx context.Context, container, newContainerName string) error
- func (m *MockContainerAPIClient) ContainerResize(ctx context.Context, container string, options types.ResizeOptions) error
- func (m *MockContainerAPIClient) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error
- func (m *MockContainerAPIClient) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error
- func (m *MockContainerAPIClient) ContainerStatPath(ctx context.Context, container, path string) (types.ContainerPathStat, error)
- func (m *MockContainerAPIClient) ContainerStats(ctx context.Context, container string, stream bool) (types.ContainerStats, error)
- func (m *MockContainerAPIClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error
- func (m *MockContainerAPIClient) ContainerTop(ctx context.Context, container string, arguments []string) (containertypes.ContainerTopOKBody, error)
- func (m *MockContainerAPIClient) ContainerUnpause(ctx context.Context, container string) error
- func (m *MockContainerAPIClient) ContainerUpdate(ctx context.Context, container string, ...) (containertypes.ContainerUpdateOKBody, error)
- func (m *MockContainerAPIClient) ContainerWait(ctx context.Context, container string, condition containertypes.WaitCondition) (<-chan containertypes.ContainerWaitOKBody, <-chan error)
- func (m *MockContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
- func (m *MockContainerAPIClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
- func (m *MockContainerAPIClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, ...) error
- func (m *MockContainerAPIClient) EXPECT() *MockContainerAPIClientMockRecorder
- type MockContainerAPIClientMockRecorder
- func (mr *MockContainerAPIClientMockRecorder) ContainerAttach(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerCommit(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerCreate(ctx, config, hostConfig, networkingConfig, containerName interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerDiff(ctx, container interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecAttach(ctx, execID, config interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecCreate(ctx, container, config interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecInspect(ctx, execID interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecResize(ctx, execID, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExecStart(ctx, execID, config interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerExport(ctx, container interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerInspect(ctx, container interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerInspectWithRaw(ctx, container, getSize interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerKill(ctx, container, signal interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerList(ctx, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerLogs(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerPause(ctx, container interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRemove(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRename(ctx, container, newContainerName interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerResize(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerRestart(ctx, container, timeout interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStart(ctx, container, options interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStatPath(ctx, container, path interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStats(ctx, container, stream interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerStop(ctx, container, timeout interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerTop(ctx, container, arguments interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerUnpause(ctx, container interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerUpdate(ctx, container, updateConfig interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainerWait(ctx, container, condition interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) ContainersPrune(ctx, pruneFilters interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) CopyFromContainer(ctx, container, srcPath interface{}) *gomock.Call
- func (mr *MockContainerAPIClientMockRecorder) CopyToContainer(ctx, container, path, content, options interface{}) *gomock.Call
- type MockDistributionAPIClient
- type MockDistributionAPIClientMockRecorder
- type MockImageAPIClient
- func (m *MockImageAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
- func (m *MockImageAPIClient) BuildCancel(ctx context.Context, id string) error
- func (m *MockImageAPIClient) EXPECT() *MockImageAPIClientMockRecorder
- func (m *MockImageAPIClient) ImageBuild(ctx context.Context, context io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
- func (m *MockImageAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageHistory(ctx context.Context, image string) ([]imagetypes.HistoryResponseItem, error)
- func (m *MockImageAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, ...) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error)
- func (m *MockImageAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
- func (m *MockImageAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
- func (m *MockImageAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
- func (m *MockImageAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
- func (m *MockImageAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
- func (m *MockImageAPIClient) ImageTag(ctx context.Context, image, ref string) error
- func (m *MockImageAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
- type MockImageAPIClientMockRecorder
- func (mr *MockImageAPIClientMockRecorder) BuildCachePrune(ctx, opts interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) BuildCancel(ctx, id interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageBuild(ctx, context, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageCreate(ctx, parentReference, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageHistory(ctx, image interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageImport(ctx, source, ref, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageInspectWithRaw(ctx, image interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageList(ctx, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageLoad(ctx, input, quiet interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagePull(ctx, ref, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagePush(ctx, ref, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageRemove(ctx, image, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageSave(ctx, images interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageSearch(ctx, term, options interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImageTag(ctx, image, ref interface{}) *gomock.Call
- func (mr *MockImageAPIClientMockRecorder) ImagesPrune(ctx, pruneFilter interface{}) *gomock.Call
- type MockNetworkAPIClient
- func (m *MockNetworkAPIClient) EXPECT() *MockNetworkAPIClientMockRecorder
- func (m *MockNetworkAPIClient) NetworkConnect(ctx context.Context, network, container string, ...) error
- func (m *MockNetworkAPIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
- func (m *MockNetworkAPIClient) NetworkDisconnect(ctx context.Context, network, container string, force bool) error
- func (m *MockNetworkAPIClient) NetworkInspect(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, error)
- func (m *MockNetworkAPIClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
- func (m *MockNetworkAPIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
- func (m *MockNetworkAPIClient) NetworkRemove(ctx context.Context, network string) error
- func (m *MockNetworkAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
- type MockNetworkAPIClientMockRecorder
- func (mr *MockNetworkAPIClientMockRecorder) NetworkConnect(ctx, network, container, config interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkCreate(ctx, name, options interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkDisconnect(ctx, network, container, force interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkInspect(ctx, network, options interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw(ctx, network, options interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkList(ctx, options interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworkRemove(ctx, network interface{}) *gomock.Call
- func (mr *MockNetworkAPIClientMockRecorder) NetworksPrune(ctx, pruneFilter interface{}) *gomock.Call
- type MockNodeAPIClient
- func (m *MockNodeAPIClient) EXPECT() *MockNodeAPIClientMockRecorder
- func (m *MockNodeAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
- func (m *MockNodeAPIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
- func (m *MockNodeAPIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
- func (m *MockNodeAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
- type MockNodeAPIClientMockRecorder
- func (mr *MockNodeAPIClientMockRecorder) NodeInspectWithRaw(ctx, nodeID interface{}) *gomock.Call
- func (mr *MockNodeAPIClientMockRecorder) NodeList(ctx, options interface{}) *gomock.Call
- func (mr *MockNodeAPIClientMockRecorder) NodeRemove(ctx, nodeID, options interface{}) *gomock.Call
- func (mr *MockNodeAPIClientMockRecorder) NodeUpdate(ctx, nodeID, version, node interface{}) *gomock.Call
- type MockOrchestrator
- func (m *MockOrchestrator) AttachOrphanAgent(containerID, namespace string) (bool, string, error)
- func (m *MockOrchestrator) ContainerExec(mountedVolumes *volume.MountedVolume, command []string) (string, error)
- func (m *MockOrchestrator) DeployAgent(image string, cmd, envs []string, volume *volume.Volume) (bool, string, error)
- func (m *MockOrchestrator) EXPECT() *MockOrchestratorMockRecorder
- func (m *MockOrchestrator) GetContainersMountingVolume(v *volume.Volume) ([]*volume.MountedVolume, error)
- func (m *MockOrchestrator) GetName() string
- func (m *MockOrchestrator) GetPath(v *volume.Volume) string
- func (m *MockOrchestrator) GetVolumes(volumeFilters volume.Filters) ([]*volume.Volume, error)
- func (m *MockOrchestrator) IsNodeAvailable(hostID string) (bool, error)
- func (m *MockOrchestrator) RetrieveOrphanAgents() (map[string]string, error)
- type MockOrchestratorMockRecorder
- func (mr *MockOrchestratorMockRecorder) AttachOrphanAgent(containerID, namespace interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) ContainerExec(mountedVolumes, command interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) DeployAgent(image, cmd, envs, volume interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetContainersMountingVolume(v interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetName() *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetPath(v interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) GetVolumes(volumeFilters interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) IsNodeAvailable(hostID interface{}) *gomock.Call
- func (mr *MockOrchestratorMockRecorder) RetrieveOrphanAgents() *gomock.Call
- type MockPluginAPIClient
- func (m *MockPluginAPIClient) EXPECT() *MockPluginAPIClientMockRecorder
- func (m *MockPluginAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, ...) error
- func (m *MockPluginAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
- func (m *MockPluginAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
- func (m *MockPluginAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
- func (m *MockPluginAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- func (m *MockPluginAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
- func (m *MockPluginAPIClient) PluginPush(ctx context.Context, name, registryAuth string) (io.ReadCloser, error)
- func (m *MockPluginAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
- func (m *MockPluginAPIClient) PluginSet(ctx context.Context, name string, args []string) error
- func (m *MockPluginAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
- type MockPluginAPIClientMockRecorder
- func (mr *MockPluginAPIClientMockRecorder) PluginCreate(ctx, createContext, options interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginDisable(ctx, name, options interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginEnable(ctx, name, options interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginInstall(ctx, name, options interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginList(ctx, filter interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginPush(ctx, name, registryAuth interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginRemove(ctx, name, options interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginSet(ctx, name, args interface{}) *gomock.Call
- func (mr *MockPluginAPIClientMockRecorder) PluginUpgrade(ctx, name, options interface{}) *gomock.Call
- type MockRegisterer
- type MockRegistererMockRecorder
- type MockSecretAPIClient
- func (m *MockSecretAPIClient) EXPECT() *MockSecretAPIClientMockRecorder
- func (m *MockSecretAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
- func (m *MockSecretAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
- func (m *MockSecretAPIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
- func (m *MockSecretAPIClient) SecretRemove(ctx context.Context, id string) error
- func (m *MockSecretAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
- type MockSecretAPIClientMockRecorder
- func (mr *MockSecretAPIClientMockRecorder) SecretCreate(ctx, secret interface{}) *gomock.Call
- func (mr *MockSecretAPIClientMockRecorder) SecretInspectWithRaw(ctx, name interface{}) *gomock.Call
- func (mr *MockSecretAPIClientMockRecorder) SecretList(ctx, options interface{}) *gomock.Call
- func (mr *MockSecretAPIClientMockRecorder) SecretRemove(ctx, id interface{}) *gomock.Call
- func (mr *MockSecretAPIClientMockRecorder) SecretUpdate(ctx, id, version, secret interface{}) *gomock.Call
- type MockServiceAPIClient
- func (m *MockServiceAPIClient) EXPECT() *MockServiceAPIClientMockRecorder
- func (m *MockServiceAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, ...) (types.ServiceCreateResponse, error)
- func (m *MockServiceAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
- func (m *MockServiceAPIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
- func (m *MockServiceAPIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- func (m *MockServiceAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
- func (m *MockServiceAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, ...) (types.ServiceUpdateResponse, error)
- func (m *MockServiceAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
- func (m *MockServiceAPIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
- func (m *MockServiceAPIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
- type MockServiceAPIClientMockRecorder
- func (mr *MockServiceAPIClientMockRecorder) ServiceCreate(ctx, service, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) ServiceInspectWithRaw(ctx, serviceID, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) ServiceList(ctx, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) ServiceLogs(ctx, serviceID, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) ServiceRemove(ctx, serviceID interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) ServiceUpdate(ctx, serviceID, version, service, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) TaskInspectWithRaw(ctx, taskID interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) TaskList(ctx, options interface{}) *gomock.Call
- func (mr *MockServiceAPIClientMockRecorder) TaskLogs(ctx, taskID, options interface{}) *gomock.Call
- type MockSwarmAPIClient
- func (m *MockSwarmAPIClient) EXPECT() *MockSwarmAPIClientMockRecorder
- func (m *MockSwarmAPIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)
- func (m *MockSwarmAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
- func (m *MockSwarmAPIClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)
- func (m *MockSwarmAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
- func (m *MockSwarmAPIClient) SwarmLeave(ctx context.Context, force bool) error
- func (m *MockSwarmAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
- func (m *MockSwarmAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm swarm.Spec, ...) error
- type MockSwarmAPIClientMockRecorder
- func (mr *MockSwarmAPIClientMockRecorder) SwarmGetUnlockKey(ctx interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmInit(ctx, req interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmInspect(ctx interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmJoin(ctx, req interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmLeave(ctx, force interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmUnlock(ctx, req interface{}) *gomock.Call
- func (mr *MockSwarmAPIClientMockRecorder) SwarmUpdate(ctx, version, swarm, flags interface{}) *gomock.Call
- type MockSystemAPIClient
- func (m *MockSystemAPIClient) DiskUsage(ctx context.Context) (types.DiskUsage, error)
- func (m *MockSystemAPIClient) EXPECT() *MockSystemAPIClientMockRecorder
- func (m *MockSystemAPIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
- func (m *MockSystemAPIClient) Info(ctx context.Context) (types.Info, error)
- func (m *MockSystemAPIClient) Ping(ctx context.Context) (types.Ping, error)
- func (m *MockSystemAPIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
- type MockSystemAPIClientMockRecorder
- func (mr *MockSystemAPIClientMockRecorder) DiskUsage(ctx interface{}) *gomock.Call
- func (mr *MockSystemAPIClientMockRecorder) Events(ctx, options interface{}) *gomock.Call
- func (mr *MockSystemAPIClientMockRecorder) Info(ctx interface{}) *gomock.Call
- func (mr *MockSystemAPIClientMockRecorder) Ping(ctx interface{}) *gomock.Call
- func (mr *MockSystemAPIClientMockRecorder) RegistryLogin(ctx, auth interface{}) *gomock.Call
- type MockVolumeAPIClient
- func (m *MockVolumeAPIClient) EXPECT() *MockVolumeAPIClientMockRecorder
- func (m *MockVolumeAPIClient) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
- func (m *MockVolumeAPIClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)
- func (m *MockVolumeAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
- func (m *MockVolumeAPIClient) VolumeList(ctx context.Context, filter filters.Args) (volumetypes.VolumeListOKBody, error)
- func (m *MockVolumeAPIClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error
- func (m *MockVolumeAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
- type MockVolumeAPIClientMockRecorder
- func (mr *MockVolumeAPIClientMockRecorder) VolumeCreate(ctx, options interface{}) *gomock.Call
- func (mr *MockVolumeAPIClientMockRecorder) VolumeInspect(ctx, volumeID interface{}) *gomock.Call
- func (mr *MockVolumeAPIClientMockRecorder) VolumeInspectWithRaw(ctx, volumeID interface{}) *gomock.Call
- func (mr *MockVolumeAPIClientMockRecorder) VolumeList(ctx, filter interface{}) *gomock.Call
- func (mr *MockVolumeAPIClientMockRecorder) VolumeRemove(ctx, volumeID, force interface{}) *gomock.Call
- func (mr *MockVolumeAPIClientMockRecorder) VolumesPrune(ctx, pruneFilter interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommonAPIClient ¶
type MockCommonAPIClient struct {
// contains filtered or unexported fields
}
MockCommonAPIClient is a mock of CommonAPIClient interface
func NewMockCommonAPIClient ¶
func NewMockCommonAPIClient(ctrl *gomock.Controller) *MockCommonAPIClient
NewMockCommonAPIClient creates a new mock instance
func (*MockCommonAPIClient) BuildCachePrune ¶
func (m *MockCommonAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune mocks base method
func (*MockCommonAPIClient) BuildCancel ¶
func (m *MockCommonAPIClient) BuildCancel(ctx context.Context, id string) error
BuildCancel mocks base method
func (*MockCommonAPIClient) ClientVersion ¶
func (m *MockCommonAPIClient) ClientVersion() string
ClientVersion mocks base method
func (*MockCommonAPIClient) Close ¶
func (m *MockCommonAPIClient) Close() error
Close mocks base method
func (*MockCommonAPIClient) ConfigCreate ¶
func (m *MockCommonAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
ConfigCreate mocks base method
func (*MockCommonAPIClient) ConfigInspectWithRaw ¶
func (m *MockCommonAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
ConfigInspectWithRaw mocks base method
func (*MockCommonAPIClient) ConfigList ¶
func (m *MockCommonAPIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
ConfigList mocks base method
func (*MockCommonAPIClient) ConfigRemove ¶
func (m *MockCommonAPIClient) ConfigRemove(ctx context.Context, id string) error
ConfigRemove mocks base method
func (*MockCommonAPIClient) ConfigUpdate ¶
func (m *MockCommonAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
ConfigUpdate mocks base method
func (*MockCommonAPIClient) ContainerAttach ¶
func (m *MockCommonAPIClient) ContainerAttach(ctx context.Context, container string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach mocks base method
func (*MockCommonAPIClient) ContainerCommit ¶
func (m *MockCommonAPIClient) ContainerCommit(ctx context.Context, container string, options types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit mocks base method
func (*MockCommonAPIClient) ContainerCreate ¶
func (m *MockCommonAPIClient) ContainerCreate(ctx context.Context, config *containertypes.Config, hostConfig *containertypes.HostConfig, networkingConfig *networktypes.NetworkingConfig, containerName string) (containertypes.ContainerCreateCreatedBody, error)
ContainerCreate mocks base method
func (*MockCommonAPIClient) ContainerDiff ¶
func (m *MockCommonAPIClient) ContainerDiff(ctx context.Context, container string) ([]containertypes.ContainerChangeResponseItem, error)
ContainerDiff mocks base method
func (*MockCommonAPIClient) ContainerExecAttach ¶
func (m *MockCommonAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach mocks base method
func (*MockCommonAPIClient) ContainerExecCreate ¶
func (m *MockCommonAPIClient) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate mocks base method
func (*MockCommonAPIClient) ContainerExecInspect ¶
func (m *MockCommonAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect mocks base method
func (*MockCommonAPIClient) ContainerExecResize ¶
func (m *MockCommonAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
ContainerExecResize mocks base method
func (*MockCommonAPIClient) ContainerExecStart ¶
func (m *MockCommonAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
ContainerExecStart mocks base method
func (*MockCommonAPIClient) ContainerExport ¶
func (m *MockCommonAPIClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error)
ContainerExport mocks base method
func (*MockCommonAPIClient) ContainerInspect ¶
func (m *MockCommonAPIClient) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error)
ContainerInspect mocks base method
func (*MockCommonAPIClient) ContainerInspectWithRaw ¶
func (m *MockCommonAPIClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw mocks base method
func (*MockCommonAPIClient) ContainerKill ¶
func (m *MockCommonAPIClient) ContainerKill(ctx context.Context, container, signal string) error
ContainerKill mocks base method
func (*MockCommonAPIClient) ContainerList ¶
func (m *MockCommonAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList mocks base method
func (*MockCommonAPIClient) ContainerLogs ¶
func (m *MockCommonAPIClient) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs mocks base method
func (*MockCommonAPIClient) ContainerPause ¶
func (m *MockCommonAPIClient) ContainerPause(ctx context.Context, container string) error
ContainerPause mocks base method
func (*MockCommonAPIClient) ContainerRemove ¶
func (m *MockCommonAPIClient) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error
ContainerRemove mocks base method
func (*MockCommonAPIClient) ContainerRename ¶
func (m *MockCommonAPIClient) ContainerRename(ctx context.Context, container, newContainerName string) error
ContainerRename mocks base method
func (*MockCommonAPIClient) ContainerResize ¶
func (m *MockCommonAPIClient) ContainerResize(ctx context.Context, container string, options types.ResizeOptions) error
ContainerResize mocks base method
func (*MockCommonAPIClient) ContainerRestart ¶
func (m *MockCommonAPIClient) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error
ContainerRestart mocks base method
func (*MockCommonAPIClient) ContainerStart ¶
func (m *MockCommonAPIClient) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error
ContainerStart mocks base method
func (*MockCommonAPIClient) ContainerStatPath ¶
func (m *MockCommonAPIClient) ContainerStatPath(ctx context.Context, container, path string) (types.ContainerPathStat, error)
ContainerStatPath mocks base method
func (*MockCommonAPIClient) ContainerStats ¶
func (m *MockCommonAPIClient) ContainerStats(ctx context.Context, container string, stream bool) (types.ContainerStats, error)
ContainerStats mocks base method
func (*MockCommonAPIClient) ContainerStop ¶
func (m *MockCommonAPIClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error
ContainerStop mocks base method
func (*MockCommonAPIClient) ContainerTop ¶
func (m *MockCommonAPIClient) ContainerTop(ctx context.Context, container string, arguments []string) (containertypes.ContainerTopOKBody, error)
ContainerTop mocks base method
func (*MockCommonAPIClient) ContainerUnpause ¶
func (m *MockCommonAPIClient) ContainerUnpause(ctx context.Context, container string) error
ContainerUnpause mocks base method
func (*MockCommonAPIClient) ContainerUpdate ¶
func (m *MockCommonAPIClient) ContainerUpdate(ctx context.Context, container string, updateConfig containertypes.UpdateConfig) (containertypes.ContainerUpdateOKBody, error)
ContainerUpdate mocks base method
func (*MockCommonAPIClient) ContainerWait ¶
func (m *MockCommonAPIClient) ContainerWait(ctx context.Context, container string, condition containertypes.WaitCondition) (<-chan containertypes.ContainerWaitOKBody, <-chan error)
ContainerWait mocks base method
func (*MockCommonAPIClient) ContainersPrune ¶
func (m *MockCommonAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
ContainersPrune mocks base method
func (*MockCommonAPIClient) CopyFromContainer ¶
func (m *MockCommonAPIClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer mocks base method
func (*MockCommonAPIClient) CopyToContainer ¶
func (m *MockCommonAPIClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, options types.CopyToContainerOptions) error
CopyToContainer mocks base method
func (*MockCommonAPIClient) DaemonHost ¶
func (m *MockCommonAPIClient) DaemonHost() string
DaemonHost mocks base method
func (*MockCommonAPIClient) DialSession ¶
func (m *MockCommonAPIClient) DialSession(ctx context.Context, proto string, meta map[string][]string) (net.Conn, error)
DialSession mocks base method
func (*MockCommonAPIClient) DistributionInspect ¶
func (m *MockCommonAPIClient) DistributionInspect(ctx context.Context, image, encodedRegistryAuth string) (registry.DistributionInspect, error)
DistributionInspect mocks base method
func (*MockCommonAPIClient) EXPECT ¶
func (m *MockCommonAPIClient) EXPECT() *MockCommonAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommonAPIClient) Events ¶
func (m *MockCommonAPIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
Events mocks base method
func (*MockCommonAPIClient) HTTPClient ¶
func (m *MockCommonAPIClient) HTTPClient() *http.Client
HTTPClient mocks base method
func (*MockCommonAPIClient) ImageBuild ¶
func (m *MockCommonAPIClient) ImageBuild(ctx context.Context, context io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild mocks base method
func (*MockCommonAPIClient) ImageCreate ¶
func (m *MockCommonAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate mocks base method
func (*MockCommonAPIClient) ImageHistory ¶
func (m *MockCommonAPIClient) ImageHistory(ctx context.Context, image string) ([]imagetypes.HistoryResponseItem, error)
ImageHistory mocks base method
func (*MockCommonAPIClient) ImageImport ¶
func (m *MockCommonAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error)
ImageImport mocks base method
func (*MockCommonAPIClient) ImageInspectWithRaw ¶
func (m *MockCommonAPIClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw mocks base method
func (*MockCommonAPIClient) ImageList ¶
func (m *MockCommonAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList mocks base method
func (*MockCommonAPIClient) ImageLoad ¶
func (m *MockCommonAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
ImageLoad mocks base method
func (*MockCommonAPIClient) ImagePull ¶
func (m *MockCommonAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
ImagePull mocks base method
func (*MockCommonAPIClient) ImagePush ¶
func (m *MockCommonAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
ImagePush mocks base method
func (*MockCommonAPIClient) ImageRemove ¶
func (m *MockCommonAPIClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove mocks base method
func (*MockCommonAPIClient) ImageSave ¶
func (m *MockCommonAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
ImageSave mocks base method
func (*MockCommonAPIClient) ImageSearch ¶
func (m *MockCommonAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch mocks base method
func (*MockCommonAPIClient) ImageTag ¶
func (m *MockCommonAPIClient) ImageTag(ctx context.Context, image, ref string) error
ImageTag mocks base method
func (*MockCommonAPIClient) ImagesPrune ¶
func (m *MockCommonAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
ImagesPrune mocks base method
func (*MockCommonAPIClient) NegotiateAPIVersion ¶
func (m *MockCommonAPIClient) NegotiateAPIVersion(ctx context.Context)
NegotiateAPIVersion mocks base method
func (*MockCommonAPIClient) NegotiateAPIVersionPing ¶
func (m *MockCommonAPIClient) NegotiateAPIVersionPing(arg0 types.Ping)
NegotiateAPIVersionPing mocks base method
func (*MockCommonAPIClient) NetworkConnect ¶
func (m *MockCommonAPIClient) NetworkConnect(ctx context.Context, network, container string, config *networktypes.EndpointSettings) error
NetworkConnect mocks base method
func (*MockCommonAPIClient) NetworkCreate ¶
func (m *MockCommonAPIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
NetworkCreate mocks base method
func (*MockCommonAPIClient) NetworkDisconnect ¶
func (m *MockCommonAPIClient) NetworkDisconnect(ctx context.Context, network, container string, force bool) error
NetworkDisconnect mocks base method
func (*MockCommonAPIClient) NetworkInspect ¶
func (m *MockCommonAPIClient) NetworkInspect(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, error)
NetworkInspect mocks base method
func (*MockCommonAPIClient) NetworkInspectWithRaw ¶
func (m *MockCommonAPIClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
NetworkInspectWithRaw mocks base method
func (*MockCommonAPIClient) NetworkList ¶
func (m *MockCommonAPIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
NetworkList mocks base method
func (*MockCommonAPIClient) NetworkRemove ¶
func (m *MockCommonAPIClient) NetworkRemove(ctx context.Context, network string) error
NetworkRemove mocks base method
func (*MockCommonAPIClient) NetworksPrune ¶
func (m *MockCommonAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
NetworksPrune mocks base method
func (*MockCommonAPIClient) NodeInspectWithRaw ¶
func (m *MockCommonAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
NodeInspectWithRaw mocks base method
func (*MockCommonAPIClient) NodeList ¶
func (m *MockCommonAPIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
NodeList mocks base method
func (*MockCommonAPIClient) NodeRemove ¶
func (m *MockCommonAPIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
NodeRemove mocks base method
func (*MockCommonAPIClient) NodeUpdate ¶
func (m *MockCommonAPIClient) NodeUpdate(ctx context.Context, nodeID string, version swarm.Version, node swarm.NodeSpec) error
NodeUpdate mocks base method
func (*MockCommonAPIClient) PluginCreate ¶
func (m *MockCommonAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error
PluginCreate mocks base method
func (*MockCommonAPIClient) PluginDisable ¶
func (m *MockCommonAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
PluginDisable mocks base method
func (*MockCommonAPIClient) PluginEnable ¶
func (m *MockCommonAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
PluginEnable mocks base method
func (*MockCommonAPIClient) PluginInspectWithRaw ¶
func (m *MockCommonAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
PluginInspectWithRaw mocks base method
func (*MockCommonAPIClient) PluginInstall ¶
func (m *MockCommonAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginInstall mocks base method
func (*MockCommonAPIClient) PluginList ¶
func (m *MockCommonAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
PluginList mocks base method
func (*MockCommonAPIClient) PluginPush ¶
func (m *MockCommonAPIClient) PluginPush(ctx context.Context, name, registryAuth string) (io.ReadCloser, error)
PluginPush mocks base method
func (*MockCommonAPIClient) PluginRemove ¶
func (m *MockCommonAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
PluginRemove mocks base method
func (*MockCommonAPIClient) PluginUpgrade ¶
func (m *MockCommonAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginUpgrade mocks base method
func (*MockCommonAPIClient) RegistryLogin ¶
func (m *MockCommonAPIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
RegistryLogin mocks base method
func (*MockCommonAPIClient) SecretCreate ¶
func (m *MockCommonAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
SecretCreate mocks base method
func (*MockCommonAPIClient) SecretInspectWithRaw ¶
func (m *MockCommonAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
SecretInspectWithRaw mocks base method
func (*MockCommonAPIClient) SecretList ¶
func (m *MockCommonAPIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
SecretList mocks base method
func (*MockCommonAPIClient) SecretRemove ¶
func (m *MockCommonAPIClient) SecretRemove(ctx context.Context, id string) error
SecretRemove mocks base method
func (*MockCommonAPIClient) SecretUpdate ¶
func (m *MockCommonAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
SecretUpdate mocks base method
func (*MockCommonAPIClient) ServerVersion ¶
ServerVersion mocks base method
func (*MockCommonAPIClient) ServiceCreate ¶
func (m *MockCommonAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, options types.ServiceCreateOptions) (types.ServiceCreateResponse, error)
ServiceCreate mocks base method
func (*MockCommonAPIClient) ServiceInspectWithRaw ¶
func (m *MockCommonAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
ServiceInspectWithRaw mocks base method
func (*MockCommonAPIClient) ServiceList ¶
func (m *MockCommonAPIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
ServiceList mocks base method
func (*MockCommonAPIClient) ServiceLogs ¶
func (m *MockCommonAPIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ServiceLogs mocks base method
func (*MockCommonAPIClient) ServiceRemove ¶
func (m *MockCommonAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
ServiceRemove mocks base method
func (*MockCommonAPIClient) ServiceUpdate ¶
func (m *MockCommonAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options types.ServiceUpdateOptions) (types.ServiceUpdateResponse, error)
ServiceUpdate mocks base method
func (*MockCommonAPIClient) SwarmGetUnlockKey ¶
func (m *MockCommonAPIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)
SwarmGetUnlockKey mocks base method
func (*MockCommonAPIClient) SwarmInit ¶
func (m *MockCommonAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
SwarmInit mocks base method
func (*MockCommonAPIClient) SwarmInspect ¶
SwarmInspect mocks base method
func (*MockCommonAPIClient) SwarmJoin ¶
func (m *MockCommonAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
SwarmJoin mocks base method
func (*MockCommonAPIClient) SwarmLeave ¶
func (m *MockCommonAPIClient) SwarmLeave(ctx context.Context, force bool) error
SwarmLeave mocks base method
func (*MockCommonAPIClient) SwarmUnlock ¶
func (m *MockCommonAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
SwarmUnlock mocks base method
func (*MockCommonAPIClient) SwarmUpdate ¶
func (m *MockCommonAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm swarm.Spec, flags swarm.UpdateFlags) error
SwarmUpdate mocks base method
func (*MockCommonAPIClient) TaskInspectWithRaw ¶
func (m *MockCommonAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
TaskInspectWithRaw mocks base method
func (*MockCommonAPIClient) TaskList ¶
func (m *MockCommonAPIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
TaskList mocks base method
func (*MockCommonAPIClient) TaskLogs ¶
func (m *MockCommonAPIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
TaskLogs mocks base method
func (*MockCommonAPIClient) VolumeCreate ¶
func (m *MockCommonAPIClient) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
VolumeCreate mocks base method
func (*MockCommonAPIClient) VolumeInspect ¶
func (m *MockCommonAPIClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)
VolumeInspect mocks base method
func (*MockCommonAPIClient) VolumeInspectWithRaw ¶
func (m *MockCommonAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
VolumeInspectWithRaw mocks base method
func (*MockCommonAPIClient) VolumeList ¶
func (m *MockCommonAPIClient) VolumeList(ctx context.Context, filter filters.Args) (volumetypes.VolumeListOKBody, error)
VolumeList mocks base method
func (*MockCommonAPIClient) VolumeRemove ¶
VolumeRemove mocks base method
func (*MockCommonAPIClient) VolumesPrune ¶
func (m *MockCommonAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
VolumesPrune mocks base method
type MockCommonAPIClientMockRecorder ¶
type MockCommonAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCommonAPIClientMockRecorder is the mock recorder for MockCommonAPIClient
func (*MockCommonAPIClientMockRecorder) BuildCachePrune ¶
func (mr *MockCommonAPIClientMockRecorder) BuildCachePrune(ctx, opts interface{}) *gomock.Call
BuildCachePrune indicates an expected call of BuildCachePrune
func (*MockCommonAPIClientMockRecorder) BuildCancel ¶
func (mr *MockCommonAPIClientMockRecorder) BuildCancel(ctx, id interface{}) *gomock.Call
BuildCancel indicates an expected call of BuildCancel
func (*MockCommonAPIClientMockRecorder) ClientVersion ¶
func (mr *MockCommonAPIClientMockRecorder) ClientVersion() *gomock.Call
ClientVersion indicates an expected call of ClientVersion
func (*MockCommonAPIClientMockRecorder) Close ¶
func (mr *MockCommonAPIClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockCommonAPIClientMockRecorder) ConfigCreate ¶
func (mr *MockCommonAPIClientMockRecorder) ConfigCreate(ctx, config interface{}) *gomock.Call
ConfigCreate indicates an expected call of ConfigCreate
func (*MockCommonAPIClientMockRecorder) ConfigInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) ConfigInspectWithRaw(ctx, name interface{}) *gomock.Call
ConfigInspectWithRaw indicates an expected call of ConfigInspectWithRaw
func (*MockCommonAPIClientMockRecorder) ConfigList ¶
func (mr *MockCommonAPIClientMockRecorder) ConfigList(ctx, options interface{}) *gomock.Call
ConfigList indicates an expected call of ConfigList
func (*MockCommonAPIClientMockRecorder) ConfigRemove ¶
func (mr *MockCommonAPIClientMockRecorder) ConfigRemove(ctx, id interface{}) *gomock.Call
ConfigRemove indicates an expected call of ConfigRemove
func (*MockCommonAPIClientMockRecorder) ConfigUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) ConfigUpdate(ctx, id, version, config interface{}) *gomock.Call
ConfigUpdate indicates an expected call of ConfigUpdate
func (*MockCommonAPIClientMockRecorder) ContainerAttach ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerAttach(ctx, container, options interface{}) *gomock.Call
ContainerAttach indicates an expected call of ContainerAttach
func (*MockCommonAPIClientMockRecorder) ContainerCommit ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerCommit(ctx, container, options interface{}) *gomock.Call
ContainerCommit indicates an expected call of ContainerCommit
func (*MockCommonAPIClientMockRecorder) ContainerCreate ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerCreate(ctx, config, hostConfig, networkingConfig, containerName interface{}) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate
func (*MockCommonAPIClientMockRecorder) ContainerDiff ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerDiff(ctx, container interface{}) *gomock.Call
ContainerDiff indicates an expected call of ContainerDiff
func (*MockCommonAPIClientMockRecorder) ContainerExecAttach ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExecAttach(ctx, execID, config interface{}) *gomock.Call
ContainerExecAttach indicates an expected call of ContainerExecAttach
func (*MockCommonAPIClientMockRecorder) ContainerExecCreate ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExecCreate(ctx, container, config interface{}) *gomock.Call
ContainerExecCreate indicates an expected call of ContainerExecCreate
func (*MockCommonAPIClientMockRecorder) ContainerExecInspect ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExecInspect(ctx, execID interface{}) *gomock.Call
ContainerExecInspect indicates an expected call of ContainerExecInspect
func (*MockCommonAPIClientMockRecorder) ContainerExecResize ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExecResize(ctx, execID, options interface{}) *gomock.Call
ContainerExecResize indicates an expected call of ContainerExecResize
func (*MockCommonAPIClientMockRecorder) ContainerExecStart ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExecStart(ctx, execID, config interface{}) *gomock.Call
ContainerExecStart indicates an expected call of ContainerExecStart
func (*MockCommonAPIClientMockRecorder) ContainerExport ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerExport(ctx, container interface{}) *gomock.Call
ContainerExport indicates an expected call of ContainerExport
func (*MockCommonAPIClientMockRecorder) ContainerInspect ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerInspect(ctx, container interface{}) *gomock.Call
ContainerInspect indicates an expected call of ContainerInspect
func (*MockCommonAPIClientMockRecorder) ContainerInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerInspectWithRaw(ctx, container, getSize interface{}) *gomock.Call
ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw
func (*MockCommonAPIClientMockRecorder) ContainerKill ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerKill(ctx, container, signal interface{}) *gomock.Call
ContainerKill indicates an expected call of ContainerKill
func (*MockCommonAPIClientMockRecorder) ContainerList ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerList(ctx, options interface{}) *gomock.Call
ContainerList indicates an expected call of ContainerList
func (*MockCommonAPIClientMockRecorder) ContainerLogs ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerLogs(ctx, container, options interface{}) *gomock.Call
ContainerLogs indicates an expected call of ContainerLogs
func (*MockCommonAPIClientMockRecorder) ContainerPause ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerPause(ctx, container interface{}) *gomock.Call
ContainerPause indicates an expected call of ContainerPause
func (*MockCommonAPIClientMockRecorder) ContainerRemove ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerRemove(ctx, container, options interface{}) *gomock.Call
ContainerRemove indicates an expected call of ContainerRemove
func (*MockCommonAPIClientMockRecorder) ContainerRename ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerRename(ctx, container, newContainerName interface{}) *gomock.Call
ContainerRename indicates an expected call of ContainerRename
func (*MockCommonAPIClientMockRecorder) ContainerResize ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerResize(ctx, container, options interface{}) *gomock.Call
ContainerResize indicates an expected call of ContainerResize
func (*MockCommonAPIClientMockRecorder) ContainerRestart ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerRestart(ctx, container, timeout interface{}) *gomock.Call
ContainerRestart indicates an expected call of ContainerRestart
func (*MockCommonAPIClientMockRecorder) ContainerStart ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerStart(ctx, container, options interface{}) *gomock.Call
ContainerStart indicates an expected call of ContainerStart
func (*MockCommonAPIClientMockRecorder) ContainerStatPath ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerStatPath(ctx, container, path interface{}) *gomock.Call
ContainerStatPath indicates an expected call of ContainerStatPath
func (*MockCommonAPIClientMockRecorder) ContainerStats ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerStats(ctx, container, stream interface{}) *gomock.Call
ContainerStats indicates an expected call of ContainerStats
func (*MockCommonAPIClientMockRecorder) ContainerStop ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerStop(ctx, container, timeout interface{}) *gomock.Call
ContainerStop indicates an expected call of ContainerStop
func (*MockCommonAPIClientMockRecorder) ContainerTop ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerTop(ctx, container, arguments interface{}) *gomock.Call
ContainerTop indicates an expected call of ContainerTop
func (*MockCommonAPIClientMockRecorder) ContainerUnpause ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerUnpause(ctx, container interface{}) *gomock.Call
ContainerUnpause indicates an expected call of ContainerUnpause
func (*MockCommonAPIClientMockRecorder) ContainerUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerUpdate(ctx, container, updateConfig interface{}) *gomock.Call
ContainerUpdate indicates an expected call of ContainerUpdate
func (*MockCommonAPIClientMockRecorder) ContainerWait ¶
func (mr *MockCommonAPIClientMockRecorder) ContainerWait(ctx, container, condition interface{}) *gomock.Call
ContainerWait indicates an expected call of ContainerWait
func (*MockCommonAPIClientMockRecorder) ContainersPrune ¶
func (mr *MockCommonAPIClientMockRecorder) ContainersPrune(ctx, pruneFilters interface{}) *gomock.Call
ContainersPrune indicates an expected call of ContainersPrune
func (*MockCommonAPIClientMockRecorder) CopyFromContainer ¶
func (mr *MockCommonAPIClientMockRecorder) CopyFromContainer(ctx, container, srcPath interface{}) *gomock.Call
CopyFromContainer indicates an expected call of CopyFromContainer
func (*MockCommonAPIClientMockRecorder) CopyToContainer ¶
func (mr *MockCommonAPIClientMockRecorder) CopyToContainer(ctx, container, path, content, options interface{}) *gomock.Call
CopyToContainer indicates an expected call of CopyToContainer
func (*MockCommonAPIClientMockRecorder) DaemonHost ¶
func (mr *MockCommonAPIClientMockRecorder) DaemonHost() *gomock.Call
DaemonHost indicates an expected call of DaemonHost
func (*MockCommonAPIClientMockRecorder) DialSession ¶
func (mr *MockCommonAPIClientMockRecorder) DialSession(ctx, proto, meta interface{}) *gomock.Call
DialSession indicates an expected call of DialSession
func (*MockCommonAPIClientMockRecorder) Dialer ¶
func (mr *MockCommonAPIClientMockRecorder) Dialer() *gomock.Call
Dialer indicates an expected call of Dialer
func (*MockCommonAPIClientMockRecorder) DiskUsage ¶
func (mr *MockCommonAPIClientMockRecorder) DiskUsage(ctx interface{}) *gomock.Call
DiskUsage indicates an expected call of DiskUsage
func (*MockCommonAPIClientMockRecorder) DistributionInspect ¶
func (mr *MockCommonAPIClientMockRecorder) DistributionInspect(ctx, image, encodedRegistryAuth interface{}) *gomock.Call
DistributionInspect indicates an expected call of DistributionInspect
func (*MockCommonAPIClientMockRecorder) Events ¶
func (mr *MockCommonAPIClientMockRecorder) Events(ctx, options interface{}) *gomock.Call
Events indicates an expected call of Events
func (*MockCommonAPIClientMockRecorder) HTTPClient ¶
func (mr *MockCommonAPIClientMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient
func (*MockCommonAPIClientMockRecorder) ImageBuild ¶
func (mr *MockCommonAPIClientMockRecorder) ImageBuild(ctx, context, options interface{}) *gomock.Call
ImageBuild indicates an expected call of ImageBuild
func (*MockCommonAPIClientMockRecorder) ImageCreate ¶
func (mr *MockCommonAPIClientMockRecorder) ImageCreate(ctx, parentReference, options interface{}) *gomock.Call
ImageCreate indicates an expected call of ImageCreate
func (*MockCommonAPIClientMockRecorder) ImageHistory ¶
func (mr *MockCommonAPIClientMockRecorder) ImageHistory(ctx, image interface{}) *gomock.Call
ImageHistory indicates an expected call of ImageHistory
func (*MockCommonAPIClientMockRecorder) ImageImport ¶
func (mr *MockCommonAPIClientMockRecorder) ImageImport(ctx, source, ref, options interface{}) *gomock.Call
ImageImport indicates an expected call of ImageImport
func (*MockCommonAPIClientMockRecorder) ImageInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) ImageInspectWithRaw(ctx, image interface{}) *gomock.Call
ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw
func (*MockCommonAPIClientMockRecorder) ImageList ¶
func (mr *MockCommonAPIClientMockRecorder) ImageList(ctx, options interface{}) *gomock.Call
ImageList indicates an expected call of ImageList
func (*MockCommonAPIClientMockRecorder) ImageLoad ¶
func (mr *MockCommonAPIClientMockRecorder) ImageLoad(ctx, input, quiet interface{}) *gomock.Call
ImageLoad indicates an expected call of ImageLoad
func (*MockCommonAPIClientMockRecorder) ImagePull ¶
func (mr *MockCommonAPIClientMockRecorder) ImagePull(ctx, ref, options interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull
func (*MockCommonAPIClientMockRecorder) ImagePush ¶
func (mr *MockCommonAPIClientMockRecorder) ImagePush(ctx, ref, options interface{}) *gomock.Call
ImagePush indicates an expected call of ImagePush
func (*MockCommonAPIClientMockRecorder) ImageRemove ¶
func (mr *MockCommonAPIClientMockRecorder) ImageRemove(ctx, image, options interface{}) *gomock.Call
ImageRemove indicates an expected call of ImageRemove
func (*MockCommonAPIClientMockRecorder) ImageSave ¶
func (mr *MockCommonAPIClientMockRecorder) ImageSave(ctx, images interface{}) *gomock.Call
ImageSave indicates an expected call of ImageSave
func (*MockCommonAPIClientMockRecorder) ImageSearch ¶
func (mr *MockCommonAPIClientMockRecorder) ImageSearch(ctx, term, options interface{}) *gomock.Call
ImageSearch indicates an expected call of ImageSearch
func (*MockCommonAPIClientMockRecorder) ImageTag ¶
func (mr *MockCommonAPIClientMockRecorder) ImageTag(ctx, image, ref interface{}) *gomock.Call
ImageTag indicates an expected call of ImageTag
func (*MockCommonAPIClientMockRecorder) ImagesPrune ¶
func (mr *MockCommonAPIClientMockRecorder) ImagesPrune(ctx, pruneFilter interface{}) *gomock.Call
ImagesPrune indicates an expected call of ImagesPrune
func (*MockCommonAPIClientMockRecorder) Info ¶
func (mr *MockCommonAPIClientMockRecorder) Info(ctx interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockCommonAPIClientMockRecorder) NegotiateAPIVersion ¶
func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersion(ctx interface{}) *gomock.Call
NegotiateAPIVersion indicates an expected call of NegotiateAPIVersion
func (*MockCommonAPIClientMockRecorder) NegotiateAPIVersionPing ¶
func (mr *MockCommonAPIClientMockRecorder) NegotiateAPIVersionPing(arg0 interface{}) *gomock.Call
NegotiateAPIVersionPing indicates an expected call of NegotiateAPIVersionPing
func (*MockCommonAPIClientMockRecorder) NetworkConnect ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkConnect(ctx, network, container, config interface{}) *gomock.Call
NetworkConnect indicates an expected call of NetworkConnect
func (*MockCommonAPIClientMockRecorder) NetworkCreate ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkCreate(ctx, name, options interface{}) *gomock.Call
NetworkCreate indicates an expected call of NetworkCreate
func (*MockCommonAPIClientMockRecorder) NetworkDisconnect ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkDisconnect(ctx, network, container, force interface{}) *gomock.Call
NetworkDisconnect indicates an expected call of NetworkDisconnect
func (*MockCommonAPIClientMockRecorder) NetworkInspect ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkInspect(ctx, network, options interface{}) *gomock.Call
NetworkInspect indicates an expected call of NetworkInspect
func (*MockCommonAPIClientMockRecorder) NetworkInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkInspectWithRaw(ctx, network, options interface{}) *gomock.Call
NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw
func (*MockCommonAPIClientMockRecorder) NetworkList ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkList(ctx, options interface{}) *gomock.Call
NetworkList indicates an expected call of NetworkList
func (*MockCommonAPIClientMockRecorder) NetworkRemove ¶
func (mr *MockCommonAPIClientMockRecorder) NetworkRemove(ctx, network interface{}) *gomock.Call
NetworkRemove indicates an expected call of NetworkRemove
func (*MockCommonAPIClientMockRecorder) NetworksPrune ¶
func (mr *MockCommonAPIClientMockRecorder) NetworksPrune(ctx, pruneFilter interface{}) *gomock.Call
NetworksPrune indicates an expected call of NetworksPrune
func (*MockCommonAPIClientMockRecorder) NodeInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) NodeInspectWithRaw(ctx, nodeID interface{}) *gomock.Call
NodeInspectWithRaw indicates an expected call of NodeInspectWithRaw
func (*MockCommonAPIClientMockRecorder) NodeList ¶
func (mr *MockCommonAPIClientMockRecorder) NodeList(ctx, options interface{}) *gomock.Call
NodeList indicates an expected call of NodeList
func (*MockCommonAPIClientMockRecorder) NodeRemove ¶
func (mr *MockCommonAPIClientMockRecorder) NodeRemove(ctx, nodeID, options interface{}) *gomock.Call
NodeRemove indicates an expected call of NodeRemove
func (*MockCommonAPIClientMockRecorder) NodeUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) NodeUpdate(ctx, nodeID, version, node interface{}) *gomock.Call
NodeUpdate indicates an expected call of NodeUpdate
func (*MockCommonAPIClientMockRecorder) Ping ¶
func (mr *MockCommonAPIClientMockRecorder) Ping(ctx interface{}) *gomock.Call
Ping indicates an expected call of Ping
func (*MockCommonAPIClientMockRecorder) PluginCreate ¶
func (mr *MockCommonAPIClientMockRecorder) PluginCreate(ctx, createContext, options interface{}) *gomock.Call
PluginCreate indicates an expected call of PluginCreate
func (*MockCommonAPIClientMockRecorder) PluginDisable ¶
func (mr *MockCommonAPIClientMockRecorder) PluginDisable(ctx, name, options interface{}) *gomock.Call
PluginDisable indicates an expected call of PluginDisable
func (*MockCommonAPIClientMockRecorder) PluginEnable ¶
func (mr *MockCommonAPIClientMockRecorder) PluginEnable(ctx, name, options interface{}) *gomock.Call
PluginEnable indicates an expected call of PluginEnable
func (*MockCommonAPIClientMockRecorder) PluginInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) PluginInspectWithRaw(ctx, name interface{}) *gomock.Call
PluginInspectWithRaw indicates an expected call of PluginInspectWithRaw
func (*MockCommonAPIClientMockRecorder) PluginInstall ¶
func (mr *MockCommonAPIClientMockRecorder) PluginInstall(ctx, name, options interface{}) *gomock.Call
PluginInstall indicates an expected call of PluginInstall
func (*MockCommonAPIClientMockRecorder) PluginList ¶
func (mr *MockCommonAPIClientMockRecorder) PluginList(ctx, filter interface{}) *gomock.Call
PluginList indicates an expected call of PluginList
func (*MockCommonAPIClientMockRecorder) PluginPush ¶
func (mr *MockCommonAPIClientMockRecorder) PluginPush(ctx, name, registryAuth interface{}) *gomock.Call
PluginPush indicates an expected call of PluginPush
func (*MockCommonAPIClientMockRecorder) PluginRemove ¶
func (mr *MockCommonAPIClientMockRecorder) PluginRemove(ctx, name, options interface{}) *gomock.Call
PluginRemove indicates an expected call of PluginRemove
func (*MockCommonAPIClientMockRecorder) PluginSet ¶
func (mr *MockCommonAPIClientMockRecorder) PluginSet(ctx, name, args interface{}) *gomock.Call
PluginSet indicates an expected call of PluginSet
func (*MockCommonAPIClientMockRecorder) PluginUpgrade ¶
func (mr *MockCommonAPIClientMockRecorder) PluginUpgrade(ctx, name, options interface{}) *gomock.Call
PluginUpgrade indicates an expected call of PluginUpgrade
func (*MockCommonAPIClientMockRecorder) RegistryLogin ¶
func (mr *MockCommonAPIClientMockRecorder) RegistryLogin(ctx, auth interface{}) *gomock.Call
RegistryLogin indicates an expected call of RegistryLogin
func (*MockCommonAPIClientMockRecorder) SecretCreate ¶
func (mr *MockCommonAPIClientMockRecorder) SecretCreate(ctx, secret interface{}) *gomock.Call
SecretCreate indicates an expected call of SecretCreate
func (*MockCommonAPIClientMockRecorder) SecretInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) SecretInspectWithRaw(ctx, name interface{}) *gomock.Call
SecretInspectWithRaw indicates an expected call of SecretInspectWithRaw
func (*MockCommonAPIClientMockRecorder) SecretList ¶
func (mr *MockCommonAPIClientMockRecorder) SecretList(ctx, options interface{}) *gomock.Call
SecretList indicates an expected call of SecretList
func (*MockCommonAPIClientMockRecorder) SecretRemove ¶
func (mr *MockCommonAPIClientMockRecorder) SecretRemove(ctx, id interface{}) *gomock.Call
SecretRemove indicates an expected call of SecretRemove
func (*MockCommonAPIClientMockRecorder) SecretUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) SecretUpdate(ctx, id, version, secret interface{}) *gomock.Call
SecretUpdate indicates an expected call of SecretUpdate
func (*MockCommonAPIClientMockRecorder) ServerVersion ¶
func (mr *MockCommonAPIClientMockRecorder) ServerVersion(ctx interface{}) *gomock.Call
ServerVersion indicates an expected call of ServerVersion
func (*MockCommonAPIClientMockRecorder) ServiceCreate ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceCreate(ctx, service, options interface{}) *gomock.Call
ServiceCreate indicates an expected call of ServiceCreate
func (*MockCommonAPIClientMockRecorder) ServiceInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceInspectWithRaw(ctx, serviceID, options interface{}) *gomock.Call
ServiceInspectWithRaw indicates an expected call of ServiceInspectWithRaw
func (*MockCommonAPIClientMockRecorder) ServiceList ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceList(ctx, options interface{}) *gomock.Call
ServiceList indicates an expected call of ServiceList
func (*MockCommonAPIClientMockRecorder) ServiceLogs ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceLogs(ctx, serviceID, options interface{}) *gomock.Call
ServiceLogs indicates an expected call of ServiceLogs
func (*MockCommonAPIClientMockRecorder) ServiceRemove ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceRemove(ctx, serviceID interface{}) *gomock.Call
ServiceRemove indicates an expected call of ServiceRemove
func (*MockCommonAPIClientMockRecorder) ServiceUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) ServiceUpdate(ctx, serviceID, version, service, options interface{}) *gomock.Call
ServiceUpdate indicates an expected call of ServiceUpdate
func (*MockCommonAPIClientMockRecorder) SwarmGetUnlockKey ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmGetUnlockKey(ctx interface{}) *gomock.Call
SwarmGetUnlockKey indicates an expected call of SwarmGetUnlockKey
func (*MockCommonAPIClientMockRecorder) SwarmInit ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmInit(ctx, req interface{}) *gomock.Call
SwarmInit indicates an expected call of SwarmInit
func (*MockCommonAPIClientMockRecorder) SwarmInspect ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmInspect(ctx interface{}) *gomock.Call
SwarmInspect indicates an expected call of SwarmInspect
func (*MockCommonAPIClientMockRecorder) SwarmJoin ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmJoin(ctx, req interface{}) *gomock.Call
SwarmJoin indicates an expected call of SwarmJoin
func (*MockCommonAPIClientMockRecorder) SwarmLeave ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmLeave(ctx, force interface{}) *gomock.Call
SwarmLeave indicates an expected call of SwarmLeave
func (*MockCommonAPIClientMockRecorder) SwarmUnlock ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmUnlock(ctx, req interface{}) *gomock.Call
SwarmUnlock indicates an expected call of SwarmUnlock
func (*MockCommonAPIClientMockRecorder) SwarmUpdate ¶
func (mr *MockCommonAPIClientMockRecorder) SwarmUpdate(ctx, version, swarm, flags interface{}) *gomock.Call
SwarmUpdate indicates an expected call of SwarmUpdate
func (*MockCommonAPIClientMockRecorder) TaskInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) TaskInspectWithRaw(ctx, taskID interface{}) *gomock.Call
TaskInspectWithRaw indicates an expected call of TaskInspectWithRaw
func (*MockCommonAPIClientMockRecorder) TaskList ¶
func (mr *MockCommonAPIClientMockRecorder) TaskList(ctx, options interface{}) *gomock.Call
TaskList indicates an expected call of TaskList
func (*MockCommonAPIClientMockRecorder) TaskLogs ¶
func (mr *MockCommonAPIClientMockRecorder) TaskLogs(ctx, taskID, options interface{}) *gomock.Call
TaskLogs indicates an expected call of TaskLogs
func (*MockCommonAPIClientMockRecorder) VolumeCreate ¶
func (mr *MockCommonAPIClientMockRecorder) VolumeCreate(ctx, options interface{}) *gomock.Call
VolumeCreate indicates an expected call of VolumeCreate
func (*MockCommonAPIClientMockRecorder) VolumeInspect ¶
func (mr *MockCommonAPIClientMockRecorder) VolumeInspect(ctx, volumeID interface{}) *gomock.Call
VolumeInspect indicates an expected call of VolumeInspect
func (*MockCommonAPIClientMockRecorder) VolumeInspectWithRaw ¶
func (mr *MockCommonAPIClientMockRecorder) VolumeInspectWithRaw(ctx, volumeID interface{}) *gomock.Call
VolumeInspectWithRaw indicates an expected call of VolumeInspectWithRaw
func (*MockCommonAPIClientMockRecorder) VolumeList ¶
func (mr *MockCommonAPIClientMockRecorder) VolumeList(ctx, filter interface{}) *gomock.Call
VolumeList indicates an expected call of VolumeList
func (*MockCommonAPIClientMockRecorder) VolumeRemove ¶
func (mr *MockCommonAPIClientMockRecorder) VolumeRemove(ctx, volumeID, force interface{}) *gomock.Call
VolumeRemove indicates an expected call of VolumeRemove
func (*MockCommonAPIClientMockRecorder) VolumesPrune ¶
func (mr *MockCommonAPIClientMockRecorder) VolumesPrune(ctx, pruneFilter interface{}) *gomock.Call
VolumesPrune indicates an expected call of VolumesPrune
type MockConfigAPIClient ¶
type MockConfigAPIClient struct {
// contains filtered or unexported fields
}
MockConfigAPIClient is a mock of ConfigAPIClient interface
func NewMockConfigAPIClient ¶
func NewMockConfigAPIClient(ctrl *gomock.Controller) *MockConfigAPIClient
NewMockConfigAPIClient creates a new mock instance
func (*MockConfigAPIClient) ConfigCreate ¶
func (m *MockConfigAPIClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (types.ConfigCreateResponse, error)
ConfigCreate mocks base method
func (*MockConfigAPIClient) ConfigInspectWithRaw ¶
func (m *MockConfigAPIClient) ConfigInspectWithRaw(ctx context.Context, name string) (swarm.Config, []byte, error)
ConfigInspectWithRaw mocks base method
func (*MockConfigAPIClient) ConfigList ¶
func (m *MockConfigAPIClient) ConfigList(ctx context.Context, options types.ConfigListOptions) ([]swarm.Config, error)
ConfigList mocks base method
func (*MockConfigAPIClient) ConfigRemove ¶
func (m *MockConfigAPIClient) ConfigRemove(ctx context.Context, id string) error
ConfigRemove mocks base method
func (*MockConfigAPIClient) ConfigUpdate ¶
func (m *MockConfigAPIClient) ConfigUpdate(ctx context.Context, id string, version swarm.Version, config swarm.ConfigSpec) error
ConfigUpdate mocks base method
func (*MockConfigAPIClient) EXPECT ¶
func (m *MockConfigAPIClient) EXPECT() *MockConfigAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockConfigAPIClientMockRecorder ¶
type MockConfigAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigAPIClientMockRecorder is the mock recorder for MockConfigAPIClient
func (*MockConfigAPIClientMockRecorder) ConfigCreate ¶
func (mr *MockConfigAPIClientMockRecorder) ConfigCreate(ctx, config interface{}) *gomock.Call
ConfigCreate indicates an expected call of ConfigCreate
func (*MockConfigAPIClientMockRecorder) ConfigInspectWithRaw ¶
func (mr *MockConfigAPIClientMockRecorder) ConfigInspectWithRaw(ctx, name interface{}) *gomock.Call
ConfigInspectWithRaw indicates an expected call of ConfigInspectWithRaw
func (*MockConfigAPIClientMockRecorder) ConfigList ¶
func (mr *MockConfigAPIClientMockRecorder) ConfigList(ctx, options interface{}) *gomock.Call
ConfigList indicates an expected call of ConfigList
func (*MockConfigAPIClientMockRecorder) ConfigRemove ¶
func (mr *MockConfigAPIClientMockRecorder) ConfigRemove(ctx, id interface{}) *gomock.Call
ConfigRemove indicates an expected call of ConfigRemove
func (*MockConfigAPIClientMockRecorder) ConfigUpdate ¶
func (mr *MockConfigAPIClientMockRecorder) ConfigUpdate(ctx, id, version, config interface{}) *gomock.Call
ConfigUpdate indicates an expected call of ConfigUpdate
type MockContainerAPIClient ¶
type MockContainerAPIClient struct {
// contains filtered or unexported fields
}
MockContainerAPIClient is a mock of ContainerAPIClient interface
func NewMockContainerAPIClient ¶
func NewMockContainerAPIClient(ctrl *gomock.Controller) *MockContainerAPIClient
NewMockContainerAPIClient creates a new mock instance
func (*MockContainerAPIClient) ContainerAttach ¶
func (m *MockContainerAPIClient) ContainerAttach(ctx context.Context, container string, options types.ContainerAttachOptions) (types.HijackedResponse, error)
ContainerAttach mocks base method
func (*MockContainerAPIClient) ContainerCommit ¶
func (m *MockContainerAPIClient) ContainerCommit(ctx context.Context, container string, options types.ContainerCommitOptions) (types.IDResponse, error)
ContainerCommit mocks base method
func (*MockContainerAPIClient) ContainerCreate ¶
func (m *MockContainerAPIClient) ContainerCreate(ctx context.Context, config *containertypes.Config, hostConfig *containertypes.HostConfig, networkingConfig *networktypes.NetworkingConfig, containerName string) (containertypes.ContainerCreateCreatedBody, error)
ContainerCreate mocks base method
func (*MockContainerAPIClient) ContainerDiff ¶
func (m *MockContainerAPIClient) ContainerDiff(ctx context.Context, container string) ([]containertypes.ContainerChangeResponseItem, error)
ContainerDiff mocks base method
func (*MockContainerAPIClient) ContainerExecAttach ¶
func (m *MockContainerAPIClient) ContainerExecAttach(ctx context.Context, execID string, config types.ExecStartCheck) (types.HijackedResponse, error)
ContainerExecAttach mocks base method
func (*MockContainerAPIClient) ContainerExecCreate ¶
func (m *MockContainerAPIClient) ContainerExecCreate(ctx context.Context, container string, config types.ExecConfig) (types.IDResponse, error)
ContainerExecCreate mocks base method
func (*MockContainerAPIClient) ContainerExecInspect ¶
func (m *MockContainerAPIClient) ContainerExecInspect(ctx context.Context, execID string) (types.ContainerExecInspect, error)
ContainerExecInspect mocks base method
func (*MockContainerAPIClient) ContainerExecResize ¶
func (m *MockContainerAPIClient) ContainerExecResize(ctx context.Context, execID string, options types.ResizeOptions) error
ContainerExecResize mocks base method
func (*MockContainerAPIClient) ContainerExecStart ¶
func (m *MockContainerAPIClient) ContainerExecStart(ctx context.Context, execID string, config types.ExecStartCheck) error
ContainerExecStart mocks base method
func (*MockContainerAPIClient) ContainerExport ¶
func (m *MockContainerAPIClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error)
ContainerExport mocks base method
func (*MockContainerAPIClient) ContainerInspect ¶
func (m *MockContainerAPIClient) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error)
ContainerInspect mocks base method
func (*MockContainerAPIClient) ContainerInspectWithRaw ¶
func (m *MockContainerAPIClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (types.ContainerJSON, []byte, error)
ContainerInspectWithRaw mocks base method
func (*MockContainerAPIClient) ContainerKill ¶
func (m *MockContainerAPIClient) ContainerKill(ctx context.Context, container, signal string) error
ContainerKill mocks base method
func (*MockContainerAPIClient) ContainerList ¶
func (m *MockContainerAPIClient) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error)
ContainerList mocks base method
func (*MockContainerAPIClient) ContainerLogs ¶
func (m *MockContainerAPIClient) ContainerLogs(ctx context.Context, container string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ContainerLogs mocks base method
func (*MockContainerAPIClient) ContainerPause ¶
func (m *MockContainerAPIClient) ContainerPause(ctx context.Context, container string) error
ContainerPause mocks base method
func (*MockContainerAPIClient) ContainerRemove ¶
func (m *MockContainerAPIClient) ContainerRemove(ctx context.Context, container string, options types.ContainerRemoveOptions) error
ContainerRemove mocks base method
func (*MockContainerAPIClient) ContainerRename ¶
func (m *MockContainerAPIClient) ContainerRename(ctx context.Context, container, newContainerName string) error
ContainerRename mocks base method
func (*MockContainerAPIClient) ContainerResize ¶
func (m *MockContainerAPIClient) ContainerResize(ctx context.Context, container string, options types.ResizeOptions) error
ContainerResize mocks base method
func (*MockContainerAPIClient) ContainerRestart ¶
func (m *MockContainerAPIClient) ContainerRestart(ctx context.Context, container string, timeout *time.Duration) error
ContainerRestart mocks base method
func (*MockContainerAPIClient) ContainerStart ¶
func (m *MockContainerAPIClient) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error
ContainerStart mocks base method
func (*MockContainerAPIClient) ContainerStatPath ¶
func (m *MockContainerAPIClient) ContainerStatPath(ctx context.Context, container, path string) (types.ContainerPathStat, error)
ContainerStatPath mocks base method
func (*MockContainerAPIClient) ContainerStats ¶
func (m *MockContainerAPIClient) ContainerStats(ctx context.Context, container string, stream bool) (types.ContainerStats, error)
ContainerStats mocks base method
func (*MockContainerAPIClient) ContainerStop ¶
func (m *MockContainerAPIClient) ContainerStop(ctx context.Context, container string, timeout *time.Duration) error
ContainerStop mocks base method
func (*MockContainerAPIClient) ContainerTop ¶
func (m *MockContainerAPIClient) ContainerTop(ctx context.Context, container string, arguments []string) (containertypes.ContainerTopOKBody, error)
ContainerTop mocks base method
func (*MockContainerAPIClient) ContainerUnpause ¶
func (m *MockContainerAPIClient) ContainerUnpause(ctx context.Context, container string) error
ContainerUnpause mocks base method
func (*MockContainerAPIClient) ContainerUpdate ¶
func (m *MockContainerAPIClient) ContainerUpdate(ctx context.Context, container string, updateConfig containertypes.UpdateConfig) (containertypes.ContainerUpdateOKBody, error)
ContainerUpdate mocks base method
func (*MockContainerAPIClient) ContainerWait ¶
func (m *MockContainerAPIClient) ContainerWait(ctx context.Context, container string, condition containertypes.WaitCondition) (<-chan containertypes.ContainerWaitOKBody, <-chan error)
ContainerWait mocks base method
func (*MockContainerAPIClient) ContainersPrune ¶
func (m *MockContainerAPIClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (types.ContainersPruneReport, error)
ContainersPrune mocks base method
func (*MockContainerAPIClient) CopyFromContainer ¶
func (m *MockContainerAPIClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, types.ContainerPathStat, error)
CopyFromContainer mocks base method
func (*MockContainerAPIClient) CopyToContainer ¶
func (m *MockContainerAPIClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, options types.CopyToContainerOptions) error
CopyToContainer mocks base method
func (*MockContainerAPIClient) EXPECT ¶
func (m *MockContainerAPIClient) EXPECT() *MockContainerAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockContainerAPIClientMockRecorder ¶
type MockContainerAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerAPIClientMockRecorder is the mock recorder for MockContainerAPIClient
func (*MockContainerAPIClientMockRecorder) ContainerAttach ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerAttach(ctx, container, options interface{}) *gomock.Call
ContainerAttach indicates an expected call of ContainerAttach
func (*MockContainerAPIClientMockRecorder) ContainerCommit ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerCommit(ctx, container, options interface{}) *gomock.Call
ContainerCommit indicates an expected call of ContainerCommit
func (*MockContainerAPIClientMockRecorder) ContainerCreate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerCreate(ctx, config, hostConfig, networkingConfig, containerName interface{}) *gomock.Call
ContainerCreate indicates an expected call of ContainerCreate
func (*MockContainerAPIClientMockRecorder) ContainerDiff ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerDiff(ctx, container interface{}) *gomock.Call
ContainerDiff indicates an expected call of ContainerDiff
func (*MockContainerAPIClientMockRecorder) ContainerExecAttach ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecAttach(ctx, execID, config interface{}) *gomock.Call
ContainerExecAttach indicates an expected call of ContainerExecAttach
func (*MockContainerAPIClientMockRecorder) ContainerExecCreate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecCreate(ctx, container, config interface{}) *gomock.Call
ContainerExecCreate indicates an expected call of ContainerExecCreate
func (*MockContainerAPIClientMockRecorder) ContainerExecInspect ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecInspect(ctx, execID interface{}) *gomock.Call
ContainerExecInspect indicates an expected call of ContainerExecInspect
func (*MockContainerAPIClientMockRecorder) ContainerExecResize ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecResize(ctx, execID, options interface{}) *gomock.Call
ContainerExecResize indicates an expected call of ContainerExecResize
func (*MockContainerAPIClientMockRecorder) ContainerExecStart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExecStart(ctx, execID, config interface{}) *gomock.Call
ContainerExecStart indicates an expected call of ContainerExecStart
func (*MockContainerAPIClientMockRecorder) ContainerExport ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerExport(ctx, container interface{}) *gomock.Call
ContainerExport indicates an expected call of ContainerExport
func (*MockContainerAPIClientMockRecorder) ContainerInspect ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerInspect(ctx, container interface{}) *gomock.Call
ContainerInspect indicates an expected call of ContainerInspect
func (*MockContainerAPIClientMockRecorder) ContainerInspectWithRaw ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerInspectWithRaw(ctx, container, getSize interface{}) *gomock.Call
ContainerInspectWithRaw indicates an expected call of ContainerInspectWithRaw
func (*MockContainerAPIClientMockRecorder) ContainerKill ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerKill(ctx, container, signal interface{}) *gomock.Call
ContainerKill indicates an expected call of ContainerKill
func (*MockContainerAPIClientMockRecorder) ContainerList ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerList(ctx, options interface{}) *gomock.Call
ContainerList indicates an expected call of ContainerList
func (*MockContainerAPIClientMockRecorder) ContainerLogs ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerLogs(ctx, container, options interface{}) *gomock.Call
ContainerLogs indicates an expected call of ContainerLogs
func (*MockContainerAPIClientMockRecorder) ContainerPause ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerPause(ctx, container interface{}) *gomock.Call
ContainerPause indicates an expected call of ContainerPause
func (*MockContainerAPIClientMockRecorder) ContainerRemove ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRemove(ctx, container, options interface{}) *gomock.Call
ContainerRemove indicates an expected call of ContainerRemove
func (*MockContainerAPIClientMockRecorder) ContainerRename ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRename(ctx, container, newContainerName interface{}) *gomock.Call
ContainerRename indicates an expected call of ContainerRename
func (*MockContainerAPIClientMockRecorder) ContainerResize ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerResize(ctx, container, options interface{}) *gomock.Call
ContainerResize indicates an expected call of ContainerResize
func (*MockContainerAPIClientMockRecorder) ContainerRestart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerRestart(ctx, container, timeout interface{}) *gomock.Call
ContainerRestart indicates an expected call of ContainerRestart
func (*MockContainerAPIClientMockRecorder) ContainerStart ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStart(ctx, container, options interface{}) *gomock.Call
ContainerStart indicates an expected call of ContainerStart
func (*MockContainerAPIClientMockRecorder) ContainerStatPath ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStatPath(ctx, container, path interface{}) *gomock.Call
ContainerStatPath indicates an expected call of ContainerStatPath
func (*MockContainerAPIClientMockRecorder) ContainerStats ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStats(ctx, container, stream interface{}) *gomock.Call
ContainerStats indicates an expected call of ContainerStats
func (*MockContainerAPIClientMockRecorder) ContainerStop ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerStop(ctx, container, timeout interface{}) *gomock.Call
ContainerStop indicates an expected call of ContainerStop
func (*MockContainerAPIClientMockRecorder) ContainerTop ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerTop(ctx, container, arguments interface{}) *gomock.Call
ContainerTop indicates an expected call of ContainerTop
func (*MockContainerAPIClientMockRecorder) ContainerUnpause ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerUnpause(ctx, container interface{}) *gomock.Call
ContainerUnpause indicates an expected call of ContainerUnpause
func (*MockContainerAPIClientMockRecorder) ContainerUpdate ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerUpdate(ctx, container, updateConfig interface{}) *gomock.Call
ContainerUpdate indicates an expected call of ContainerUpdate
func (*MockContainerAPIClientMockRecorder) ContainerWait ¶
func (mr *MockContainerAPIClientMockRecorder) ContainerWait(ctx, container, condition interface{}) *gomock.Call
ContainerWait indicates an expected call of ContainerWait
func (*MockContainerAPIClientMockRecorder) ContainersPrune ¶
func (mr *MockContainerAPIClientMockRecorder) ContainersPrune(ctx, pruneFilters interface{}) *gomock.Call
ContainersPrune indicates an expected call of ContainersPrune
func (*MockContainerAPIClientMockRecorder) CopyFromContainer ¶
func (mr *MockContainerAPIClientMockRecorder) CopyFromContainer(ctx, container, srcPath interface{}) *gomock.Call
CopyFromContainer indicates an expected call of CopyFromContainer
func (*MockContainerAPIClientMockRecorder) CopyToContainer ¶
func (mr *MockContainerAPIClientMockRecorder) CopyToContainer(ctx, container, path, content, options interface{}) *gomock.Call
CopyToContainer indicates an expected call of CopyToContainer
type MockDistributionAPIClient ¶
type MockDistributionAPIClient struct {
// contains filtered or unexported fields
}
MockDistributionAPIClient is a mock of DistributionAPIClient interface
func NewMockDistributionAPIClient ¶
func NewMockDistributionAPIClient(ctrl *gomock.Controller) *MockDistributionAPIClient
NewMockDistributionAPIClient creates a new mock instance
func (*MockDistributionAPIClient) DistributionInspect ¶
func (m *MockDistributionAPIClient) DistributionInspect(ctx context.Context, image, encodedRegistryAuth string) (registry.DistributionInspect, error)
DistributionInspect mocks base method
func (*MockDistributionAPIClient) EXPECT ¶
func (m *MockDistributionAPIClient) EXPECT() *MockDistributionAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDistributionAPIClientMockRecorder ¶
type MockDistributionAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDistributionAPIClientMockRecorder is the mock recorder for MockDistributionAPIClient
func (*MockDistributionAPIClientMockRecorder) DistributionInspect ¶
func (mr *MockDistributionAPIClientMockRecorder) DistributionInspect(ctx, image, encodedRegistryAuth interface{}) *gomock.Call
DistributionInspect indicates an expected call of DistributionInspect
type MockImageAPIClient ¶
type MockImageAPIClient struct {
// contains filtered or unexported fields
}
MockImageAPIClient is a mock of ImageAPIClient interface
func NewMockImageAPIClient ¶
func NewMockImageAPIClient(ctrl *gomock.Controller) *MockImageAPIClient
NewMockImageAPIClient creates a new mock instance
func (*MockImageAPIClient) BuildCachePrune ¶
func (m *MockImageAPIClient) BuildCachePrune(ctx context.Context, opts types.BuildCachePruneOptions) (*types.BuildCachePruneReport, error)
BuildCachePrune mocks base method
func (*MockImageAPIClient) BuildCancel ¶
func (m *MockImageAPIClient) BuildCancel(ctx context.Context, id string) error
BuildCancel mocks base method
func (*MockImageAPIClient) EXPECT ¶
func (m *MockImageAPIClient) EXPECT() *MockImageAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImageAPIClient) ImageBuild ¶
func (m *MockImageAPIClient) ImageBuild(ctx context.Context, context io.Reader, options types.ImageBuildOptions) (types.ImageBuildResponse, error)
ImageBuild mocks base method
func (*MockImageAPIClient) ImageCreate ¶
func (m *MockImageAPIClient) ImageCreate(ctx context.Context, parentReference string, options types.ImageCreateOptions) (io.ReadCloser, error)
ImageCreate mocks base method
func (*MockImageAPIClient) ImageHistory ¶
func (m *MockImageAPIClient) ImageHistory(ctx context.Context, image string) ([]imagetypes.HistoryResponseItem, error)
ImageHistory mocks base method
func (*MockImageAPIClient) ImageImport ¶
func (m *MockImageAPIClient) ImageImport(ctx context.Context, source types.ImageImportSource, ref string, options types.ImageImportOptions) (io.ReadCloser, error)
ImageImport mocks base method
func (*MockImageAPIClient) ImageInspectWithRaw ¶
func (m *MockImageAPIClient) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error)
ImageInspectWithRaw mocks base method
func (*MockImageAPIClient) ImageList ¶
func (m *MockImageAPIClient) ImageList(ctx context.Context, options types.ImageListOptions) ([]types.ImageSummary, error)
ImageList mocks base method
func (*MockImageAPIClient) ImageLoad ¶
func (m *MockImageAPIClient) ImageLoad(ctx context.Context, input io.Reader, quiet bool) (types.ImageLoadResponse, error)
ImageLoad mocks base method
func (*MockImageAPIClient) ImagePull ¶
func (m *MockImageAPIClient) ImagePull(ctx context.Context, ref string, options types.ImagePullOptions) (io.ReadCloser, error)
ImagePull mocks base method
func (*MockImageAPIClient) ImagePush ¶
func (m *MockImageAPIClient) ImagePush(ctx context.Context, ref string, options types.ImagePushOptions) (io.ReadCloser, error)
ImagePush mocks base method
func (*MockImageAPIClient) ImageRemove ¶
func (m *MockImageAPIClient) ImageRemove(ctx context.Context, image string, options types.ImageRemoveOptions) ([]types.ImageDeleteResponseItem, error)
ImageRemove mocks base method
func (*MockImageAPIClient) ImageSave ¶
func (m *MockImageAPIClient) ImageSave(ctx context.Context, images []string) (io.ReadCloser, error)
ImageSave mocks base method
func (*MockImageAPIClient) ImageSearch ¶
func (m *MockImageAPIClient) ImageSearch(ctx context.Context, term string, options types.ImageSearchOptions) ([]registry.SearchResult, error)
ImageSearch mocks base method
func (*MockImageAPIClient) ImageTag ¶
func (m *MockImageAPIClient) ImageTag(ctx context.Context, image, ref string) error
ImageTag mocks base method
func (*MockImageAPIClient) ImagesPrune ¶
func (m *MockImageAPIClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (types.ImagesPruneReport, error)
ImagesPrune mocks base method
type MockImageAPIClientMockRecorder ¶
type MockImageAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockImageAPIClientMockRecorder is the mock recorder for MockImageAPIClient
func (*MockImageAPIClientMockRecorder) BuildCachePrune ¶
func (mr *MockImageAPIClientMockRecorder) BuildCachePrune(ctx, opts interface{}) *gomock.Call
BuildCachePrune indicates an expected call of BuildCachePrune
func (*MockImageAPIClientMockRecorder) BuildCancel ¶
func (mr *MockImageAPIClientMockRecorder) BuildCancel(ctx, id interface{}) *gomock.Call
BuildCancel indicates an expected call of BuildCancel
func (*MockImageAPIClientMockRecorder) ImageBuild ¶
func (mr *MockImageAPIClientMockRecorder) ImageBuild(ctx, context, options interface{}) *gomock.Call
ImageBuild indicates an expected call of ImageBuild
func (*MockImageAPIClientMockRecorder) ImageCreate ¶
func (mr *MockImageAPIClientMockRecorder) ImageCreate(ctx, parentReference, options interface{}) *gomock.Call
ImageCreate indicates an expected call of ImageCreate
func (*MockImageAPIClientMockRecorder) ImageHistory ¶
func (mr *MockImageAPIClientMockRecorder) ImageHistory(ctx, image interface{}) *gomock.Call
ImageHistory indicates an expected call of ImageHistory
func (*MockImageAPIClientMockRecorder) ImageImport ¶
func (mr *MockImageAPIClientMockRecorder) ImageImport(ctx, source, ref, options interface{}) *gomock.Call
ImageImport indicates an expected call of ImageImport
func (*MockImageAPIClientMockRecorder) ImageInspectWithRaw ¶
func (mr *MockImageAPIClientMockRecorder) ImageInspectWithRaw(ctx, image interface{}) *gomock.Call
ImageInspectWithRaw indicates an expected call of ImageInspectWithRaw
func (*MockImageAPIClientMockRecorder) ImageList ¶
func (mr *MockImageAPIClientMockRecorder) ImageList(ctx, options interface{}) *gomock.Call
ImageList indicates an expected call of ImageList
func (*MockImageAPIClientMockRecorder) ImageLoad ¶
func (mr *MockImageAPIClientMockRecorder) ImageLoad(ctx, input, quiet interface{}) *gomock.Call
ImageLoad indicates an expected call of ImageLoad
func (*MockImageAPIClientMockRecorder) ImagePull ¶
func (mr *MockImageAPIClientMockRecorder) ImagePull(ctx, ref, options interface{}) *gomock.Call
ImagePull indicates an expected call of ImagePull
func (*MockImageAPIClientMockRecorder) ImagePush ¶
func (mr *MockImageAPIClientMockRecorder) ImagePush(ctx, ref, options interface{}) *gomock.Call
ImagePush indicates an expected call of ImagePush
func (*MockImageAPIClientMockRecorder) ImageRemove ¶
func (mr *MockImageAPIClientMockRecorder) ImageRemove(ctx, image, options interface{}) *gomock.Call
ImageRemove indicates an expected call of ImageRemove
func (*MockImageAPIClientMockRecorder) ImageSave ¶
func (mr *MockImageAPIClientMockRecorder) ImageSave(ctx, images interface{}) *gomock.Call
ImageSave indicates an expected call of ImageSave
func (*MockImageAPIClientMockRecorder) ImageSearch ¶
func (mr *MockImageAPIClientMockRecorder) ImageSearch(ctx, term, options interface{}) *gomock.Call
ImageSearch indicates an expected call of ImageSearch
func (*MockImageAPIClientMockRecorder) ImageTag ¶
func (mr *MockImageAPIClientMockRecorder) ImageTag(ctx, image, ref interface{}) *gomock.Call
ImageTag indicates an expected call of ImageTag
func (*MockImageAPIClientMockRecorder) ImagesPrune ¶
func (mr *MockImageAPIClientMockRecorder) ImagesPrune(ctx, pruneFilter interface{}) *gomock.Call
ImagesPrune indicates an expected call of ImagesPrune
type MockNetworkAPIClient ¶
type MockNetworkAPIClient struct {
// contains filtered or unexported fields
}
MockNetworkAPIClient is a mock of NetworkAPIClient interface
func NewMockNetworkAPIClient ¶
func NewMockNetworkAPIClient(ctrl *gomock.Controller) *MockNetworkAPIClient
NewMockNetworkAPIClient creates a new mock instance
func (*MockNetworkAPIClient) EXPECT ¶
func (m *MockNetworkAPIClient) EXPECT() *MockNetworkAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNetworkAPIClient) NetworkConnect ¶
func (m *MockNetworkAPIClient) NetworkConnect(ctx context.Context, network, container string, config *networktypes.EndpointSettings) error
NetworkConnect mocks base method
func (*MockNetworkAPIClient) NetworkCreate ¶
func (m *MockNetworkAPIClient) NetworkCreate(ctx context.Context, name string, options types.NetworkCreate) (types.NetworkCreateResponse, error)
NetworkCreate mocks base method
func (*MockNetworkAPIClient) NetworkDisconnect ¶
func (m *MockNetworkAPIClient) NetworkDisconnect(ctx context.Context, network, container string, force bool) error
NetworkDisconnect mocks base method
func (*MockNetworkAPIClient) NetworkInspect ¶
func (m *MockNetworkAPIClient) NetworkInspect(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, error)
NetworkInspect mocks base method
func (*MockNetworkAPIClient) NetworkInspectWithRaw ¶
func (m *MockNetworkAPIClient) NetworkInspectWithRaw(ctx context.Context, network string, options types.NetworkInspectOptions) (types.NetworkResource, []byte, error)
NetworkInspectWithRaw mocks base method
func (*MockNetworkAPIClient) NetworkList ¶
func (m *MockNetworkAPIClient) NetworkList(ctx context.Context, options types.NetworkListOptions) ([]types.NetworkResource, error)
NetworkList mocks base method
func (*MockNetworkAPIClient) NetworkRemove ¶
func (m *MockNetworkAPIClient) NetworkRemove(ctx context.Context, network string) error
NetworkRemove mocks base method
func (*MockNetworkAPIClient) NetworksPrune ¶
func (m *MockNetworkAPIClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (types.NetworksPruneReport, error)
NetworksPrune mocks base method
type MockNetworkAPIClientMockRecorder ¶
type MockNetworkAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkAPIClientMockRecorder is the mock recorder for MockNetworkAPIClient
func (*MockNetworkAPIClientMockRecorder) NetworkConnect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkConnect(ctx, network, container, config interface{}) *gomock.Call
NetworkConnect indicates an expected call of NetworkConnect
func (*MockNetworkAPIClientMockRecorder) NetworkCreate ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkCreate(ctx, name, options interface{}) *gomock.Call
NetworkCreate indicates an expected call of NetworkCreate
func (*MockNetworkAPIClientMockRecorder) NetworkDisconnect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkDisconnect(ctx, network, container, force interface{}) *gomock.Call
NetworkDisconnect indicates an expected call of NetworkDisconnect
func (*MockNetworkAPIClientMockRecorder) NetworkInspect ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkInspect(ctx, network, options interface{}) *gomock.Call
NetworkInspect indicates an expected call of NetworkInspect
func (*MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkInspectWithRaw(ctx, network, options interface{}) *gomock.Call
NetworkInspectWithRaw indicates an expected call of NetworkInspectWithRaw
func (*MockNetworkAPIClientMockRecorder) NetworkList ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkList(ctx, options interface{}) *gomock.Call
NetworkList indicates an expected call of NetworkList
func (*MockNetworkAPIClientMockRecorder) NetworkRemove ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworkRemove(ctx, network interface{}) *gomock.Call
NetworkRemove indicates an expected call of NetworkRemove
func (*MockNetworkAPIClientMockRecorder) NetworksPrune ¶
func (mr *MockNetworkAPIClientMockRecorder) NetworksPrune(ctx, pruneFilter interface{}) *gomock.Call
NetworksPrune indicates an expected call of NetworksPrune
type MockNodeAPIClient ¶
type MockNodeAPIClient struct {
// contains filtered or unexported fields
}
MockNodeAPIClient is a mock of NodeAPIClient interface
func NewMockNodeAPIClient ¶
func NewMockNodeAPIClient(ctrl *gomock.Controller) *MockNodeAPIClient
NewMockNodeAPIClient creates a new mock instance
func (*MockNodeAPIClient) EXPECT ¶
func (m *MockNodeAPIClient) EXPECT() *MockNodeAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNodeAPIClient) NodeInspectWithRaw ¶
func (m *MockNodeAPIClient) NodeInspectWithRaw(ctx context.Context, nodeID string) (swarm.Node, []byte, error)
NodeInspectWithRaw mocks base method
func (*MockNodeAPIClient) NodeList ¶
func (m *MockNodeAPIClient) NodeList(ctx context.Context, options types.NodeListOptions) ([]swarm.Node, error)
NodeList mocks base method
func (*MockNodeAPIClient) NodeRemove ¶
func (m *MockNodeAPIClient) NodeRemove(ctx context.Context, nodeID string, options types.NodeRemoveOptions) error
NodeRemove mocks base method
type MockNodeAPIClientMockRecorder ¶
type MockNodeAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeAPIClientMockRecorder is the mock recorder for MockNodeAPIClient
func (*MockNodeAPIClientMockRecorder) NodeInspectWithRaw ¶
func (mr *MockNodeAPIClientMockRecorder) NodeInspectWithRaw(ctx, nodeID interface{}) *gomock.Call
NodeInspectWithRaw indicates an expected call of NodeInspectWithRaw
func (*MockNodeAPIClientMockRecorder) NodeList ¶
func (mr *MockNodeAPIClientMockRecorder) NodeList(ctx, options interface{}) *gomock.Call
NodeList indicates an expected call of NodeList
func (*MockNodeAPIClientMockRecorder) NodeRemove ¶
func (mr *MockNodeAPIClientMockRecorder) NodeRemove(ctx, nodeID, options interface{}) *gomock.Call
NodeRemove indicates an expected call of NodeRemove
func (*MockNodeAPIClientMockRecorder) NodeUpdate ¶
func (mr *MockNodeAPIClientMockRecorder) NodeUpdate(ctx, nodeID, version, node interface{}) *gomock.Call
NodeUpdate indicates an expected call of NodeUpdate
type MockOrchestrator ¶
type MockOrchestrator struct {
// contains filtered or unexported fields
}
MockOrchestrator is a mock of Orchestrator interface
func NewMockOrchestrator ¶
func NewMockOrchestrator(ctrl *gomock.Controller) *MockOrchestrator
NewMockOrchestrator creates a new mock instance
func (*MockOrchestrator) AttachOrphanAgent ¶
func (m *MockOrchestrator) AttachOrphanAgent(containerID, namespace string) (bool, string, error)
AttachOrphanAgent mocks base method
func (*MockOrchestrator) ContainerExec ¶
func (m *MockOrchestrator) ContainerExec(mountedVolumes *volume.MountedVolume, command []string) (string, error)
ContainerExec mocks base method
func (*MockOrchestrator) DeployAgent ¶
func (m *MockOrchestrator) DeployAgent(image string, cmd, envs []string, volume *volume.Volume) (bool, string, error)
DeployAgent mocks base method
func (*MockOrchestrator) EXPECT ¶
func (m *MockOrchestrator) EXPECT() *MockOrchestratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOrchestrator) GetContainersMountingVolume ¶
func (m *MockOrchestrator) GetContainersMountingVolume(v *volume.Volume) ([]*volume.MountedVolume, error)
GetContainersMountingVolume mocks base method
func (*MockOrchestrator) GetName ¶
func (m *MockOrchestrator) GetName() string
GetName mocks base method
func (*MockOrchestrator) GetPath ¶
func (m *MockOrchestrator) GetPath(v *volume.Volume) string
GetPath mocks base method
func (*MockOrchestrator) GetVolumes ¶
GetVolumes mocks base method
func (*MockOrchestrator) IsNodeAvailable ¶
func (m *MockOrchestrator) IsNodeAvailable(hostID string) (bool, error)
IsNodeAvailable mocks base method
func (*MockOrchestrator) RetrieveOrphanAgents ¶
func (m *MockOrchestrator) RetrieveOrphanAgents() (map[string]string, error)
RetrieveOrphanAgents mocks base method
type MockOrchestratorMockRecorder ¶
type MockOrchestratorMockRecorder struct {
// contains filtered or unexported fields
}
MockOrchestratorMockRecorder is the mock recorder for MockOrchestrator
func (*MockOrchestratorMockRecorder) AttachOrphanAgent ¶
func (mr *MockOrchestratorMockRecorder) AttachOrphanAgent(containerID, namespace interface{}) *gomock.Call
AttachOrphanAgent indicates an expected call of AttachOrphanAgent
func (*MockOrchestratorMockRecorder) ContainerExec ¶
func (mr *MockOrchestratorMockRecorder) ContainerExec(mountedVolumes, command interface{}) *gomock.Call
ContainerExec indicates an expected call of ContainerExec
func (*MockOrchestratorMockRecorder) DeployAgent ¶
func (mr *MockOrchestratorMockRecorder) DeployAgent(image, cmd, envs, volume interface{}) *gomock.Call
DeployAgent indicates an expected call of DeployAgent
func (*MockOrchestratorMockRecorder) GetContainersMountingVolume ¶
func (mr *MockOrchestratorMockRecorder) GetContainersMountingVolume(v interface{}) *gomock.Call
GetContainersMountingVolume indicates an expected call of GetContainersMountingVolume
func (*MockOrchestratorMockRecorder) GetName ¶
func (mr *MockOrchestratorMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockOrchestratorMockRecorder) GetPath ¶
func (mr *MockOrchestratorMockRecorder) GetPath(v interface{}) *gomock.Call
GetPath indicates an expected call of GetPath
func (*MockOrchestratorMockRecorder) GetVolumes ¶
func (mr *MockOrchestratorMockRecorder) GetVolumes(volumeFilters interface{}) *gomock.Call
GetVolumes indicates an expected call of GetVolumes
func (*MockOrchestratorMockRecorder) IsNodeAvailable ¶
func (mr *MockOrchestratorMockRecorder) IsNodeAvailable(hostID interface{}) *gomock.Call
IsNodeAvailable indicates an expected call of IsNodeAvailable
func (*MockOrchestratorMockRecorder) RetrieveOrphanAgents ¶
func (mr *MockOrchestratorMockRecorder) RetrieveOrphanAgents() *gomock.Call
RetrieveOrphanAgents indicates an expected call of RetrieveOrphanAgents
type MockPluginAPIClient ¶
type MockPluginAPIClient struct {
// contains filtered or unexported fields
}
MockPluginAPIClient is a mock of PluginAPIClient interface
func NewMockPluginAPIClient ¶
func NewMockPluginAPIClient(ctrl *gomock.Controller) *MockPluginAPIClient
NewMockPluginAPIClient creates a new mock instance
func (*MockPluginAPIClient) EXPECT ¶
func (m *MockPluginAPIClient) EXPECT() *MockPluginAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPluginAPIClient) PluginCreate ¶
func (m *MockPluginAPIClient) PluginCreate(ctx context.Context, createContext io.Reader, options types.PluginCreateOptions) error
PluginCreate mocks base method
func (*MockPluginAPIClient) PluginDisable ¶
func (m *MockPluginAPIClient) PluginDisable(ctx context.Context, name string, options types.PluginDisableOptions) error
PluginDisable mocks base method
func (*MockPluginAPIClient) PluginEnable ¶
func (m *MockPluginAPIClient) PluginEnable(ctx context.Context, name string, options types.PluginEnableOptions) error
PluginEnable mocks base method
func (*MockPluginAPIClient) PluginInspectWithRaw ¶
func (m *MockPluginAPIClient) PluginInspectWithRaw(ctx context.Context, name string) (*types.Plugin, []byte, error)
PluginInspectWithRaw mocks base method
func (*MockPluginAPIClient) PluginInstall ¶
func (m *MockPluginAPIClient) PluginInstall(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginInstall mocks base method
func (*MockPluginAPIClient) PluginList ¶
func (m *MockPluginAPIClient) PluginList(ctx context.Context, filter filters.Args) (types.PluginsListResponse, error)
PluginList mocks base method
func (*MockPluginAPIClient) PluginPush ¶
func (m *MockPluginAPIClient) PluginPush(ctx context.Context, name, registryAuth string) (io.ReadCloser, error)
PluginPush mocks base method
func (*MockPluginAPIClient) PluginRemove ¶
func (m *MockPluginAPIClient) PluginRemove(ctx context.Context, name string, options types.PluginRemoveOptions) error
PluginRemove mocks base method
func (*MockPluginAPIClient) PluginUpgrade ¶
func (m *MockPluginAPIClient) PluginUpgrade(ctx context.Context, name string, options types.PluginInstallOptions) (io.ReadCloser, error)
PluginUpgrade mocks base method
type MockPluginAPIClientMockRecorder ¶
type MockPluginAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginAPIClientMockRecorder is the mock recorder for MockPluginAPIClient
func (*MockPluginAPIClientMockRecorder) PluginCreate ¶
func (mr *MockPluginAPIClientMockRecorder) PluginCreate(ctx, createContext, options interface{}) *gomock.Call
PluginCreate indicates an expected call of PluginCreate
func (*MockPluginAPIClientMockRecorder) PluginDisable ¶
func (mr *MockPluginAPIClientMockRecorder) PluginDisable(ctx, name, options interface{}) *gomock.Call
PluginDisable indicates an expected call of PluginDisable
func (*MockPluginAPIClientMockRecorder) PluginEnable ¶
func (mr *MockPluginAPIClientMockRecorder) PluginEnable(ctx, name, options interface{}) *gomock.Call
PluginEnable indicates an expected call of PluginEnable
func (*MockPluginAPIClientMockRecorder) PluginInspectWithRaw ¶
func (mr *MockPluginAPIClientMockRecorder) PluginInspectWithRaw(ctx, name interface{}) *gomock.Call
PluginInspectWithRaw indicates an expected call of PluginInspectWithRaw
func (*MockPluginAPIClientMockRecorder) PluginInstall ¶
func (mr *MockPluginAPIClientMockRecorder) PluginInstall(ctx, name, options interface{}) *gomock.Call
PluginInstall indicates an expected call of PluginInstall
func (*MockPluginAPIClientMockRecorder) PluginList ¶
func (mr *MockPluginAPIClientMockRecorder) PluginList(ctx, filter interface{}) *gomock.Call
PluginList indicates an expected call of PluginList
func (*MockPluginAPIClientMockRecorder) PluginPush ¶
func (mr *MockPluginAPIClientMockRecorder) PluginPush(ctx, name, registryAuth interface{}) *gomock.Call
PluginPush indicates an expected call of PluginPush
func (*MockPluginAPIClientMockRecorder) PluginRemove ¶
func (mr *MockPluginAPIClientMockRecorder) PluginRemove(ctx, name, options interface{}) *gomock.Call
PluginRemove indicates an expected call of PluginRemove
func (*MockPluginAPIClientMockRecorder) PluginSet ¶
func (mr *MockPluginAPIClientMockRecorder) PluginSet(ctx, name, args interface{}) *gomock.Call
PluginSet indicates an expected call of PluginSet
func (*MockPluginAPIClientMockRecorder) PluginUpgrade ¶
func (mr *MockPluginAPIClientMockRecorder) PluginUpgrade(ctx, name, options interface{}) *gomock.Call
PluginUpgrade indicates an expected call of PluginUpgrade
type MockRegisterer ¶
type MockRegisterer struct {
// contains filtered or unexported fields
}
MockRegisterer is a mock of Registerer interface
func NewMockRegisterer ¶
func NewMockRegisterer(ctrl *gomock.Controller) *MockRegisterer
NewMockRegisterer creates a new mock instance
func (*MockRegisterer) EXPECT ¶
func (m *MockRegisterer) EXPECT() *MockRegistererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegisterer) MustRegister ¶
func (m *MockRegisterer) MustRegister(arg0 ...prometheus.Collector)
MustRegister mocks base method
func (*MockRegisterer) Register ¶
func (m *MockRegisterer) Register(arg0 prometheus.Collector) error
Register mocks base method
func (*MockRegisterer) Unregister ¶
func (m *MockRegisterer) Unregister(arg0 prometheus.Collector) bool
Unregister mocks base method
type MockRegistererMockRecorder ¶
type MockRegistererMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistererMockRecorder is the mock recorder for MockRegisterer
func (*MockRegistererMockRecorder) MustRegister ¶
func (mr *MockRegistererMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call
MustRegister indicates an expected call of MustRegister
func (*MockRegistererMockRecorder) Register ¶
func (mr *MockRegistererMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockRegistererMockRecorder) Unregister ¶
func (mr *MockRegistererMockRecorder) Unregister(arg0 interface{}) *gomock.Call
Unregister indicates an expected call of Unregister
type MockSecretAPIClient ¶
type MockSecretAPIClient struct {
// contains filtered or unexported fields
}
MockSecretAPIClient is a mock of SecretAPIClient interface
func NewMockSecretAPIClient ¶
func NewMockSecretAPIClient(ctrl *gomock.Controller) *MockSecretAPIClient
NewMockSecretAPIClient creates a new mock instance
func (*MockSecretAPIClient) EXPECT ¶
func (m *MockSecretAPIClient) EXPECT() *MockSecretAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecretAPIClient) SecretCreate ¶
func (m *MockSecretAPIClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (types.SecretCreateResponse, error)
SecretCreate mocks base method
func (*MockSecretAPIClient) SecretInspectWithRaw ¶
func (m *MockSecretAPIClient) SecretInspectWithRaw(ctx context.Context, name string) (swarm.Secret, []byte, error)
SecretInspectWithRaw mocks base method
func (*MockSecretAPIClient) SecretList ¶
func (m *MockSecretAPIClient) SecretList(ctx context.Context, options types.SecretListOptions) ([]swarm.Secret, error)
SecretList mocks base method
func (*MockSecretAPIClient) SecretRemove ¶
func (m *MockSecretAPIClient) SecretRemove(ctx context.Context, id string) error
SecretRemove mocks base method
func (*MockSecretAPIClient) SecretUpdate ¶
func (m *MockSecretAPIClient) SecretUpdate(ctx context.Context, id string, version swarm.Version, secret swarm.SecretSpec) error
SecretUpdate mocks base method
type MockSecretAPIClientMockRecorder ¶
type MockSecretAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSecretAPIClientMockRecorder is the mock recorder for MockSecretAPIClient
func (*MockSecretAPIClientMockRecorder) SecretCreate ¶
func (mr *MockSecretAPIClientMockRecorder) SecretCreate(ctx, secret interface{}) *gomock.Call
SecretCreate indicates an expected call of SecretCreate
func (*MockSecretAPIClientMockRecorder) SecretInspectWithRaw ¶
func (mr *MockSecretAPIClientMockRecorder) SecretInspectWithRaw(ctx, name interface{}) *gomock.Call
SecretInspectWithRaw indicates an expected call of SecretInspectWithRaw
func (*MockSecretAPIClientMockRecorder) SecretList ¶
func (mr *MockSecretAPIClientMockRecorder) SecretList(ctx, options interface{}) *gomock.Call
SecretList indicates an expected call of SecretList
func (*MockSecretAPIClientMockRecorder) SecretRemove ¶
func (mr *MockSecretAPIClientMockRecorder) SecretRemove(ctx, id interface{}) *gomock.Call
SecretRemove indicates an expected call of SecretRemove
func (*MockSecretAPIClientMockRecorder) SecretUpdate ¶
func (mr *MockSecretAPIClientMockRecorder) SecretUpdate(ctx, id, version, secret interface{}) *gomock.Call
SecretUpdate indicates an expected call of SecretUpdate
type MockServiceAPIClient ¶
type MockServiceAPIClient struct {
// contains filtered or unexported fields
}
MockServiceAPIClient is a mock of ServiceAPIClient interface
func NewMockServiceAPIClient ¶
func NewMockServiceAPIClient(ctrl *gomock.Controller) *MockServiceAPIClient
NewMockServiceAPIClient creates a new mock instance
func (*MockServiceAPIClient) EXPECT ¶
func (m *MockServiceAPIClient) EXPECT() *MockServiceAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceAPIClient) ServiceCreate ¶
func (m *MockServiceAPIClient) ServiceCreate(ctx context.Context, service swarm.ServiceSpec, options types.ServiceCreateOptions) (types.ServiceCreateResponse, error)
ServiceCreate mocks base method
func (*MockServiceAPIClient) ServiceInspectWithRaw ¶
func (m *MockServiceAPIClient) ServiceInspectWithRaw(ctx context.Context, serviceID string, options types.ServiceInspectOptions) (swarm.Service, []byte, error)
ServiceInspectWithRaw mocks base method
func (*MockServiceAPIClient) ServiceList ¶
func (m *MockServiceAPIClient) ServiceList(ctx context.Context, options types.ServiceListOptions) ([]swarm.Service, error)
ServiceList mocks base method
func (*MockServiceAPIClient) ServiceLogs ¶
func (m *MockServiceAPIClient) ServiceLogs(ctx context.Context, serviceID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
ServiceLogs mocks base method
func (*MockServiceAPIClient) ServiceRemove ¶
func (m *MockServiceAPIClient) ServiceRemove(ctx context.Context, serviceID string) error
ServiceRemove mocks base method
func (*MockServiceAPIClient) ServiceUpdate ¶
func (m *MockServiceAPIClient) ServiceUpdate(ctx context.Context, serviceID string, version swarm.Version, service swarm.ServiceSpec, options types.ServiceUpdateOptions) (types.ServiceUpdateResponse, error)
ServiceUpdate mocks base method
func (*MockServiceAPIClient) TaskInspectWithRaw ¶
func (m *MockServiceAPIClient) TaskInspectWithRaw(ctx context.Context, taskID string) (swarm.Task, []byte, error)
TaskInspectWithRaw mocks base method
func (*MockServiceAPIClient) TaskList ¶
func (m *MockServiceAPIClient) TaskList(ctx context.Context, options types.TaskListOptions) ([]swarm.Task, error)
TaskList mocks base method
func (*MockServiceAPIClient) TaskLogs ¶
func (m *MockServiceAPIClient) TaskLogs(ctx context.Context, taskID string, options types.ContainerLogsOptions) (io.ReadCloser, error)
TaskLogs mocks base method
type MockServiceAPIClientMockRecorder ¶
type MockServiceAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceAPIClientMockRecorder is the mock recorder for MockServiceAPIClient
func (*MockServiceAPIClientMockRecorder) ServiceCreate ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceCreate(ctx, service, options interface{}) *gomock.Call
ServiceCreate indicates an expected call of ServiceCreate
func (*MockServiceAPIClientMockRecorder) ServiceInspectWithRaw ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceInspectWithRaw(ctx, serviceID, options interface{}) *gomock.Call
ServiceInspectWithRaw indicates an expected call of ServiceInspectWithRaw
func (*MockServiceAPIClientMockRecorder) ServiceList ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceList(ctx, options interface{}) *gomock.Call
ServiceList indicates an expected call of ServiceList
func (*MockServiceAPIClientMockRecorder) ServiceLogs ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceLogs(ctx, serviceID, options interface{}) *gomock.Call
ServiceLogs indicates an expected call of ServiceLogs
func (*MockServiceAPIClientMockRecorder) ServiceRemove ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceRemove(ctx, serviceID interface{}) *gomock.Call
ServiceRemove indicates an expected call of ServiceRemove
func (*MockServiceAPIClientMockRecorder) ServiceUpdate ¶
func (mr *MockServiceAPIClientMockRecorder) ServiceUpdate(ctx, serviceID, version, service, options interface{}) *gomock.Call
ServiceUpdate indicates an expected call of ServiceUpdate
func (*MockServiceAPIClientMockRecorder) TaskInspectWithRaw ¶
func (mr *MockServiceAPIClientMockRecorder) TaskInspectWithRaw(ctx, taskID interface{}) *gomock.Call
TaskInspectWithRaw indicates an expected call of TaskInspectWithRaw
func (*MockServiceAPIClientMockRecorder) TaskList ¶
func (mr *MockServiceAPIClientMockRecorder) TaskList(ctx, options interface{}) *gomock.Call
TaskList indicates an expected call of TaskList
func (*MockServiceAPIClientMockRecorder) TaskLogs ¶
func (mr *MockServiceAPIClientMockRecorder) TaskLogs(ctx, taskID, options interface{}) *gomock.Call
TaskLogs indicates an expected call of TaskLogs
type MockSwarmAPIClient ¶
type MockSwarmAPIClient struct {
// contains filtered or unexported fields
}
MockSwarmAPIClient is a mock of SwarmAPIClient interface
func NewMockSwarmAPIClient ¶
func NewMockSwarmAPIClient(ctrl *gomock.Controller) *MockSwarmAPIClient
NewMockSwarmAPIClient creates a new mock instance
func (*MockSwarmAPIClient) EXPECT ¶
func (m *MockSwarmAPIClient) EXPECT() *MockSwarmAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSwarmAPIClient) SwarmGetUnlockKey ¶
func (m *MockSwarmAPIClient) SwarmGetUnlockKey(ctx context.Context) (types.SwarmUnlockKeyResponse, error)
SwarmGetUnlockKey mocks base method
func (*MockSwarmAPIClient) SwarmInit ¶
func (m *MockSwarmAPIClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)
SwarmInit mocks base method
func (*MockSwarmAPIClient) SwarmInspect ¶
SwarmInspect mocks base method
func (*MockSwarmAPIClient) SwarmJoin ¶
func (m *MockSwarmAPIClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error
SwarmJoin mocks base method
func (*MockSwarmAPIClient) SwarmLeave ¶
func (m *MockSwarmAPIClient) SwarmLeave(ctx context.Context, force bool) error
SwarmLeave mocks base method
func (*MockSwarmAPIClient) SwarmUnlock ¶
func (m *MockSwarmAPIClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error
SwarmUnlock mocks base method
func (*MockSwarmAPIClient) SwarmUpdate ¶
func (m *MockSwarmAPIClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarm swarm.Spec, flags swarm.UpdateFlags) error
SwarmUpdate mocks base method
type MockSwarmAPIClientMockRecorder ¶
type MockSwarmAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSwarmAPIClientMockRecorder is the mock recorder for MockSwarmAPIClient
func (*MockSwarmAPIClientMockRecorder) SwarmGetUnlockKey ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmGetUnlockKey(ctx interface{}) *gomock.Call
SwarmGetUnlockKey indicates an expected call of SwarmGetUnlockKey
func (*MockSwarmAPIClientMockRecorder) SwarmInit ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmInit(ctx, req interface{}) *gomock.Call
SwarmInit indicates an expected call of SwarmInit
func (*MockSwarmAPIClientMockRecorder) SwarmInspect ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmInspect(ctx interface{}) *gomock.Call
SwarmInspect indicates an expected call of SwarmInspect
func (*MockSwarmAPIClientMockRecorder) SwarmJoin ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmJoin(ctx, req interface{}) *gomock.Call
SwarmJoin indicates an expected call of SwarmJoin
func (*MockSwarmAPIClientMockRecorder) SwarmLeave ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmLeave(ctx, force interface{}) *gomock.Call
SwarmLeave indicates an expected call of SwarmLeave
func (*MockSwarmAPIClientMockRecorder) SwarmUnlock ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmUnlock(ctx, req interface{}) *gomock.Call
SwarmUnlock indicates an expected call of SwarmUnlock
func (*MockSwarmAPIClientMockRecorder) SwarmUpdate ¶
func (mr *MockSwarmAPIClientMockRecorder) SwarmUpdate(ctx, version, swarm, flags interface{}) *gomock.Call
SwarmUpdate indicates an expected call of SwarmUpdate
type MockSystemAPIClient ¶
type MockSystemAPIClient struct {
// contains filtered or unexported fields
}
MockSystemAPIClient is a mock of SystemAPIClient interface
func NewMockSystemAPIClient ¶
func NewMockSystemAPIClient(ctrl *gomock.Controller) *MockSystemAPIClient
NewMockSystemAPIClient creates a new mock instance
func (*MockSystemAPIClient) EXPECT ¶
func (m *MockSystemAPIClient) EXPECT() *MockSystemAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSystemAPIClient) Events ¶
func (m *MockSystemAPIClient) Events(ctx context.Context, options types.EventsOptions) (<-chan events.Message, <-chan error)
Events mocks base method
func (*MockSystemAPIClient) RegistryLogin ¶
func (m *MockSystemAPIClient) RegistryLogin(ctx context.Context, auth types.AuthConfig) (registry.AuthenticateOKBody, error)
RegistryLogin mocks base method
type MockSystemAPIClientMockRecorder ¶
type MockSystemAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSystemAPIClientMockRecorder is the mock recorder for MockSystemAPIClient
func (*MockSystemAPIClientMockRecorder) DiskUsage ¶
func (mr *MockSystemAPIClientMockRecorder) DiskUsage(ctx interface{}) *gomock.Call
DiskUsage indicates an expected call of DiskUsage
func (*MockSystemAPIClientMockRecorder) Events ¶
func (mr *MockSystemAPIClientMockRecorder) Events(ctx, options interface{}) *gomock.Call
Events indicates an expected call of Events
func (*MockSystemAPIClientMockRecorder) Info ¶
func (mr *MockSystemAPIClientMockRecorder) Info(ctx interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockSystemAPIClientMockRecorder) Ping ¶
func (mr *MockSystemAPIClientMockRecorder) Ping(ctx interface{}) *gomock.Call
Ping indicates an expected call of Ping
func (*MockSystemAPIClientMockRecorder) RegistryLogin ¶
func (mr *MockSystemAPIClientMockRecorder) RegistryLogin(ctx, auth interface{}) *gomock.Call
RegistryLogin indicates an expected call of RegistryLogin
type MockVolumeAPIClient ¶
type MockVolumeAPIClient struct {
// contains filtered or unexported fields
}
MockVolumeAPIClient is a mock of VolumeAPIClient interface
func NewMockVolumeAPIClient ¶
func NewMockVolumeAPIClient(ctrl *gomock.Controller) *MockVolumeAPIClient
NewMockVolumeAPIClient creates a new mock instance
func (*MockVolumeAPIClient) EXPECT ¶
func (m *MockVolumeAPIClient) EXPECT() *MockVolumeAPIClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVolumeAPIClient) VolumeCreate ¶
func (m *MockVolumeAPIClient) VolumeCreate(ctx context.Context, options volumetypes.VolumeCreateBody) (types.Volume, error)
VolumeCreate mocks base method
func (*MockVolumeAPIClient) VolumeInspect ¶
func (m *MockVolumeAPIClient) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error)
VolumeInspect mocks base method
func (*MockVolumeAPIClient) VolumeInspectWithRaw ¶
func (m *MockVolumeAPIClient) VolumeInspectWithRaw(ctx context.Context, volumeID string) (types.Volume, []byte, error)
VolumeInspectWithRaw mocks base method
func (*MockVolumeAPIClient) VolumeList ¶
func (m *MockVolumeAPIClient) VolumeList(ctx context.Context, filter filters.Args) (volumetypes.VolumeListOKBody, error)
VolumeList mocks base method
func (*MockVolumeAPIClient) VolumeRemove ¶
VolumeRemove mocks base method
func (*MockVolumeAPIClient) VolumesPrune ¶
func (m *MockVolumeAPIClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (types.VolumesPruneReport, error)
VolumesPrune mocks base method
type MockVolumeAPIClientMockRecorder ¶
type MockVolumeAPIClientMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeAPIClientMockRecorder is the mock recorder for MockVolumeAPIClient
func (*MockVolumeAPIClientMockRecorder) VolumeCreate ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumeCreate(ctx, options interface{}) *gomock.Call
VolumeCreate indicates an expected call of VolumeCreate
func (*MockVolumeAPIClientMockRecorder) VolumeInspect ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumeInspect(ctx, volumeID interface{}) *gomock.Call
VolumeInspect indicates an expected call of VolumeInspect
func (*MockVolumeAPIClientMockRecorder) VolumeInspectWithRaw ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumeInspectWithRaw(ctx, volumeID interface{}) *gomock.Call
VolumeInspectWithRaw indicates an expected call of VolumeInspectWithRaw
func (*MockVolumeAPIClientMockRecorder) VolumeList ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumeList(ctx, filter interface{}) *gomock.Call
VolumeList indicates an expected call of VolumeList
func (*MockVolumeAPIClientMockRecorder) VolumeRemove ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumeRemove(ctx, volumeID, force interface{}) *gomock.Call
VolumeRemove indicates an expected call of VolumeRemove
func (*MockVolumeAPIClientMockRecorder) VolumesPrune ¶
func (mr *MockVolumeAPIClientMockRecorder) VolumesPrune(ctx, pruneFilter interface{}) *gomock.Call
VolumesPrune indicates an expected call of VolumesPrune