Versions in this module Expand all Collapse all v1 v1.0.0 Jun 10, 2014 Changes in this version + var ErrUnkownCapability = errors.New("Unknown capability") + var ErrUnkownNamespace = errors.New("Unknown namespace") + var ErrUnsupported = errors.New("Unsupported method") + func GetAllCapabilities() []string + type Capabilities []*Capability + func (c Capabilities) Contains(capp string) bool + func (c Capabilities) Get(capp string) *Capability + type Capability struct + Key string + Value capability.Cap + func GetCapability(key string) *Capability + func (c *Capability) String() string + type Container struct + Capabilities []string + Cgroups *cgroups.Cgroup + Context Context + DeviceNodes []*devices.Device + Env []string + Hostname string + Mounts Mounts + Namespaces map[string]bool + Networks []*Network + NoPivotRoot bool + ReadonlyFs bool + Routes []*Route + Tty bool + User string + WorkingDir string + type Context map[string]string + type Mount struct + Destination string + Private bool + Source string + Type string + Writable bool + type Mounts []Mount + func (s Mounts) OfType(t string) Mounts + type Namespace struct + File string + Key string + Value int + func GetNamespace(key string) *Namespace + func (ns *Namespace) String() string + type Namespaces []*Namespace + func (n Namespaces) Contains(ns string) bool + func (n Namespaces) Get(ns string) *Namespace + type Network struct + Address string + Context Context + Gateway string + Mtu int + Type string + type Route struct + Destination string + Gateway string + InterfaceName string + Source string