Help us shape the future of Go! Take the 2026 Go Developer Survey

dryrun

package
v5.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DryRunClient

type DryRunClient struct {
	// contains filtered or unexported fields
}

DryRunClient implements APIClient by delegating to implementation functions. This allows lazy init and per-method overrides

func NewDryRunClient

func NewDryRunClient(apiClient client.APIClient, cli command.Cli) (*DryRunClient, error)

NewDryRunClient produces a DryRunClient

func (*DryRunClient) BuildCachePrune

func (d *DryRunClient) BuildCachePrune(ctx context.Context, opts build.CachePruneOptions) (*build.CachePruneReport, error)

func (*DryRunClient) BuildCancel

func (d *DryRunClient) BuildCancel(ctx context.Context, id string) error

func (*DryRunClient) CheckpointCreate

func (d *DryRunClient) CheckpointCreate(ctx context.Context, container string, options checkpoint.CreateOptions) error

func (*DryRunClient) CheckpointDelete

func (d *DryRunClient) CheckpointDelete(ctx context.Context, container string, options checkpoint.DeleteOptions) error

func (*DryRunClient) CheckpointList

func (d *DryRunClient) CheckpointList(ctx context.Context, container string, options checkpoint.ListOptions) ([]checkpoint.Summary, error)

func (*DryRunClient) ClientVersion

func (d *DryRunClient) ClientVersion() string

func (*DryRunClient) Close

func (d *DryRunClient) Close() error

func (*DryRunClient) ConfigCreate

func (d *DryRunClient) ConfigCreate(ctx context.Context, config swarm.ConfigSpec) (swarm.ConfigCreateResponse, error)

func (*DryRunClient) ConfigInspectWithRaw

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

func (*DryRunClient) ConfigList

func (d *DryRunClient) ConfigList(ctx context.Context, options swarm.ConfigListOptions) ([]swarm.Config, error)

func (*DryRunClient) ConfigRemove

func (d *DryRunClient) ConfigRemove(ctx context.Context, id string) error

func (*DryRunClient) ConfigUpdate

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

func (*DryRunClient) ContainerAttach

func (d *DryRunClient) ContainerAttach(ctx context.Context, container string, options containerType.AttachOptions) (moby.HijackedResponse, error)

func (*DryRunClient) ContainerCommit

func (d *DryRunClient) ContainerCommit(ctx context.Context, container string, options containerType.CommitOptions) (containerType.CommitResponse, error)

func (*DryRunClient) ContainerCreate

func (d *DryRunClient) ContainerCreate(ctx context.Context, config *containerType.Config, hostConfig *containerType.HostConfig,
	networkingConfig *network.NetworkingConfig, platform *specs.Platform, containerName string,
) (containerType.CreateResponse, error)

func (*DryRunClient) ContainerDiff

func (d *DryRunClient) ContainerDiff(ctx context.Context, container string) ([]containerType.FilesystemChange, error)

func (*DryRunClient) ContainerExecAttach

func (d *DryRunClient) ContainerExecAttach(ctx context.Context, execID string, config containerType.ExecStartOptions) (moby.HijackedResponse, error)

func (*DryRunClient) ContainerExecCreate

func (d *DryRunClient) ContainerExecCreate(ctx context.Context, container string, config containerType.ExecOptions) (containerType.ExecCreateResponse, error)

func (*DryRunClient) ContainerExecInspect

func (d *DryRunClient) ContainerExecInspect(ctx context.Context, execID string) (containerType.ExecInspect, error)

func (*DryRunClient) ContainerExecResize

func (d *DryRunClient) ContainerExecResize(ctx context.Context, execID string, options containerType.ResizeOptions) error

func (*DryRunClient) ContainerExecStart

func (d *DryRunClient) ContainerExecStart(ctx context.Context, execID string, config containerType.ExecStartOptions) error

func (*DryRunClient) ContainerExport

func (d *DryRunClient) ContainerExport(ctx context.Context, container string) (io.ReadCloser, error)

func (*DryRunClient) ContainerInspect

func (d *DryRunClient) ContainerInspect(ctx context.Context, container string) (containerType.InspectResponse, error)

func (*DryRunClient) ContainerInspectWithRaw

func (d *DryRunClient) ContainerInspectWithRaw(ctx context.Context, container string, getSize bool) (containerType.InspectResponse, []byte, error)

func (*DryRunClient) ContainerKill

func (d *DryRunClient) ContainerKill(ctx context.Context, container, signal string) error

func (*DryRunClient) ContainerList

func (d *DryRunClient) ContainerList(ctx context.Context, options containerType.ListOptions) ([]containerType.Summary, error)

func (*DryRunClient) ContainerLogs

func (d *DryRunClient) ContainerLogs(ctx context.Context, container string, options containerType.LogsOptions) (io.ReadCloser, error)

