Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kubectl ¶
type Kubectl interface { // ShutDown downscales all statefulsets and deployments in the environment to 0 replicas ShutDown(env terra.Environment) error // DeletePVCs will delete all persistent volume claims in the environment DeletePVCs(env terra.Environment) error }
Kubectl is a golang interface for executing `kubectl` commands
func NewKubectl ¶
func NewKubectl(shellRunner shell.Runner, thelmaRoot root.Root, tokenSource oauth2.TokenSource, gkeClient *container.ClusterManagerClient) (Kubectl, error)
Click to show internal directories.
Click to hide internal directories.