Versions in this module Expand all Collapse all v0 v0.1.1 Jan 28, 2023 v0.1.0 Jan 28, 2023 Changes in this version + 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 map[nat.Port]struct{} + 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 DeviceMapping struct + CgroupPermissions string + PathInContainer string + PathOnHost string + type HealthConfig struct + Interval time.Duration + Retries int + Test []string + Timeout time.Duration + type HostConfig struct + AutoRemove bool + Binds []string + CapAdd strslice.StrSlice + CapDrop strslice.StrSlice + Cgroup CgroupSpec + ConsoleSize [2]int + ContainerIDFile string + DNS []string + DNSOptions []string + DNSSearch []string + ExtraHosts []string + GroupAdd []string + 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) IsHost() bool + func (n IpcMode) IsPrivate() 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 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 + CPUShares int64 + CgroupParent string + CpusetCpus string + CpusetMems string + Devices []DeviceMapping + DiskQuota int64 + IOMaximumBandwidth uint64 + IOMaximumIOps uint64 + KernelMemory int64 + Memory int64 + MemoryReservation int64 + MemorySwap int64 + MemorySwappiness *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