kubectl

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Create string = "create"
	Apply  string = "apply"
	Delete string = "delete"
)

Variables

View Source
var ArgocdApplicationNotExist pkgerror.ErrorMessage = "not found"

Functions

func KubeApply

func KubeApply(filename string) error

KubeApply runs "kubectl apply -f filename"

func KubeApplyFromIOReader added in v0.9.0

func KubeApplyFromIOReader(reader io.Reader) error

KubeApplyFromIOReader generates a temp file from io.Reader and runs "kubectl apply -f filename"

func KubeCreate added in v0.8.0

func KubeCreate(filename string) error

KubeCreate runs "kubectl create -f filename"

func KubeCreateFromIOReader added in v0.9.0

func KubeCreateFromIOReader(reader io.Reader) error

KubeCreateFromIOReader generates a temp file from io.Reader and runs "kubectl create -f filename"

func KubeDelete

func KubeDelete(filename string) error

KubeDelete runs "kubectl delete -f filename"

func KubeDeleteFromIOReader added in v0.9.0

func KubeDeleteFromIOReader(reader io.Reader) error

KubeDeleteFromIOReader generates a temp file from io.Reader and runs "kubectl delete -f filename"

Types

This section is empty.

Jump to

Keyboard shortcuts

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