Documentation ¶
Index ¶
- func CountOfStringInSlice(str string, pods []Pod) int
- func CreateCluster(nodeOS string, serverCount, agentCount int) ([]string, []string, error)
- func DeployWorkload(workload, kubeconfig string, arch bool) (string, error)
- func DestroyCluster() error
- func FetchClusterIP(kubeconfig string, servicename string) (string, error)
- func FetchIngressIP(kubeconfig string) ([]string, error)
- func FetchNodeExternalIP(nodename string) (string, error)
- func GenKubeConfigFile(serverName string) (string, error)
- func GetVagrantLog() string
- func RestartCluster(nodeNames []string) error
- func RunCmdOnNode(cmd string, nodename string) (string, error)
- func RunCommand(cmd string) (string, error)
- func UpgradeCluster(serverNodeNames []string, agentNodeNames []string) error
- type Node
- type Pod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountOfStringInSlice ¶
func CreateCluster ¶
func DestroyCluster ¶
func DestroyCluster() error
func FetchIngressIP ¶
func FetchNodeExternalIP ¶
func GenKubeConfigFile ¶
func GetVagrantLog ¶
func GetVagrantLog() string
func RestartCluster ¶
RestartCluster restarts the k3s service on each node given
func RunCmdOnNode ¶
RunCmdOnNode executes a command from within the given node
func RunCommand ¶
RunCommand executes a command on the host
func UpgradeCluster ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.