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 LabelNamespace + type ContainerAPIClientMock struct + Containers []types.Container + func (m ContainerAPIClientMock) ContainerInspect(ctx context.Context, container string) (types.ContainerJSON, error) + func (m ContainerAPIClientMock) ContainerList(ctx context.Context, options types.ContainerListOptions) ([]types.Container, error) + type ImageAPIClientMock struct + func (mock ImageAPIClientMock) ContainerCreate(ctx context.Context, config *container.Config, ...) (container.ContainerCreateCreatedBody, error) + func (mock ImageAPIClientMock) ContainerStart(ctx context.Context, container string, options types.ContainerStartOptions) error + func (mock ImageAPIClientMock) ImageInspectWithRaw(ctx context.Context, image string) (types.ImageInspect, []byte, error) + func (mock ImageAPIClientMock) InspectImage(ctx context.Context, image string) (types.ImageInspect, error) + type NetworkAPIClientMock struct + type SwarmAPIClientMock struct + func (mock SwarmAPIClientMock) ConfigList(context context.Context, opts types.ConfigListOptions) ([]swarm.Config, error) + func (mock SwarmAPIClientMock) NetworkList(context context.Context, opts types.NetworkListOptions) ([]types.NetworkResource, error) + func (mock SwarmAPIClientMock) NodeList(context context.Context, options types.NodeListOptions) ([]swarm.Node, error) + func (mock SwarmAPIClientMock) SecretList(context context.Context, opts types.SecretListOptions) ([]swarm.Secret, error) + func (mock SwarmAPIClientMock) ServiceList(context context.Context, options types.ServiceListOptions) ([]swarm.Service, error) + func (mock SwarmAPIClientMock) TaskList(context context.Context, options types.TaskListOptions) ([]swarm.Task, error)