Versions in this module Expand all Collapse all v3 v3.9.3 Nov 9, 2021 v3.9.2 Oct 4, 2021 v3.9.1 Sep 28, 2021 v3.9.0 Sep 28, 2021 v3.8.0 Sep 2, 2021 Changes in this version + const IsolationDefault + const IsolationEmpty + const IsolationHyperV + const IsolationProcess + const MinimumDuration + type CgroupSpec string + func (c CgroupSpec) Container() string + func (c CgroupSpec) IsContainer() bool + func (c CgroupSpec) Valid() bool + type Config struct + ArgsEscaped bool + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd strslice.StrSlice + Domainname string + Entrypoint strslice.StrSlice + Env []string + ExposedPorts nat.PortSet + Healthcheck *HealthConfig + Hostname string + Image string + Labels map[string]string + MacAddress string + NetworkDisabled bool + OnBuild []string + OpenStdin bool + Shell strslice.StrSlice + StdinOnce bool + StopSignal string + StopTimeout *int + Tty bool + User string + Volumes map[string]struct{} + WorkingDir string + type ContainerChangeResponseItem struct + Kind uint8 + Path string + type ContainerCreateCreatedBody struct + ID string + Warnings []string + type ContainerTopOKBody struct + Processes [][]string + Titles []string + type ContainerUpdateOKBody struct + Warnings []string + type ContainerWaitOKBody struct + Error *ContainerWaitOKBodyError + StatusCode int64 + type ContainerWaitOKBodyError struct + Message string + type DeviceMapping struct + CgroupPermissions string + PathInContainer string + PathOnHost string + type HealthConfig struct + Interval time.Duration + Retries int + StartPeriod time.Duration + Test []string + Timeout time.Duration + type HostConfig struct + AutoRemove bool + Binds []string + CapAdd strslice.StrSlice + CapDrop strslice.StrSlice + Cgroup CgroupSpec + ConsoleSize [2]uint + ContainerIDFile string + DNS []string + DNSOptions []string + DNSSearch []string + ExtraHosts []string + GroupAdd []string + Init *bool + IpcMode IpcMode + Isolation Isolation + Links []string + LogConfig LogConfig + Mounts []mount.Mount + NetworkMode NetworkMode + OomScoreAdj int + PidMode PidMode + PortBindings nat.PortMap + Privileged bool + PublishAllPorts bool + ReadonlyRootfs bool + RestartPolicy RestartPolicy + Runtime string + SecurityOpt []string + ShmSize int64 + StorageOpt map[string]string + Sysctls map[string]string + Tmpfs map[string]string + UTSMode UTSMode + UsernsMode UsernsMode + VolumeDriver string + VolumesFrom []string + type IpcMode string + func (n IpcMode) Container() string + func (n IpcMode) IsContainer() bool + func (n IpcMode) IsEmpty() bool + func (n IpcMode) IsHost() bool + func (n IpcMode) IsNone() bool + func (n IpcMode) IsPrivate() bool + func (n IpcMode) IsShareable() bool + func (n IpcMode) Valid() bool + type Isolation string + func (i Isolation) IsDefault() bool + func (i Isolation) IsHyperV() bool + func (i Isolation) IsProcess() bool + func (i Isolation) IsValid() bool + type LogConfig struct + Config map[string]string + Type string + type LogMode string + const LogModeBlocking + const LogModeNonBlock + const LogModeUnset + type NetworkMode string + func (n NetworkMode) ConnectedContainer() string + func (n NetworkMode) IsBridge() bool + func (n NetworkMode) IsContainer() bool + func (n NetworkMode) IsDefault() bool + func (n NetworkMode) IsHost() bool + func (n NetworkMode) IsNone() bool + func (n NetworkMode) IsPrivate() bool + func (n NetworkMode) IsUserDefined() bool + func (n NetworkMode) NetworkName() string + func (n NetworkMode) UserDefined() string + type PidMode string + func (n PidMode) Container() string + func (n PidMode) IsContainer() bool + func (n PidMode) IsHost() bool + func (n PidMode) IsPrivate() bool + func (n PidMode) Valid() bool + type Resources struct + BlkioDeviceReadBps []*blkiodev.ThrottleDevice + BlkioDeviceReadIOps []*blkiodev.ThrottleDevice + BlkioDeviceWriteBps []*blkiodev.ThrottleDevice + BlkioDeviceWriteIOps []*blkiodev.ThrottleDevice + BlkioWeight uint16 + BlkioWeightDevice []*blkiodev.WeightDevice + CPUCount int64 + CPUPercent int64 + CPUPeriod int64 + CPUQuota int64 + CPURealtimePeriod int64 + CPURealtimeRuntime int64 + CPUShares int64 + CgroupParent string + CpusetCpus string + CpusetMems string + DeviceCgroupRules []string + Devices []DeviceMapping + DiskQuota int64 + IOMaximumBandwidth uint64 + IOMaximumIOps uint64 + KernelMemory int64 + Memory int64 + MemoryReservation int64 + MemorySwap int64 + MemorySwappiness *int64 + NanoCPUs int64 + OomKillDisable *bool + PidsLimit int64 + Ulimits []*units.Ulimit + type RestartPolicy struct + MaximumRetryCount int + Name string + func (rp *RestartPolicy) IsAlways() bool + func (rp *RestartPolicy) IsNone() bool + func (rp *RestartPolicy) IsOnFailure() bool + func (rp *RestartPolicy) IsSame(tp *RestartPolicy) bool + func (rp *RestartPolicy) IsUnlessStopped() bool + type UTSMode string + func (n UTSMode) IsHost() bool + func (n UTSMode) IsPrivate() bool + func (n UTSMode) Valid() bool + type UpdateConfig struct + RestartPolicy RestartPolicy + type UsernsMode string + func (n UsernsMode) IsHost() bool + func (n UsernsMode) IsPrivate() bool + func (n UsernsMode) Valid() bool + type WaitCondition string + const WaitConditionNextExit + const WaitConditionNotRunning + const WaitConditionRemoved