Versions in this module Expand all Collapse all v1 v1.0.1 Jul 8, 2020 Changes in this version + const SIGABRT + const SIGALRM + const SIGBUS + const SIGCHLD + const SIGCLD + const SIGCONT + const SIGFPE + const SIGHUP + const SIGILL + const SIGINT + const SIGIO + const SIGIOT + const SIGKILL + const SIGPIPE + const SIGPOLL + const SIGPROF + const SIGPWR + const SIGQUIT + const SIGSEGV + const SIGSTKFLT + const SIGSTOP + const SIGSYS + const SIGTERM + const SIGTRAP + const SIGTSTP + const SIGTTIN + const SIGTTOU + const SIGUNUSED + const SIGURG + const SIGUSR1 + const SIGUSR2 + const SIGVTALRM + const SIGWINCH + const SIGXCPU + const SIGXFSZ + var EOFEvent = &APIEvents + var ErrCannotParseDockercfg = errors.New("failed to read authentication from dockercfg") + var ErrConnectionRefused = errors.New("cannot connect to Docker endpoint") + var ErrContainerAlreadyExists = errors.New("container already exists") + var ErrInactivityTimeout = errors.New("inactivity time exceeded timeout") + var ErrInvalidEndpoint = errors.New("invalid endpoint") + var ErrListenerAlreadyExists = errors.New("listener already exists for docker events") + var ErrMissingOutputStream = errors.New("missing output stream") + var ErrMissingRepo = errors.New("missing remote repository e.g. 'github.com/user/repo'") + var ErrMultipleContexts = errors.New("image build may not be provided BOTH context dir and input stream") + var ErrMustSpecifyNames = errors.New("must specify at least one name to export") + var ErrNetworkAlreadyExists = errors.New("network already exists") + var ErrNoListeners = errors.New("no listeners present to receive event") + var ErrNoSuchImage = errors.New("no such image") + var ErrNoSuchVolume = errors.New("no such volume") + var ErrNodeAlreadyInSwarm = errors.New("node already in a Swarm") + var ErrNodeNotInSwarm = errors.New("node is not in a Swarm") + var ErrTLSNotSupported = errors.New("tls not supported by this client") + var ErrVolumeInUse = errors.New("volume in use and cannot be removed") + func ParseRepositoryTag(repoTag string) (repository string, tag string) + type APIActor struct + Attributes map[string]string + ID string + type APIContainers struct + Command string + Created int64 + ID string + Image string + Labels map[string]string + Mounts []APIMount + Names []string + Networks NetworkList + Ports []APIPort + SizeRootFs int64 + SizeRw int64 + State string + Status string + type APIEvents struct + Action string + Actor APIActor + From string + ID string + Status string + Time int64 + TimeNano int64 + Type string + type APIImageSearch struct + Description string + IsAutomated bool + IsOfficial bool + Name string + StarCount int + type APIImages struct + Created int64 + ID string + Labels map[string]string + ParentID string + RepoDigests []string + RepoTags []string + Size int64 + VirtualSize int64 + type APIMount struct + Destination string + Driver string + Mode string + Name string + Propagation string + RW bool + Source string + Type string + type APIPort struct + IP string + PrivatePort int64 + PublicPort int64 + Type string + type APIVersion []int + func NewAPIVersion(input string) (APIVersion, error) + func (version APIVersion) GreaterThan(other APIVersion) bool + func (version APIVersion) GreaterThanOrEqualTo(other APIVersion) bool + func (version APIVersion) LessThan(other APIVersion) bool + func (version APIVersion) LessThanOrEqualTo(other APIVersion) bool + func (version APIVersion) String() string + type AttachToContainerOptions struct + Container string + DetachKeys string + ErrorStream io.Writer + InputStream io.Reader + Logs bool + OutputStream io.Writer + RawTerminal bool + Stderr bool + Stdin bool + Stdout bool + Stream bool + Success chan struct{} + type AuthConfiguration struct + Email string + IdentityToken string + Password string + RegistryToken string + ServerAddress string + Username string + type AuthConfigurations struct + Configs map[string]AuthConfiguration + func NewAuthConfigurations(r io.Reader) (*AuthConfigurations, error) + func NewAuthConfigurationsFromDockerCfg() (*AuthConfigurations, error) + func NewAuthConfigurationsFromFile(path string) (*AuthConfigurations, error) + type AuthConfigurations119 map[string]AuthConfiguration + type AuthStatus struct + IdentityToken string + Status string + type BindOptions struct + Propagation string + type BlkioStatsEntry struct + Major uint64 + Minor uint64 + Op string + Value uint64 + type BlockLimit struct + Path string + Rate int64 + type BlockWeight struct + Path string + Weight string + type BuildArg struct + Name string + Value string + type BuildImageOptions struct + Auth AuthConfiguration + AuthConfigs AuthConfigurations + BuildArgs []BuildArg + CPUPeriod int64 + CPUQuota int64 + CPUSetCPUs string + CPUShares int64 + CacheFrom []string + CgroupParent string + Context context.Context + ContextDir string + Dockerfile string + ExtraHosts string + ForceRmTmpContainer bool + InactivityTimeout time.Duration + InputStream io.Reader + Labels map[string]string + Memory int64 + Memswap int64 + Name string + NetworkMode string + NoCache bool + OutputStream io.Writer + Outputs string + Platform string + Pull bool + RawJSONStream bool + Remote string + RmTmpContainer bool + SecurityOpt []string + ShmSize int64 + SuppressOutput bool + Target string + Ulimits []ULimit + type CPUStats struct + CPUUsage struct{ ... } + OnlineCPUs uint64 + SystemCPUUsage uint64 + ThrottlingData struct{ ... } + type Change struct + Kind ChangeType + Path string + func (change *Change) String() string + type ChangeType int + const ChangeAdd + const ChangeDelete + const ChangeModify + type Client struct + Dialer Dialer + HTTPClient *http.Client + SkipServerVersionCheck bool + TLSConfig *tls.Config + func NewClient(endpoint string) (*Client, error) + func NewClientFromEnv() (*Client, error) + func NewTLSClient(endpoint string, cert, key, ca string) (*Client, error) + func NewTLSClientFromBytes(endpoint string, certPEMBlock, keyPEMBlock, caPEMCert []byte) (*Client, error) + func NewVersionedClient(endpoint string, apiVersionString string) (*Client, error) + func NewVersionedClientFromEnv(apiVersionString string) (*Client, error) + func NewVersionedTLSClient(endpoint string, cert, key, ca, apiVersionString string) (*Client, error) + func NewVersionedTLSClientFromBytes(endpoint string, certPEMBlock, keyPEMBlock, caPEMCert []byte, ...) (*Client, error) + func NewVersionnedTLSClient(endpoint string, cert, key, ca, apiVersionString string) (*Client, error) + func (c *Client) AddEventListener(lastSeen int64, listener chan<- *APIEvents) error + func (c *Client) AttachToContainer(opts AttachToContainerOptions) error + func (c *Client) AttachToContainerNonBlocking(opts AttachToContainerOptions) (CloseWaiter, error) + func (c *Client) AuthCheck(conf *AuthConfiguration) (AuthStatus, error) + func (c *Client) BuildImage(opts BuildImageOptions) error + func (c *Client) CommitContainer(opts CommitContainerOptions) (*Image, error) + func (c *Client) ConfigurePlugin(opts ConfigurePluginOptions) error + func (c *Client) ConnectNetwork(id string, opts NetworkConnectionOptions) error + func (c *Client) ContainerChanges(id string) ([]Change, error) + func (c *Client) CopyFromContainer(opts CopyFromContainerOptions) error + func (c *Client) CreateConfig(opts CreateConfigOptions) (*swarm.Config, error) + func (c *Client) CreateContainer(opts CreateContainerOptions) (*Container, error) + func (c *Client) CreateExec(opts CreateExecOptions) (*Exec, error) + func (c *Client) CreateNetwork(opts CreateNetworkOptions) (*Network, error) + func (c *Client) CreatePlugin(opts CreatePluginOptions) (string, error) + func (c *Client) CreateSecret(opts CreateSecretOptions) (*swarm.Secret, error) + func (c *Client) CreateService(opts CreateServiceOptions) (*swarm.Service, error) + func (c *Client) CreateVolume(opts CreateVolumeOptions) (*Volume, error) + func (c *Client) DisablePlugin(opts DisablePluginOptions) error + func (c *Client) DisconnectNetwork(id string, opts NetworkConnectionOptions) error + func (c *Client) DiskUsage(opts DiskUsageOptions) (*DiskUsage, error) + func (c *Client) DownloadFromContainer(id string, opts DownloadFromContainerOptions) error + func (c *Client) EnablePlugin(opts EnablePluginOptions) error + func (c *Client) Endpoint() string + func (c *Client) ExportContainer(opts ExportContainerOptions) error + func (c *Client) ExportImage(opts ExportImageOptions) error + func (c *Client) ExportImages(opts ExportImagesOptions) error + func (c *Client) FilteredListNetworks(opts NetworkFilterOpts) ([]Network, error) + func (c *Client) GetPluginPrivileges(remote string, ctx context.Context) ([]PluginPrivilege, error) + func (c *Client) GetPluginPrivilegesWithOptions(opts GetPluginPrivilegesOptions) ([]PluginPrivilege, error) + func (c *Client) GetServiceLogs(opts LogsServiceOptions) error + func (c *Client) ImageHistory(name string) ([]ImageHistory, error) + func (c *Client) ImportImage(opts ImportImageOptions) error + func (c *Client) Info() (*DockerInfo, error) + func (c *Client) InitSwarm(opts InitSwarmOptions) (string, error) + func (c *Client) InspectConfig(id string) (*swarm.Config, error) + func (c *Client) InspectContainer(id string) (*Container, error) + func (c *Client) InspectContainerWithContext(id string, ctx context.Context) (*Container, error) + func (c *Client) InspectContainerWithOptions(opts InspectContainerOptions) (*Container, error) + func (c *Client) InspectDistribution(name string) (*registry.DistributionInspect, error) + func (c *Client) InspectExec(id string) (*ExecInspect, error) + func (c *Client) InspectImage(name string) (*Image, error) + func (c *Client) InspectNode(id string) (*swarm.Node, error) + func (c *Client) InspectPlugins(name string, ctx context.Context) (*PluginDetail, error) + func (c *Client) InspectSecret(id string) (*swarm.Secret, error) + func (c *Client) InspectService(id string) (*swarm.Service, error) + func (c *Client) InspectSwarm(ctx context.Context) (swarm.Swarm, error) + func (c *Client) InspectTask(id string) (*swarm.Task, error) + func (c *Client) InspectVolume(name string) (*Volume, error) + func (c *Client) InstallPlugins(opts InstallPluginOptions) error + func (c *Client) JoinSwarm(opts JoinSwarmOptions) error + func (c *Client) KillContainer(opts KillContainerOptions) error + func (c *Client) LeaveSwarm(opts LeaveSwarmOptions) error + func (c *Client) ListConfigs(opts ListConfigsOptions) ([]swarm.Config, error) + func (c *Client) ListContainers(opts ListContainersOptions) ([]APIContainers, error) + func (c *Client) ListFilteredPlugins(opts ListFilteredPluginsOptions) ([]PluginDetail, error) + func (c *Client) ListImages(opts ListImagesOptions) ([]APIImages, error) + func (c *Client) ListNetworks() ([]Network, error) + func (c *Client) ListNodes(opts ListNodesOptions) ([]swarm.Node, error) + func (c *Client) ListPlugins(ctx context.Context) ([]PluginDetail, error) + func (c *Client) ListSecrets(opts ListSecretsOptions) ([]swarm.Secret, error) + func (c *Client) ListServices(opts ListServicesOptions) ([]swarm.Service, error) + func (c *Client) ListTasks(opts ListTasksOptions) ([]swarm.Task, error) + func (c *Client) ListVolumes(opts ListVolumesOptions) ([]Volume, error) + func (c *Client) LoadImage(opts LoadImageOptions) error + func (c *Client) Logs(opts LogsOptions) error + func (c *Client) NetworkInfo(id string) (*Network, error) + func (c *Client) PauseContainer(id string) error + func (c *Client) Ping() error + func (c *Client) PingWithContext(ctx context.Context) error + func (c *Client) PruneContainers(opts PruneContainersOptions) (*PruneContainersResults, error) + func (c *Client) PruneImages(opts PruneImagesOptions) (*PruneImagesResults, error) + func (c *Client) PruneNetworks(opts PruneNetworksOptions) (*PruneNetworksResults, error) + func (c *Client) PruneVolumes(opts PruneVolumesOptions) (*PruneVolumesResults, error) + func (c *Client) PullImage(opts PullImageOptions, auth AuthConfiguration) error + func (c *Client) PushImage(opts PushImageOptions, auth AuthConfiguration) error + func (c *Client) PushPlugin(opts PushPluginOptions) error + func (c *Client) RemoveConfig(opts RemoveConfigOptions) error + func (c *Client) RemoveContainer(opts RemoveContainerOptions) error + func (c *Client) RemoveEventListener(listener chan *APIEvents) error + func (c *Client) RemoveImage(name string) error + func (c *Client) RemoveImageExtended(name string, opts RemoveImageOptions) error + func (c *Client) RemoveNetwork(id string) error + func (c *Client) RemoveNode(opts RemoveNodeOptions) error + func (c *Client) RemovePlugin(opts RemovePluginOptions) (*PluginDetail, error) + func (c *Client) RemoveSecret(opts RemoveSecretOptions) error + func (c *Client) RemoveService(opts RemoveServiceOptions) error + func (c *Client) RemoveVolume(name string) error + func (c *Client) RemoveVolumeWithOptions(opts RemoveVolumeOptions) error + func (c *Client) RenameContainer(opts RenameContainerOptions) error + func (c *Client) ResizeContainerTTY(id string, height, width int) error + func (c *Client) ResizeExecTTY(id string, height, width int) error + func (c *Client) RestartContainer(id string, timeout uint) error + func (c *Client) SearchImages(term string) ([]APIImageSearch, error) + func (c *Client) SearchImagesEx(term string, auth AuthConfiguration) ([]APIImageSearch, error) + func (c *Client) SetTimeout(t time.Duration) + func (c *Client) StartContainer(id string, hostConfig *HostConfig) error + func (c *Client) StartContainerWithContext(id string, hostConfig *HostConfig, ctx context.Context) error + func (c *Client) StartExec(id string, opts StartExecOptions) error + func (c *Client) StartExecNonBlocking(id string, opts StartExecOptions) (CloseWaiter, error) + func (c *Client) Stats(opts StatsOptions) (retErr error) + func (c *Client) StopContainer(id string, timeout uint) error + func (c *Client) StopContainerWithContext(id string, timeout uint, ctx context.Context) error + func (c *Client) TagImage(name string, opts TagImageOptions) error + func (c *Client) TopContainer(id string, psArgs string) (TopResult, error) + func (c *Client) UnpauseContainer(id string) error + func (c *Client) UpdateConfig(id string, opts UpdateConfigOptions) error + func (c *Client) UpdateContainer(id string, opts UpdateContainerOptions) error + func (c *Client) UpdateNode(id string, opts UpdateNodeOptions) error + func (c *Client) UpdateSecret(id string, opts UpdateSecretOptions) error + func (c *Client) UpdateService(id string, opts UpdateServiceOptions) error + func (c *Client) UpdateSwarm(opts UpdateSwarmOptions) error + func (c *Client) UploadToContainer(id string, opts UploadToContainerOptions) error + func (c *Client) Version() (*Env, error) + func (c *Client) VersionWithContext(ctx context.Context) (*Env, error) + func (c *Client) WaitContainer(id string) (int, error) + func (c *Client) WaitContainerWithContext(id string, ctx context.Context) (int, error) + func (c *Client) WithTransport(trFunc func() *http.Transport) + type CloseWaiter interface + Wait func() error + type CommitContainerOptions struct + Author string + Changes []string + Container string + Context context.Context + Message string + Repository string + Run *Config + Tag string + type Config struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + CPUSet string + CPUShares int64 + Cmd []string + DNS []string + Domainname string + Entrypoint []string + Env []string + ExposedPorts map[Port]struct{} + Healthcheck *HealthConfig + Hostname string + Image string + KernelMemory int64 + Labels map[string]string + MacAddress string + Memory int64 + MemoryReservation int64 + MemorySwap int64 + Mounts []Mount + NetworkDisabled bool + OnBuild []string + OpenStdin bool + PortSpecs []string + PublishService string + SecurityOpts []string + Shell []string + StdinOnce bool + StopSignal string + StopTimeout int + Tty bool + User string + VolumeDriver string + Volumes map[string]struct{} + VolumesFrom string + WorkingDir string + type ConfigurePluginOptions struct + Context context.Context + Envs []string + Name string + type Container struct + AppArmorProfile string + Args []string + Config *Config + Created time.Time + Driver string + ExecIDs []string + GraphDriver *GraphDriver + HostConfig *HostConfig + HostnamePath string + HostsPath string + ID string + Image string + LogPath string + MountLabel string + Mounts []Mount + Name string + NetworkSettings *NetworkSettings + Node *SwarmNode + Path string + Platform string + ProcessLabel string + ResolvConfPath string + RestartCount int + SizeRootFs int64 + SizeRw int64 + State State + SysInitPath string + Volumes map[string]string + VolumesRW map[string]bool + type ContainerAlreadyRunning struct + ID string + func (err *ContainerAlreadyRunning) Error() string + type ContainerNetwork struct + Aliases []string + EndpointID string + Gateway string + GlobalIPv6Address string + GlobalIPv6PrefixLen int + IPAddress string + IPPrefixLen int + IPv6Gateway string + MacAddress string + NetworkID string + type ContainerNotRunning struct + ID string + func (err *ContainerNotRunning) Error() string + type CopyFromContainerOptions struct + Container string + Context context.Context + OutputStream io.Writer + Resource string + type CreateConfigOptions struct + Auth AuthConfiguration + Context context.Context + type CreateContainerOptions struct + Config *Config + Context context.Context + HostConfig *HostConfig + Name string + NetworkingConfig *NetworkingConfig + type CreateExecOptions struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + Container string + Context context.Context + DetachKeys string + Env []string + Privileged bool + Tty bool + User string + WorkingDir string + type CreateNetworkOptions struct + Attachable bool + CheckDuplicate bool + ConfigFrom *NetworkConfigFrom + ConfigOnly bool + Context context.Context + Driver string + EnableIPv6 bool + IPAM *IPAMOptions + Ingress bool + Internal bool + Labels map[string]string + Name string + Options map[string]interface{} + Scope string + type CreatePluginOptions struct + Context context.Context + Name string + Path string + type CreateSecretOptions struct + Auth AuthConfiguration + Context context.Context + type CreateServiceOptions struct + Auth AuthConfiguration + Context context.Context + type CreateVolumeOptions struct + Context context.Context + Driver string + DriverOpts map[string]string + Labels map[string]string + Name string + type Device struct + CgroupPermissions string + PathInContainer string + PathOnHost string + type DeviceRequest struct + Capabilities [][]string + Count int + DeviceIDs []string + Driver string + Options map[string]string + type Dialer interface + Dial func(network, address string) (net.Conn, error) + type DisablePluginOptions struct + Context context.Context + Name string + type DiskUsage struct + Containers []*APIContainers + Images []*ImageSummary + LayersSize int64 + Volumes []*Volume + type DiskUsageOptions struct + Context context.Context + type DockerInfo struct + Architecture string + BridgeNfIP6tables bool + BridgeNfIptables bool + CPUCfsPeriod bool + CPUCfsQuota bool + CPUSet bool + CPUShares bool + CgroupDriver string + ClusterAdvertise string + ClusterStore string + Containers int + ContainersPaused int + ContainersRunning int + ContainersStopped int + Debug bool + DefaultRuntime string + DockerRootDir string + Driver string + DriverStatus [][2]string + ExecutionDriver string + ExperimentalBuild bool + HTTPProxy string + HTTPSProxy string + ID string + IPv4Forwarding bool + Images int + IndexServerAddress string + InitBinary string + Isolation string + KernelMemory bool + KernelVersion string + Labels []string + LiveRestoreEnabled bool + LoggingDriver string + MemTotal int64 + MemoryLimit bool + NCPU int + NEventsListener int + NFd int + NGoroutines int + Name string + NoProxy string + OSType string + OomKillDisable bool + OperatingSystem string + Plugins PluginsInfo + RegistryConfig *ServiceConfig + Runtimes map[string]Runtime + SecurityOptions []string + ServerVersion string + SwapLimit bool + Swarm swarm.Info + SystemStatus [][2]string + SystemTime string + type DownloadFromContainerOptions struct + Context context.Context + InactivityTimeout time.Duration + OutputStream io.Writer + Path string + type EnablePluginOptions struct + Context context.Context + Name string + Timeout int64 + type Endpoint struct + ID string + IPv4Address string + IPv6Address string + MacAddress string + Name string + type EndpointConfig struct + Aliases []string + DriverOpts map[string]string + EndpointID string + Gateway string + GlobalIPv6Address string + GlobalIPv6PrefixLen int + IPAMConfig *EndpointIPAMConfig + IPAddress string + IPPrefixLen int + IPv6Gateway string + Links []string + MacAddress string + NetworkID string + type EndpointIPAMConfig struct + IPv4Address string + IPv6Address string + type Env []string + func (env *Env) Decode(src io.Reader) error + func (env *Env) Exists(key string) bool + func (env *Env) Get(key string) (value string) + func (env *Env) GetBool(key string) (value bool) + func (env *Env) GetInt(key string) int + func (env *Env) GetInt64(key string) int64 + func (env *Env) GetJSON(key string, iface interface{}) error + func (env *Env) GetList(key string) []string + func (env *Env) Map() map[string]string + func (env *Env) Set(key, value string) + func (env *Env) SetAuto(key string, value interface{}) + func (env *Env) SetBool(key string, value bool) + func (env *Env) SetInt(key string, value int) + func (env *Env) SetInt64(key string, value int64) + func (env *Env) SetJSON(key string, value interface{}) error + func (env *Env) SetList(key string, value []string) error + type Error struct + Message string + Status int + func (e *Error) Error() string + type Exec struct + ID string + type ExecInspect struct + CanRemove bool + ContainerID string + DetachKeys string + ExitCode int + ID string + OpenStderr bool + OpenStdin bool + OpenStdout bool + ProcessConfig ExecProcessConfig + Running bool + type ExecProcessConfig struct + Arguments []string + EntryPoint string + Privileged bool + Tty bool + User string + type ExportContainerOptions struct + Context context.Context + ID string + InactivityTimeout time.Duration + OutputStream io.Writer + type ExportImageOptions struct + Context context.Context + InactivityTimeout time.Duration + Name string + OutputStream io.Writer + type ExportImagesOptions struct + Context context.Context + InactivityTimeout time.Duration + Names []string + OutputStream io.Writer + type GetPluginPrivilegesOptions struct + Auth AuthConfiguration + Context context.Context + Remote string + type GraphDriver struct + Data map[string]string + Name string + type Health struct + FailingStreak int + Log []HealthCheck + Status string + type HealthCheck struct + End time.Time + ExitCode int + Output string + Start time.Time + type HealthConfig struct + Interval time.Duration + Retries int + StartPeriod time.Duration + Test []string + Timeout time.Duration + type HostConfig struct + AutoRemove bool + Binds []string + BlkioDeviceReadBps []BlockLimit + BlkioDeviceReadIOps []BlockLimit + BlkioDeviceWriteBps []BlockLimit + BlkioDeviceWriteIOps []BlockLimit + BlkioWeight int64 + BlkioWeightDevice []BlockWeight + CPUCount int64 + CPUPercent int64 + CPUPeriod int64 + CPUQuota int64 + CPURealtimePeriod int64 + CPURealtimeRuntime int64 + CPUSet string + CPUSetCPUs string + CPUSetMEMs string + CPUShares int64 + CapAdd []string + CapDrop []string + Capabilities []string + Cgroup string + CgroupParent string + CgroupnsMode string + ConsoleSize [2]int + ContainerIDFile string + DNS []string + DNSOptions []string + DNSSearch []string + DeviceCgroupRules []string + DeviceRequests []DeviceRequest + Devices []Device + ExtraHosts []string + GroupAdd []string + IOMaximumBandwidth int64 + IOMaximumIOps int64 + Init bool + IpcMode string + Isolation string + KernelMemory int64 + Links []string + LogConfig LogConfig + LxcConf []KeyValuePair + MaskedPaths []string + Memory int64 + MemoryReservation int64 + MemorySwap int64 + MemorySwappiness *int64 + Mounts []HostMount + NanoCPUs int64 + NetworkMode string + OOMKillDisable *bool + OomScoreAdj int + PidMode string + PidsLimit *int64 + PortBindings map[Port][]PortBinding + Privileged bool + PublishAllPorts bool + ReadonlyPaths []string + ReadonlyRootfs bool + RestartPolicy RestartPolicy + Runtime string + SecurityOpt []string + ShmSize int64 + StorageOpt map[string]string + Sysctls map[string]string + Tmpfs map[string]string + UTSMode string + Ulimits []ULimit + UsernsMode string + VolumeDriver string + VolumesFrom []string + type HostMount struct + BindOptions *BindOptions + ReadOnly bool + Source string + Target string + TempfsOptions *TempfsOptions + Type string + VolumeOptions *VolumeOptions + type IPAMConfig struct + AuxAddress map[string]string + Gateway string + IPRange string + Subnet string + type IPAMOptions struct + Config []IPAMConfig + Driver string + Options map[string]string + type Image struct + Architecture string + Author string + Comment string + Config *Config + Container string + ContainerConfig Config + Created time.Time + DockerVersion string + ID string + OS string + Parent string + RepoDigests []string + RepoTags []string + RootFS *RootFS + Size int64 + VirtualSize int64 + type ImageHistory struct + Comment string + Created int64 + CreatedBy string + ID string + Size int64 + Tags []string + type ImagePre012 struct + Architecture string + Author string + Comment string + Config *Config + Container string + ContainerConfig Config + Created time.Time + DockerVersion string + ID string + Parent string + Size int64 + type ImageSummary struct + Containers int64 + Created int64 + ID string + Labels map[string]string + ParentID string + RepoDigests []string + RepoTags []string + SharedSize int64 + Size int64 + VirtualSize int64 + type ImportImageOptions struct + Context context.Context + InactivityTimeout time.Duration + InputStream io.Reader + OutputStream io.Writer + RawJSONStream bool + Repository string + Source string + Tag string + type IndexInfo struct + Mirrors []string + Name string + Official bool + Secure bool + type InitSwarmOptions struct + Context context.Context + type InspectContainerOptions struct + Context context.Context + ID string + Size bool + type InstallPluginOptions struct + Auth AuthConfiguration + Context context.Context + Name string + Plugins []PluginPrivilege + Remote string + type JoinSwarmOptions struct + Context context.Context + type KeyValuePair struct + Key string + Value string + type KillContainerOptions struct + Context context.Context + ID string + Signal Signal + type LeaveSwarmOptions struct + Context context.Context + Force bool + type ListConfigsOptions struct + Context context.Context + Filters map[string][]string + type ListContainersOptions struct + All bool + Before string + Context context.Context + Filters map[string][]string + Limit int + Since string + Size bool + type ListFilteredPluginsOptions struct + Context context.Context + Filters map[string][]string + type ListImagesOptions struct + All bool + Context context.Context + Digests bool + Filter string + Filters map[string][]string + type ListNodesOptions struct + Context context.Context + Filters map[string][]string + type ListSecretsOptions struct + Context context.Context + Filters map[string][]string + type ListServicesOptions struct + Context context.Context + Filters map[string][]string + Status bool + type ListTasksOptions struct + Context context.Context + Filters map[string][]string + type ListVolumesOptions struct + Context context.Context + Filters map[string][]string + type LoadImageOptions struct + Context context.Context + InputStream io.Reader + OutputStream io.Writer + type LogConfig struct + Config map[string]string + Type string + type LogsOptions struct + Container string + Context context.Context + ErrorStream io.Writer + Follow bool + InactivityTimeout time.Duration + OutputStream io.Writer + RawTerminal bool + Since int64 + Stderr bool + Stdout bool + Tail string + Timestamps bool + type LogsServiceOptions struct + Context context.Context + Details bool + ErrorStream io.Writer + Follow bool + InactivityTimeout time.Duration + OutputStream io.Writer + RawTerminal bool + Service string + Since int64 + Stderr bool + Stdout bool + Tail string + Timestamps bool + type Mount struct + Destination string + Driver string + Mode string + Name string + RW bool + Source string + type NetIPNet net.IPNet + func (ipnet *NetIPNet) MarshalJSON() ([]byte, error) + func (ipnet *NetIPNet) UnmarshalJSON(b []byte) (err error) + type Network struct + Containers map[string]Endpoint + Driver string + EnableIPv6 bool + ID string + IPAM IPAMOptions + Internal bool + Labels map[string]string + Name string + Options map[string]string + Scope string + type NetworkConfigFrom struct + Network string + type NetworkConnectionOptions struct + Container string + Context context.Context + EndpointConfig *EndpointConfig + Force bool + type NetworkFilterOpts map[string]map[string]bool + type NetworkList struct + Networks map[string]ContainerNetwork + type NetworkSettings struct + Bridge string + EndpointID string + Gateway string + GlobalIPv6Address string + GlobalIPv6PrefixLen int + IPAddress string + IPPrefixLen int + IPv6Gateway string + LinkLocalIPv6Address string + LinkLocalIPv6PrefixLen int + MacAddress string + NetworkID string + Networks map[string]ContainerNetwork + PortMapping map[string]PortMapping + Ports map[Port][]PortBinding + SandboxKey string + SecondaryIPAddresses []string + SecondaryIPv6Addresses []string + func (settings *NetworkSettings) PortMappingAPI() []APIPort + type NetworkStats struct + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + RxPackets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + type NetworkingConfig struct + EndpointsConfig map[string]*EndpointConfig + type NoSuchConfig struct + Err error + ID string + func (err *NoSuchConfig) Error() string + type NoSuchContainer struct + Err error + ID string + func (err *NoSuchContainer) Error() string + type NoSuchExec struct + ID string + func (err *NoSuchExec) Error() string + type NoSuchNetwork struct + ID string + func (err *NoSuchNetwork) Error() string + type NoSuchNetworkOrContainer struct + ContainerID string + NetworkID string + func (err *NoSuchNetworkOrContainer) Error() string + type NoSuchNode struct + Err error + ID string + func (err *NoSuchNode) Error() string + type NoSuchPlugin struct + Err error + ID string + func (err *NoSuchPlugin) Error() string + type NoSuchSecret struct + Err error + ID string + func (err *NoSuchSecret) Error() string + type NoSuchService struct + Err error + ID string + func (err *NoSuchService) Error() string + type NoSuchTask struct + Err error + ID string + func (err *NoSuchTask) Error() string + type PluginArgs struct + Description string + Name string + Settable []string + Value []string + type PluginConfig struct + Args PluginArgs + Description string + Documentation string + Entrypoint []string + Env []PluginEnv + Interface PluginInterface + Linux PluginLinux + Mounts []Mount + Network PluginNetwork + PropagatedMount string + User PluginUser + WorkDir string + type PluginDetail struct + Active bool + Config PluginConfig + ID string + Name string + Settings PluginSettings + Tag string + type PluginEnv struct + Description string + Name string + Settable []string + Value string + type PluginInterface struct + Socket string + Types []string + type PluginLinux struct + AllowAllDevices bool + Capabilities []string + Devices []PluginLinuxDevices + type PluginLinuxDevices struct + Description string + Name string + Path string + Settable []string + type PluginNetwork struct + Type string + type PluginPrivilege struct + Description string + Name string + Value []string + type PluginSettings struct + Args []string + Devices []string + Env []string + type PluginUser struct + GID int32 + UID int32 + type PluginsInfo struct + Authorization []string + Network []string + Volume []string + type Port string + func (p Port) Port() string + func (p Port) Proto() string + type PortBinding struct + HostIP string + HostPort string + type PortMapping map[string]string + type PruneContainersOptions struct + Context context.Context + Filters map[string][]string + type PruneContainersResults struct + ContainersDeleted []string + SpaceReclaimed int64 + type PruneImagesOptions struct + Context context.Context + Filters map[string][]string + type PruneImagesResults struct + ImagesDeleted []struct{ ... } + SpaceReclaimed int64 + type PruneNetworksOptions struct + Context context.Context + Filters map[string][]string + type PruneNetworksResults struct + NetworksDeleted []string + type PruneVolumesOptions struct + Context context.Context + Filters map[string][]string + type PruneVolumesResults struct + SpaceReclaimed int64 + VolumesDeleted []string + type PullImageOptions struct + Context context.Context + InactivityTimeout time.Duration + OutputStream io.Writer + Platform string + RawJSONStream bool + Registry string + Repository string + Tag string + type PushImageOptions struct + Context context.Context + InactivityTimeout time.Duration + Name string + OutputStream io.Writer + RawJSONStream bool + Registry string + Tag string + type PushPluginOptions struct + Context context.Context + Name string + type RemoveConfigOptions struct + Context context.Context + ID string + type RemoveContainerOptions struct + Context context.Context + Force bool + ID string + RemoveVolumes bool + type RemoveImageOptions struct + Context context.Context + Force bool + NoPrune bool + type RemoveNodeOptions struct + Context context.Context + Force bool + ID string + type RemovePluginOptions struct + Context context.Context + Force bool + Name string + type RemoveSecretOptions struct + Context context.Context + ID string + type RemoveServiceOptions struct + Context context.Context + ID string + type RemoveVolumeOptions struct + Context context.Context + Force bool + Name string + type RenameContainerOptions struct + Context context.Context + ID string + Name string + type RestartPolicy struct + MaximumRetryCount int + Name string + func AlwaysRestart() RestartPolicy + func NeverRestart() RestartPolicy + func RestartOnFailure(maxRetry int) RestartPolicy + func RestartUnlessStopped() RestartPolicy + type RootFS struct + Layers []string + Type string + type Runtime struct + Args []string + Path string + type ServiceConfig struct + IndexConfigs map[string]*IndexInfo + InsecureRegistryCIDRs []*NetIPNet + Mirrors []string + type Signal int + type StartExecOptions struct + Context context.Context + Detach bool + ErrorStream io.Writer + InputStream io.Reader + OutputStream io.Writer + RawTerminal bool + Success chan struct{} + Tty bool + type State struct + Dead bool + Error string + ExitCode int + FinishedAt time.Time + Health Health + OOMKilled bool + Paused bool + Pid int + RemovalInProgress bool + Restarting bool + Running bool + StartedAt time.Time + Status string + func (s *State) StateString() string + func (s *State) String() string + type Stats struct + BlkioStats struct{ ... } + CPUStats CPUStats + MemoryStats struct{ ... } + Network NetworkStats + Networks map[string]NetworkStats + NumProcs uint32 + PidsStats struct{ ... } + PreCPUStats CPUStats + PreRead time.Time + Read time.Time + StorageStats struct{ ... } + type StatsOptions struct + Context context.Context + Done <-chan bool + ID string + InactivityTimeout time.Duration + Stats chan<- *Stats + Stream bool + Timeout time.Duration + type SwarmNode struct + Addr string + CPUs int64 + ID string + IP string + Labels map[string]string + Memory int64 + Name string + type TagImageOptions struct + Context context.Context + Force bool + Repo string + Tag string + type TempfsOptions struct + Mode int + SizeBytes int64 + type TopResult struct + Processes [][]string + Titles []string + type ULimit struct + Hard int64 + Name string + Soft int64 + type UpdateConfigOptions struct + Auth AuthConfiguration + Context context.Context + Version uint64 + type UpdateContainerOptions struct + BlkioWeight int + CPUPeriod int + CPUQuota int + CPURealtimePeriod int64 + CPURealtimeRuntime int64 + CPUShares int + Context context.Context + CpusetCpus string + CpusetMems string + KernelMemory int + Memory int + MemoryReservation int + MemorySwap int + RestartPolicy RestartPolicy + type UpdateNodeOptions struct + Context context.Context + Version uint64 + type UpdateSecretOptions struct + Auth AuthConfiguration + Context context.Context + Version uint64 + type UpdateServiceOptions struct + Auth AuthConfiguration + Context context.Context + Rollback string + Version uint64 + type UpdateSwarmOptions struct + Context context.Context + RotateManagerToken bool + RotateWorkerToken bool + Swarm swarm.Spec + Version int + type UploadToContainerOptions struct + Context context.Context + InputStream io.Reader + NoOverwriteDirNonDir bool + Path string + type Volume struct + CreatedAt time.Time + Driver string + Labels map[string]string + Mountpoint string + Name string + Options map[string]string + type VolumeDriverConfig struct + Name string + Options map[string]string + type VolumeOptions struct + DriverConfig VolumeDriverConfig + Labels map[string]string + NoCopy bool + type VolumeUsageData struct + RefCount int64 + Size int64