Documentation ¶
Index ¶
- Variables
- func ConfigureSSH(host string, SSHUser string, SSHKey string) *ssh.Client
- func CountOfStringInSlice(str string, pods []Pod) int
- func DeployWorkload(workload, kubeconfig string, arch string) (string, error)
- func FetchClusterIP(kubeconfig string, servicename string) (string, error)
- func FetchIngressIP(kubeconfig string) ([]string, error)
- func FetchNodeExternalIP(kubeconfig string) []string
- func GetBasepath() string
- func RunCmdOnNode(cmd string, ServerIP string, SSHUser string, SSHKey string) (string, error)
- func RunCommand(cmd string) (string, error)
- type Node
- type Pod
Constants ¶
This section is empty.
Variables ¶
View Source
var SSHKEY string
View Source
var SSHUSER string
Functions ¶
func CountOfStringInSlice ¶
CountOfStringInSlice Used to count the pods using prefix passed in the list of pods
func FetchIngressIP ¶
func FetchNodeExternalIP ¶
func GetBasepath ¶
func GetBasepath() string
func RunCmdOnNode ¶
RunCmdOnNode executes a command from within the given node
func RunCommand ¶
RunCommand executes a command on the host
Types ¶
Click to show internal directories.
Click to hide internal directories.