func (*DryRunClient) ContainerPause

func (d *DryRunClient) ContainerPause(ctx context.Context, container string) error

func (*DryRunClient) ContainerRemove

func (d *DryRunClient) ContainerRemove(ctx context.Context, container string, options containerType.RemoveOptions) error

func (*DryRunClient) ContainerRename

func (d *DryRunClient) ContainerRename(ctx context.Context, container, newContainerName string) error

func (*DryRunClient) ContainerResize

func (d *DryRunClient) ContainerResize(ctx context.Context, container string, options containerType.ResizeOptions) error

func (*DryRunClient) ContainerRestart

func (d *DryRunClient) ContainerRestart(ctx context.Context, container string, options containerType.StopOptions) error

func (*DryRunClient) ContainerStart

func (d *DryRunClient) ContainerStart(ctx context.Context, container string, options containerType.StartOptions) error

func (*DryRunClient) ContainerStatPath

func (d *DryRunClient) ContainerStatPath(ctx context.Context, container, path string) (containerType.PathStat, error)

func (*DryRunClient) ContainerStats

func (d *DryRunClient) ContainerStats(ctx context.Context, container string, stream bool) (containerType.StatsResponseReader, error)

func (*DryRunClient) ContainerStatsOneShot

func (d *DryRunClient) ContainerStatsOneShot(ctx context.Context, container string) (containerType.StatsResponseReader, error)

func (*DryRunClient) ContainerStop

func (d *DryRunClient) ContainerStop(ctx context.Context, container string, options containerType.StopOptions) error

func (*DryRunClient) ContainerTop

func (d *DryRunClient) ContainerTop(ctx context.Context, container string, arguments []string) (containerType.TopResponse, error)

func (*DryRunClient) ContainerUnpause

func (d *DryRunClient) ContainerUnpause(ctx context.Context, container string) error

func (*DryRunClient) ContainerUpdate

func (d *DryRunClient) ContainerUpdate(ctx context.Context, container string, updateConfig containerType.UpdateConfig) (containerType.UpdateResponse, error)

func (*DryRunClient) ContainerWait

func (d *DryRunClient) ContainerWait(ctx context.Context, container string, condition containerType.WaitCondition) (<-chan containerType.WaitResponse, <-chan error)

func (*DryRunClient) ContainersPrune

func (d *DryRunClient) ContainersPrune(ctx context.Context, pruneFilters filters.Args) (containerType.PruneReport, error)

func (*DryRunClient) CopyFromContainer

func (d *DryRunClient) CopyFromContainer(ctx context.Context, container, srcPath string) (io.ReadCloser, containerType.PathStat, error)

func (*DryRunClient) CopyToContainer

func (d *DryRunClient) CopyToContainer(ctx context.Context, container, path string, content io.Reader, options containerType.CopyToContainerOptions) error

func (*DryRunClient) DaemonHost

func (d *DryRunClient) DaemonHost() string

func (*DryRunClient) DialHijack

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

func (*DryRunClient) Dialer

func (d *DryRunClient) Dialer() func(context.Context) (net.Conn, error)

func (*DryRunClient) DiskUsage

func (d *DryRunClient) DiskUsage(ctx context.Context, options moby.DiskUsageOptions) (moby.DiskUsage, error)

func (*DryRunClient) DistributionInspect

func (d *DryRunClient) DistributionInspect(ctx context.Context, imageName, encodedRegistryAuth string) (registry.DistributionInspect, error)

func (*DryRunClient) Events

func (d *DryRunClient) Events(ctx context.Context, options events.ListOptions) (<-chan events.Message, <-chan error)

func (*DryRunClient) HTTPClient

func (d *DryRunClient) HTTPClient() *http.Client

func (*DryRunClient) ImageBuild

func (d *DryRunClient) ImageBuild(ctx context.Context, reader io.Reader, options build.ImageBuildOptions) (build.ImageBuildResponse, error)

func (*DryRunClient) ImageCreate

func (d *DryRunClient) ImageCreate(ctx context.Context, parentReference string, options image.CreateOptions) (io.ReadCloser, error)

func (*DryRunClient) ImageHistory

func (d *DryRunClient) ImageHistory(ctx context.Context, imageName string, options ...client.ImageHistoryOption) ([]image.HistoryResponseItem, error)

func (*DryRunClient) ImageImport

func (d *DryRunClient) ImageImport(ctx context.Context, source image.ImportSource, ref string, options image.ImportOptions) (io.ReadCloser, error)

func (*DryRunClient) ImageInspect

func (d *DryRunClient) ImageInspect(ctx context.Context, imageName string, options ...client.ImageInspectOption) (image.InspectResponse, error)

func (*DryRunClient) ImageInspectWithRaw deprecated

