Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommandInContainerWithFullOutput ¶
func ExecCommandInContainerWithFullOutput(client *kubernetes.Clientset, namespace, podName string, cmd []string) (string, string, error)
ExecCommandInContainerWithFullOutput executes a command in the specified container and return stdout, stderr and error
func ExecWithOptions ¶
func ExecWithOptions(client *kubernetes.Clientset, options ExecOptions) (string, string, error)
ExecWithOptions executes a command in the specified container, returning stdout, stderr and error. `options` allowed for additional parameters to be passed.
func GetClient ¶
func GetClient() (*kubernetes.Clientset, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.