Versions in this module Expand all Collapse all v0 v0.11.2 Feb 28, 2024 v0.11.1 Oct 31, 2021 Changes in this version + const TestNodeID + type DockerDaemonMock struct + func (_m *DockerDaemonMock) ContainerByID(id string) *drydocker.Container + func (_m *DockerDaemonMock) Containers(filters []drydocker.ContainerFilter, mode drydocker.SortMode) []*drydocker.Container + func (_m *DockerDaemonMock) DiskUsage() (types.DiskUsage, error) + func (_m *DockerDaemonMock) DockerEnv() drydocker.Env + func (_m *DockerDaemonMock) EventLog() *drydocker.EventLog + func (_m *DockerDaemonMock) Events() (<-chan events.Message, chan<- struct{}, error) + func (_m *DockerDaemonMock) History(id string) ([]image.HistoryResponseItem, error) + func (_m *DockerDaemonMock) ImageByID(id string) (types.ImageSummary, error) + func (_m *DockerDaemonMock) Images() ([]types.ImageSummary, error) + func (_m *DockerDaemonMock) ImagesCount() int + func (_m *DockerDaemonMock) Info() (types.Info, error) + func (_m *DockerDaemonMock) Inspect(id string) (types.ContainerJSON, error) + func (_m *DockerDaemonMock) InspectImage(name string) (types.ImageInspect, error) + func (_m *DockerDaemonMock) IsContainerRunning(id string) bool + func (_m *DockerDaemonMock) Kill(id string) error + func (_m *DockerDaemonMock) Logs(id, since string, ts bool) (io.ReadCloser, error) + func (_m *DockerDaemonMock) NetworkAt(position int) (*types.NetworkResource, error) + func (_m *DockerDaemonMock) NetworkInspect(id string) (types.NetworkResource, error) + func (_m *DockerDaemonMock) Networks() ([]types.NetworkResource, error) + func (_m *DockerDaemonMock) NetworksCount() int + func (_m *DockerDaemonMock) Node(id string) (*swarm.Node, error) + func (_m *DockerDaemonMock) NodeChangeAvailability(nodeID string, availability swarm.NodeAvailability) error + func (_m *DockerDaemonMock) NodeTasks(nodeID string) ([]swarm.Task, error) + func (_m *DockerDaemonMock) Nodes() ([]swarm.Node, error) + func (_m *DockerDaemonMock) Ok() (bool, error) + func (_m *DockerDaemonMock) Prune() (*drydocker.PruneReport, error) + func (_m *DockerDaemonMock) Refresh(notify func(err error)) + func (_m *DockerDaemonMock) RefreshImages() error + func (_m *DockerDaemonMock) RefreshNetworks() error + func (_m *DockerDaemonMock) RemoveAllStoppedContainers() (int, error) + func (_m *DockerDaemonMock) RemoveDanglingImages() (int, error) + func (_m *DockerDaemonMock) RemoveNetwork(id string) error + func (_m *DockerDaemonMock) RemoveUnusedImages() (int, error) + func (_m *DockerDaemonMock) ResolveNode(id string) (string, error) + func (_m *DockerDaemonMock) ResolveService(id string) (string, error) + func (_m *DockerDaemonMock) RestartContainer(id string) error + func (_m *DockerDaemonMock) Rm(id string) error + func (_m *DockerDaemonMock) Rmi(id string, force bool) ([]types.ImageDeleteResponseItem, error) + func (_m *DockerDaemonMock) RunImage(image types.ImageSummary, command string) error + func (_m *DockerDaemonMock) Service(id string) (*swarm.Service, error) + func (_m *DockerDaemonMock) ServiceLogs(id, since string, ts bool) (io.ReadCloser, error) + func (_m *DockerDaemonMock) ServiceRemove(id string) error + func (_m *DockerDaemonMock) ServiceScale(id string, scale uint64) error + func (_m *DockerDaemonMock) ServiceTasks(services ...string) ([]swarm.Task, error) + func (_m *DockerDaemonMock) ServiceUpdate(id string) error + func (_m *DockerDaemonMock) Services() ([]swarm.Service, error) + func (_m *DockerDaemonMock) Sort(sortMode drydocker.SortMode) + func (_m *DockerDaemonMock) SortImages(sortMode drydocker.SortMode) + func (_m *DockerDaemonMock) SortNetworks(sortMode drydocker.SortMode) + func (_m *DockerDaemonMock) StackConfigs(stack string) ([]swarm.Config, error) + func (_m *DockerDaemonMock) StackNetworks(stack string) ([]types.NetworkResource, error) + func (_m *DockerDaemonMock) StackRemove(stack string) error + func (_m *DockerDaemonMock) StackSecrets(stack string) ([]swarm.Secret, error) + func (_m *DockerDaemonMock) StackServices(stack string) ([]swarm.Service, error) + func (_m *DockerDaemonMock) StackTasks(stack string) ([]swarm.Task, error) + func (_m *DockerDaemonMock) Stacks() ([]drydocker.Stack, error) + func (_m *DockerDaemonMock) StatsChannel(container *drydocker.Container) (*drydocker.StatsChannel, error) + func (_m *DockerDaemonMock) StopContainer(id string) error + func (_m *DockerDaemonMock) Task(id string) (swarm.Task, error) + func (_m *DockerDaemonMock) Top(ctx context.Context, id string) (container.ContainerTopOKBody, error) + func (_m *DockerDaemonMock) Version() (*types.Version, error) + func (_m *DockerDaemonMock) VolumeInspect(ctx context.Context, volumeID string) (types.Volume, error) + func (_m *DockerDaemonMock) VolumeList(ctx context.Context) ([]*types.Volume, error) + func (_m *DockerDaemonMock) VolumePrune(ctx context.Context) (int, error) + func (_m *DockerDaemonMock) VolumeRemove(ctx context.Context, volumeID string, force bool) error + func (_m *DockerDaemonMock) VolumeRemoveAll(ctx context.Context) (int, error) + type SwarmDockerDaemon struct + func (_m *SwarmDockerDaemon) Info() (types.Info, error) + func (_m *SwarmDockerDaemon) Node(id string) (*swarm.Node, error) + func (_m *SwarmDockerDaemon) NodeTasks(nodeID string) ([]swarm.Task, error) + func (_m *SwarmDockerDaemon) Nodes() ([]swarm.Node, error) + func (_m *SwarmDockerDaemon) ResolveNode(id string) (string, error) + func (_m *SwarmDockerDaemon) ResolveService(id string) (string, error) + func (_m *SwarmDockerDaemon) ServiceTasks(services ...string) ([]swarm.Task, error) + func (_m *SwarmDockerDaemon) Services() ([]swarm.Service, error)