Versions in this module Expand all Collapse all v0 v0.1.1 Jan 7, 2016 v0.1.0 Jan 4, 2016 Changes in this version + func IsPreDefinedNetwork(network string) bool + func ValidateIsolationLevel(hc *HostConfig) error — windows/amd64 + func ValidateNetMode(c *Config, hc *HostConfig) error — windows/amd64 + 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{} + Hostname string + Image string + Labels map[string]string + MacAddress string + NetworkDisabled bool + OnBuild []string + OpenStdin bool + PublishService string + StdinOnce bool + StopSignal string + Tty bool + User string + Volumes map[string]struct{} + WorkingDir string + type DeviceMapping struct + CgroupPermissions string + PathInContainer string + PathOnHost string + type HostConfig struct + Binds []string + CapAdd *strslice.StrSlice + CapDrop *strslice.StrSlice + ConsoleSize [2]int + ContainerIDFile string + DNS []string + DNSOptions []string + DNSSearch []string + ExtraHosts []string + GroupAdd []string + IpcMode IpcMode + Isolation IsolationLevel + Links []string + LogConfig LogConfig + NetworkMode NetworkMode + OomScoreAdj int + PidMode PidMode + PortBindings nat.PortMap + Privileged bool + PublishAllPorts bool + ReadonlyRootfs bool + RestartPolicy RestartPolicy + SecurityOpt []string + ShmSize *int64 + Tmpfs map[string]string + UTSMode UTSMode + 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 IsolationLevel string + func (i IsolationLevel) IsDefault() bool + func (i IsolationLevel) IsHyperV() bool + func (i IsolationLevel) IsProcess() bool + func (i IsolationLevel) IsValid() bool + type LogConfig struct + Config map[string]string + Type string + type NetworkMode string + func DefaultDaemonNetworkMode() NetworkMode + 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) 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 + CPUPeriod int64 + CPUQuota int64 + CPUShares int64 + CgroupParent string + CpusetCpus string + CpusetMems string + Devices []DeviceMapping + KernelMemory int64 + Memory int64 + MemoryReservation int64 + MemorySwap int64 + MemorySwappiness *int64 + OomKillDisable bool + 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) IsUnlessStopped() bool + type UTSMode string + func (n UTSMode) IsHost() bool + func (n UTSMode) IsPrivate() bool + func (n UTSMode) Valid() bool