Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(flags *genericclioptions.ConfigFlags, args []string) error
Exec replaces the current process with a kubectl invocation
func ExecToString ¶
func ExecToString(flags *genericclioptions.ConfigFlags, args []string) (string, error)
ExecToString runs a kubectl subcommand and returns stdout as a string
func PodExecString ¶
func PodExecString(flags *genericclioptions.ConfigFlags, pod *apiv1.Pod, args []string) (string, error)
PodExecString takes a pod and a command, uses kubectl exec to run the command in the pod and returns stdout as a string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.