kubectl

package
v1.32.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

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 ConfigUseContext

func ConfigUseContext(context string) error

ConfigUseContext ...

func DeleteExecutable added in v1.5.0

func DeleteExecutable() error

DeleteExecutable ...

func DeleteWorkingDirectory added in v1.5.0

func DeleteWorkingDirectory() error

DeleteWorkingDirectory ...

func DownloadExecutable added in v1.5.0

func DownloadExecutable(kubectlURL string, kubectlVersion string) error

DownloadExecutable ...

func Get added in v1.11.0

func Get(namespace string, resourceType string, resourceName string, jsonPath string) (string, error)

Get ...

func Patch

func Patch(namespace string, resourceType string, resourceName string, patch string) error

Patch ...

func Version

func Version() error

Version ...

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL