Documentation ¶
Index ¶
- func DecodeRecoveryToken(recoverytoken string) []string
- func EncodeRecoveryToken(data ...string) string
- func Flavor() string
- func GetInterfaceIP(in string) string
- func IsOpenRCBased() bool
- func K3sBin() string
- func ListOutput(rels []string, output string) []string
- func OSRelease(key string) (string, error)
- func OnSignal(fn func(), sig ...os.Signal)
- func PowerOFF()
- func PrintBanner(d []byte)
- func Prompt(t string) (string, error)
- func RandStringRunes(n int) string
- func Reboot()
- func SH(c string) (string, error)
- func SHInDir(c, dir string) (string, error)
- func SetEnv(env []string)
- func Shell() *exec.Cmd
- func ShellSTDIN(s, c string) (string, error)
- func Version() string
- func WriteEnv(envFile string, config map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeRecoveryToken ¶
func EncodeRecoveryToken ¶
func GetInterfaceIP ¶
func IsOpenRCBased ¶
func IsOpenRCBased() bool
func ListOutput ¶
func PrintBanner ¶
func PrintBanner(d []byte)
func RandStringRunes ¶
func ShellSTDIN ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.