Versions in this module Expand all Collapse all v0 v0.8.1 May 10, 2017 Changes in this version + type Process struct + AdditionalGroup []string + Args []string + Container string + Envs []string + Group string + Id string + Terminal bool + User string + Workdir string + func (*Process) Descriptor() ([]byte, []int) + func (*Process) ProtoMessage() + func (m *Process) Reset() + func (m *Process) String() string type SandboxConfig + DnsOptions []string + DnsSearch []string v0.8.0 Mar 21, 2017 Changes in this version + type ContainerDescription struct + Args []string + Envs map[string]string + Id string + Image string + Initialize bool + Labels map[string]string + MountId string + Name string + Path string + Rlimits []*Rlimit + RootPath string + RootVolume *VolumeDescription + StopSignal string + Sysctl map[string]string + Tty bool + UGI *UserGroupInfo + Volumes map[string]*VolumeReference + Workdir string + func ContainerDescriptionFromOCF(id string, s *specs.Spec) *ContainerDescription + func (*ContainerDescription) Descriptor() ([]byte, []int) + func (*ContainerDescription) ProtoMessage() + func (m *ContainerDescription) GetEnvs() map[string]string + func (m *ContainerDescription) GetLabels() map[string]string + func (m *ContainerDescription) GetRlimits() []*Rlimit + func (m *ContainerDescription) GetRootVolume() *VolumeDescription + func (m *ContainerDescription) GetSysctl() map[string]string + func (m *ContainerDescription) GetUGI() *UserGroupInfo + func (m *ContainerDescription) GetVolumes() map[string]*VolumeReference + func (m *ContainerDescription) Reset() + func (m *ContainerDescription) String() string + type InterfaceDescription struct + Bridge string + Gw string + Id string + Ip string + Lo bool + Mac string + TapName string + func (*InterfaceDescription) Descriptor() ([]byte, []int) + func (*InterfaceDescription) ProtoMessage() + func (m *InterfaceDescription) Reset() + func (m *InterfaceDescription) String() string + type NeighborNetworks struct + ExternalNetworks []string + InternalNetworks []string + func (*NeighborNetworks) Descriptor() ([]byte, []int) + func (*NeighborNetworks) ProtoMessage() + func (m *NeighborNetworks) Reset() + func (m *NeighborNetworks) String() string + type PortDescription struct + ContainerPort int32 + HostPort int32 + Protocol string + func (*PortDescription) Descriptor() ([]byte, []int) + func (*PortDescription) ProtoMessage() + func (m *PortDescription) Reset() + func (m *PortDescription) String() string + type ProcessExit struct + Code int + FinishedAt time.Time + Id string + type Result interface + IsSuccess func() bool + Message func() string + ResultId func() string + type ResultBase struct + Id string + ResultMessage string + Success bool + func NewResultBase(id string, success bool, message string) *ResultBase + func (r *ResultBase) IsSuccess() bool + func (r *ResultBase) Message() string + func (r *ResultBase) ResultId() string + type Rlimit struct + Hard uint64 + Soft uint64 + Type string + func (*Rlimit) Descriptor() ([]byte, []int) + func (*Rlimit) ProtoMessage() + func (m *Rlimit) Reset() + func (m *Rlimit) String() string + type SandboxConfig struct + Dns []string + Hostname string + Neighbors *NeighborNetworks + func SandboxInfoFromOCF(s *specs.Spec) *SandboxConfig + func (*SandboxConfig) Descriptor() ([]byte, []int) + func (*SandboxConfig) ProtoMessage() + func (m *SandboxConfig) GetNeighbors() *NeighborNetworks + func (m *SandboxConfig) Reset() + func (m *SandboxConfig) String() string + type SandboxHandler interface + type UserGroupInfo struct + AdditionalGroups []string + Group string + User string + func UGIFromOCF(u *specs.User) *UserGroupInfo + func (*UserGroupInfo) Descriptor() ([]byte, []int) + func (*UserGroupInfo) ProtoMessage() + func (m *UserGroupInfo) Reset() + func (m *UserGroupInfo) String() string + type VolumeDescription struct + DockerVolume bool + Format string + Fstype string + Name string + Options *VolumeOption + Source string + func (*VolumeDescription) Descriptor() ([]byte, []int) + func (*VolumeDescription) ProtoMessage() + func (m *VolumeDescription) GetOptions() *VolumeOption + func (m *VolumeDescription) Reset() + func (m *VolumeDescription) String() string + func (v *VolumeDescription) IsDir() bool + func (v *VolumeDescription) IsNas() bool + type VolumeMount struct + Path string + ReadOnly bool + func (*VolumeMount) Descriptor() ([]byte, []int) + func (*VolumeMount) ProtoMessage() + func (m *VolumeMount) Reset() + func (m *VolumeMount) String() string + type VolumeOption struct + BytesPerSec int32 + Iops int32 + Keyring string + Monitors []string + User string + func (*VolumeOption) Descriptor() ([]byte, []int) + func (*VolumeOption) ProtoMessage() + func (m *VolumeOption) Reset() + func (m *VolumeOption) String() string + type VolumeReference struct + MountPoints []*VolumeMount + Name string + func (*VolumeReference) Descriptor() ([]byte, []int) + func (*VolumeReference) ProtoMessage() + func (m *VolumeReference) GetMountPoints() []*VolumeMount + func (m *VolumeReference) Reset() + func (m *VolumeReference) String() string