Documentation ¶
Index ¶
- func AddSSHKeys(b *Burmilla, keys []string) error
- func ConfigExport(b *Burmilla) (*bosinit.Config, error)
- func ConfigGet(b *Burmilla, k string) (string, error)
- func ConfigMerge(b *Burmilla, config *bosinit.Config) error
- func ConfigMergeBad(b *Burmilla, config *bosinit.Config) error
- func ConfigSet(b *Burmilla, k, v string) error
- func GroupID(b *Burmilla, name string) (int, error)
- func HostIPs(b *Burmilla, dev string) ([]string, error)
- func ListOS(b *Burmilla) ([]string, error)
- func Mkdir(b *Burmilla, dir, user string) error
- func Uptime(b *Burmilla) (time.Duration, error)
- func UserID(b *Burmilla, name string) (int, error)
- type Burmilla
- type DiskUsage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSSHKeys ¶
AddSSHKeys adds SSH key into the OS's configuration.
func ConfigExport ¶
ConfigExport exports the Bumilla OS's configuration.
func ConfigGet ¶
ConfigGet a particular field from the OS's configuration.
func ConfigMerge ¶
ConfigMerge merges a configuration into the existing one.
func ConfigMergeBad ¶
ConfigMergeBad merges the config into the OS's configuration. Not working yet.
func ConfigSet ¶
ConfigSet modifies the OS's configuration.
func GroupID ¶
GroupID returns the gid of a particular user
func HostIPs ¶
HostIPs returns the ip addresses of the given network device.
func Mkdir ¶
Mkdir creates a directory in the console's file system.
func Uptime ¶
Uptime returns the uptime of the system.
Types ¶
type Burmilla ¶
type Burmilla struct {
// contains filtered or unexported fields
}
Burmilla provides the
func (*Burmilla) Console ¶
Console returns the console container.
func (*Burmilla) CopyInTarStream ¶
CopyInTarStream copies files into the console's filesystem.
func (*Burmilla) ExecOutput ¶
ExecOutput executes a command on the OS's console and returns its output.