Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "device-init", Short: "Initialize your device", Long: `device-init allows you to configure various aspect of your devices. This ranges from configuration as simple as setting a hostname to more complex stuff as configuring WiFi access.`, Run: func(cmd *cobra.Command, args []string) { if cfgFile != "" { setAllCommands() } else { cmd.Help() } }, }
This represents the base command when called without any subcommands
Functions ¶
Types ¶
type ClusterLabConfig ¶ added in v0.1.7
type Credentials ¶ added in v0.1.0
type Credentials struct {
Ssid, Password string
}
type DockerConfig ¶ added in v0.1.4
type DockerConfig struct {
Images []string
}
type WifiConfig ¶ added in v0.1.0
type WifiConfig struct {
Interfaces map[string]Credentials
}
Click to show internal directories.
Click to hide internal directories.