Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Kubectl ¶
func Kubectl(withstderr, verbose bool, kubectlbin, cmd string, args ...string) (result string, err error)
Kubectl executes a 'kubectl xxx' command and returns the literal result. The first two parameters influence output behavior: withstderr adds stderr output, of the kubectl invocation and verbose gives additional details. For example:
Kubectl(false, false, "~/bin/kubectl", "get", "--namespace=foo", "pods", "--output=yaml")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.

