Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Rke2Cmd ¶
Rke2Cmd launches the provided Rke2 command via exec. Command blocks until finished. Kubectl commands can also be passed. Command output from both Stderr and Stdout is provided via string. cmdEx1, err := Rke2Cmd("etcd-snapshot", "ls") cmdEx2, err := Rke2Cmd("kubectl", "get", "pods", "-A")
func Rke2ServerArgs ¶
Rke2ServerArgs returns the list of arguments that the rke2 server launched with
func ServerArgsPresent ¶
ServerArgsPresent checks if the given arguments are found in the running k3s server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.