Documentation ¶
Index ¶
- Constants
- func ConfigUseContext(context string) error
- func DeleteExecutable() error
- func DeleteWorkingDirectory() error
- func DownloadExecutable(kubectlURL string, kubectlVersion string) error
- func Get(namespace string, resourceType string, resourceName string, jsonPath string) (string, error)
- func Patch(namespace string, resourceType string, resourceName string, patch string) error
- func Version() error
Constants ¶
View Source
const ( DEFAULT_URL = "https://storage.googleapis.com/kubernetes-release/release/%s/bin/windows/amd64/kubectl.exe" LOCAL_EXECUTABLE_NAME = "kubectl.exe" )
Variables ¶
This section is empty.
Functions ¶
func DeleteWorkingDirectory ¶ added in v1.5.0
func DeleteWorkingDirectory() error
DeleteWorkingDirectory ...
func DownloadExecutable ¶ added in v1.5.0
DownloadExecutable ...
func Get ¶ added in v1.11.0
func Get(namespace string, resourceType string, resourceName string, jsonPath string) (string, error)
Get ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.