Versions in this module Expand all Collapse all v0 v0.9.1 Mar 25, 2014 v0.9.0 Mar 10, 2014 Changes in this version + var ErrUnkownCapability = errors.New("Unknown capability") + var ErrUnkownNamespace = errors.New("Unknown namespace") + var ErrUnsupported = errors.New("Unsupported method") + type Capabilities []*Capability + func (c Capabilities) Contains(capp string) bool + type Capability struct + Key string + Value capability.Cap + func GetCapability(key string) *Capability + func (c *Capability) MarshalJSON() ([]byte, error) + func (c *Capability) String() string + func (c *Capability) UnmarshalJSON(src []byte) error + type Container struct + Capabilities Capabilities + Cgroups *cgroups.Cgroup + Context Context + Env []string + Hostname string + Namespaces Namespaces + Networks []*Network + NoPivotRoot bool + ReadonlyFs bool + Tty bool + User string + WorkingDir string + type Context map[string]string + type Namespace struct + File string + Key string + Value int + func GetNamespace(key string) *Namespace + func (ns *Namespace) MarshalJSON() ([]byte, error) + func (ns *Namespace) String() string + func (ns *Namespace) UnmarshalJSON(src []byte) error + type Namespaces []*Namespace + func (n Namespaces) Contains(ns string) bool + type Network struct + Address string + Context Context + Gateway string + Mtu int + Type string