Documentation ¶
Index ¶
Constants ¶
View Source
const ( BackendBaseDir = "/var/cache/containers" ContainerBaseRootDir = "/mnt" )
View Source
const (
DefaultBridgeName = "core-0"
)
Variables ¶
Functions ¶
func ContainerSubsystem ¶
func ContainerSubsystem(sinks map[string]base.SinkClient) error
Types ¶
type ContainerBridgeSettings ¶
type ContainerBridgeSettings [2]string
func (ContainerBridgeSettings) Name ¶
func (s ContainerBridgeSettings) Name() string
func (ContainerBridgeSettings) Setup ¶
func (s ContainerBridgeSettings) Setup() string
func (ContainerBridgeSettings) String ¶
func (s ContainerBridgeSettings) String() string
type ContainerCreateArguments ¶
type ContainerCreateArguments struct { Root string `json:"root"` //Root plist Mount map[string]string `json:"mount"` //data disk mounts. HostNetwork bool `json:"host_network"` //share host networking stack Network Network `json:"network"` //network setup (only respected if HostNetwork is false) Port map[int]int `json:"port"` //port forwards Hostname string `json:"hostname"` //hostname Storage string `json:"storage"` //ardb storage needed for g8ufs mounts. }
func (*ContainerCreateArguments) Valid ¶
func (c *ContainerCreateArguments) Valid() error
type ContainerInfo ¶ added in v1.0.0
type ContainerInfo struct { process.ProcessStats Root string `json:"root"` }
type ContainerTerminateArguments ¶
type ContainerTerminateArguments struct {
Container uint64 `json:"container"`
}
type Network ¶
type Network struct { ZeroTier string `json:"zerotier,omitempty"` Bridge []ContainerBridgeSettings `json:"bridge,omitempty"` }
Click to show internal directories.
Click to hide internal directories.