func (d *DryRunClient) ImageInspectWithRaw(ctx context.Context, imageName string) (image.InspectResponse, []byte, error)

Deprecated: Use DryRunClient.ImageInspect instead; raw response can be obtained by client.ImageInspectWithRawResponse option.

func (*DryRunClient) ImageList

func (d *DryRunClient) ImageList(ctx context.Context, options image.ListOptions) ([]image.Summary, error)

func (*DryRunClient) ImageLoad

func (d *DryRunClient) ImageLoad(ctx context.Context, input io.Reader, options ...client.ImageLoadOption) (image.LoadResponse, error)

func (*DryRunClient) ImagePull

func (d *DryRunClient) ImagePull(ctx context.Context, ref string, options image.PullOptions) (io.ReadCloser, error)

func (*DryRunClient) ImagePush

func (d *DryRunClient) ImagePush(ctx context.Context, ref string, options image.PushOptions) (io.ReadCloser, error)

func (*DryRunClient) ImageRemove

func (d *DryRunClient) ImageRemove(ctx context.Context, imageName string, options image.RemoveOptions) ([]image.DeleteResponse, error)

func (*DryRunClient) ImageSave

func (d *DryRunClient) ImageSave(ctx context.Context, images []string, options ...client.ImageSaveOption) (io.ReadCloser, error)

func (*DryRunClient) ImageSearch

func (d *DryRunClient) ImageSearch(ctx context.Context, term string, options registry.SearchOptions) ([]registry.SearchResult, error)

func (*DryRunClient) ImageTag

func (d *DryRunClient) ImageTag(ctx context.Context, imageName, ref string) error

func (*DryRunClient) ImagesPrune

func (d *DryRunClient) ImagesPrune(ctx context.Context, pruneFilter filters.Args) (image.PruneReport, error)

func (*DryRunClient) Info

func (d *DryRunClient) Info(ctx context.Context) (system.Info, error)

func (*DryRunClient) NegotiateAPIVersion

func (d *DryRunClient) NegotiateAPIVersion(ctx context.Context)

func (*DryRunClient) NegotiateAPIVersionPing

func (d *DryRunClient) NegotiateAPIVersionPing(ping moby.Ping)

func (*DryRunClient) NetworkConnect

func (d *DryRunClient) NetworkConnect(ctx context.Context, networkName, container string, config *network.EndpointSettings) error

func (*DryRunClient) NetworkCreate

func (d *DryRunClient) NetworkCreate(ctx context.Context, name string, options network.CreateOptions) (network.CreateResponse, error)

func (*DryRunClient) NetworkDisconnect

func (d *DryRunClient) NetworkDisconnect(ctx context.Context, networkName, container string, force bool) error

func (*DryRunClient) NetworkInspect

func (d *DryRunClient) NetworkInspect(ctx context.Context, networkName string, options network.InspectOptions) (network.Inspect, error)

func (*DryRunClient) NetworkInspectWithRaw

func (d *DryRunClient) NetworkInspectWithRaw(ctx context.Context, networkName string, options network.InspectOptions) (network.Inspect, []byte, error)

func (*DryRunClient) NetworkList

func (d *DryRunClient) NetworkList(ctx context.Context, options network.ListOptions) ([]network.Inspect, error)

func (*DryRunClient) NetworkRemove

func (d *DryRunClient) NetworkRemove(ctx context.Context, networkName string) error

func (*DryRunClient) NetworksPrune

func (d *DryRunClient) NetworksPrune(ctx context.Context, pruneFilter filters.Args) (network.PruneReport, error)

func (*DryRunClient) NodeInspectWithRaw

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

func (*DryRunClient) NodeList

func (d *DryRunClient) NodeList(ctx context.Context, options swarm.NodeListOptions) ([]swarm.Node, error)

func (*DryRunClient) NodeRemove

func (d *DryRunClient) NodeRemove(ctx context.Context, nodeID string, options swarm.NodeRemoveOptions) error

func (*DryRunClient) NodeUpdate

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

func (*DryRunClient) Ping

func (d *DryRunClient) Ping(ctx context.Context) (moby.Ping, error)

func (*DryRunClient) PluginCreate

func (d *DryRunClient) PluginCreate(ctx context.Context, createContext io.Reader, options moby.PluginCreateOptions) error

func (*DryRunClient) PluginDisable

func (d *DryRunClient) PluginDisable(ctx context.Context, name string, options moby.PluginDisableOptions) error

func (*DryRunClient) PluginEnable

func (d *DryRunClient) PluginEnable(ctx context.Context, name string, options moby.PluginEnableOptions) error

func (*DryRunClient) PluginInspectWithRaw

func (d *DryRunClient) PluginInspectWithRaw(ctx context.Context, name string) (*moby.Plugin, []byte, error)

