Documentation ¶
Index ¶
- Constants
- func AddInterface(client *lxdlib.Client, name string, prefix string, ifname string, ...) error
- func ClearBackup(path string) error
- func CreateContainer(client *lxdlib.Client, name string, keep bool, logdir, mngIf, bridgeIf string) error
- func DeleteContainer(client *lxdlib.Client, name string)
- func DeleteInterface(client *lxdlib.Client, name string, ifname string) error
- func LoadProfile(client *lxdlib.Client, name, path string) error
- func MakeLogDir(name string) string
- func ParseInterfaceArgs(args []string) map[string]string
- func RmLogDir(name string)
- func SaveProfile(client *lxdlib.Client, name, path string) error
- func SetInterface(client *lxdlib.Client, name string, ifname string, negate bool, args ...string) error
- func StrOperations() string
- func Usage(code int)
- type Args
- type Operation
Constants ¶
View Source
const ( PROFILE_BACKUP_DIR = "/tmp" PROFILE_IMAGE_NANE = "base" CONTAINER_LOG_DIR = "/var/log/beluganos" )
Variables ¶
This section is empty.
Functions ¶
func AddInterface ¶
func ClearBackup ¶
func CreateContainer ¶
func DeleteContainer ¶
func DeleteInterface ¶
func MakeLogDir ¶ added in v0.3.0
func ParseInterfaceArgs ¶
func SetInterface ¶
func StrOperations ¶
func StrOperations() string
Types ¶
Click to show internal directories.
Click to hide internal directories.