Documentation ¶
Index ¶
- func Execute(args ...string)
- func ExecuteCmd(logOutput bool, args ...string)
- func GetDeployments(namespace string)
- func GetPods(namespace string)
- func GetStatefulSets(namespace string)
- func GetVolumes(namespace string)
- func RedirectOutput(stdOutFile *os.File, stdErrFile *os.File, args ...string)
- type CLIKubernetesClient
- type KubernetesClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteCmd ¶
func GetDeployments ¶
func GetDeployments(namespace string)
func GetStatefulSets ¶
func GetStatefulSets(namespace string)
func GetVolumes ¶
func GetVolumes(namespace string)
Types ¶
type CLIKubernetesClient ¶
type CLIKubernetesClient string
var ( Kubectl CLIKubernetesClient = "kubectl" Oc CLIKubernetesClient = "oc" )
type KubernetesClient ¶
type KubernetesClient struct {
Cmd CLIKubernetesClient
}
func GetCLIKubernetesClient ¶
func GetCLIKubernetesClient() *KubernetesClient
func NewCLIKubernetesClient ¶
func NewCLIKubernetesClient(cmd CLIKubernetesClient) *KubernetesClient
Click to show internal directories.
Click to hide internal directories.