func (*DryRunClient) PluginInstall

func (d *DryRunClient) PluginInstall(ctx context.Context, name string, options moby.PluginInstallOptions) (io.ReadCloser, error)

func (*DryRunClient) PluginList

func (d *DryRunClient) PluginList(ctx context.Context, filter filters.Args) (moby.PluginsListResponse, error)

func (*DryRunClient) PluginPush

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

func (*DryRunClient) PluginRemove

func (d *DryRunClient) PluginRemove(ctx context.Context, name string, options moby.PluginRemoveOptions) error

func (*DryRunClient) PluginSet

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

func (*DryRunClient) PluginUpgrade

func (d *DryRunClient) PluginUpgrade(ctx context.Context, name string, options moby.PluginInstallOptions) (io.ReadCloser, error)

func (*DryRunClient) RegistryLogin

func (*DryRunClient) SecretCreate

func (d *DryRunClient) SecretCreate(ctx context.Context, secret swarm.SecretSpec) (swarm.SecretCreateResponse, error)

func (*DryRunClient) SecretInspectWithRaw

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

func (*DryRunClient) SecretList

func (d *DryRunClient) SecretList(ctx context.Context, options swarm.SecretListOptions) ([]swarm.Secret, error)

func (*DryRunClient) SecretRemove

func (d *DryRunClient) SecretRemove(ctx context.Context, id string) error

func (*DryRunClient) SecretUpdate

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

func (*DryRunClient) ServerVersion

func (d *DryRunClient) ServerVersion(ctx context.Context) (moby.Version, error)

func (*DryRunClient) ServiceCreate

func (*DryRunClient) ServiceInspectWithRaw

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

func (*DryRunClient) ServiceList

func (d *DryRunClient) ServiceList(ctx context.Context, options swarm.ServiceListOptions) ([]swarm.Service, error)

func (*DryRunClient) ServiceLogs

func (d *DryRunClient) ServiceLogs(ctx context.Context, serviceID string, options containerType.LogsOptions) (io.ReadCloser, error)

func (*DryRunClient) ServiceRemove

func (d *DryRunClient) ServiceRemove(ctx context.Context, serviceID string) error

func (*DryRunClient) ServiceUpdate

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

func (*DryRunClient) SwarmGetUnlockKey

func (d *DryRunClient) SwarmGetUnlockKey(ctx context.Context) (swarm.UnlockKeyResponse, error)

func (*DryRunClient) SwarmInit

func (d *DryRunClient) SwarmInit(ctx context.Context, req swarm.InitRequest) (string, error)

func (*DryRunClient) SwarmInspect

func (d *DryRunClient) SwarmInspect(ctx context.Context) (swarm.Swarm, error)

func (*DryRunClient) SwarmJoin

func (d *DryRunClient) SwarmJoin(ctx context.Context, req swarm.JoinRequest) error

func (*DryRunClient) SwarmLeave

func (d *DryRunClient) SwarmLeave(ctx context.Context, force bool) error

func (*DryRunClient) SwarmUnlock

func (d *DryRunClient) SwarmUnlock(ctx context.Context, req swarm.UnlockRequest) error

func (*DryRunClient) SwarmUpdate

func (d *DryRunClient) SwarmUpdate(ctx context.Context, version swarm.Version, swarmSpec swarm.Spec, flags swarm.UpdateFlags) error

func (*DryRunClient) TaskInspectWithRaw

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

func (*DryRunClient) TaskList

func (d *DryRunClient) TaskList(ctx context.Context, options swarm.TaskListOptions) ([]swarm.Task, error)

func (*DryRunClient) TaskLogs

func (d *DryRunClient) TaskLogs(ctx context.Context, taskID string, options containerType.LogsOptions) (io.ReadCloser, error)

func (*DryRunClient) VolumeCreate

func (d *DryRunClient) VolumeCreate(ctx context.Context, options volume.CreateOptions) (volume.Volume, error)

func (*DryRunClient) VolumeInspect

func (d *DryRunClient) VolumeInspect(ctx context.Context, volumeID string) (volume.Volume, error)

func (*DryRunClient) VolumeInspectWithRaw

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

func (*DryRunClient) VolumeList

func (d *DryRunClient) VolumeList(ctx context.Context, opts volume.ListOptions) (volume.ListResponse, error)

func (*DryRunClient) VolumeRemove

func (d *DryRunClient) VolumeRemove(ctx context.Context, volumeID string, force bool) error

func (*DryRunClient) VolumeUpdate

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

func (*DryRunClient) VolumesPrune

func (d *DryRunClient) VolumesPrune(ctx context.Context, pruneFilter filters.Args) (volume.PruneReport, error)

Jump to

Keyboard shortcuts

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