Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TypeString string TypeInt int TypeUint uint )
View Source
var ( // Main folder for all container related files Workdir string = "/var/lib/sandal" Containers string = "" )
Functions ¶
func GenerateContainerId ¶
func GenerateContainerId() string
Types ¶
type Config ¶
type Config struct { Name string Created int64 HostPid int ContPid int LoopDevNo int TmpSize uint SquashfsFile string RootfsDir string ReadOnly bool Keep bool EnvAll bool Background bool NS NS ChangeDir string Exec string Devtmpfs string Resolv string Hosts string Status string Volumes Volumes Ifaces []NetIface }
func AllContainers ¶
func AllContainers() []Config
func LoadConfig ¶
func NewContainer ¶
func NewContainer() Config
func (*Config) ConfigFileLoc ¶
func (*Config) SaveConftoDisk ¶
Click to show internal directories.
Click to hide internal directories.