lifecycle

package
v0.15.1-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteMultiNamespaceVclusterWorkloads added in v0.14.2

func DeleteMultiNamespaceVclusterWorkloads(ctx context.Context, client *kubernetes.Clientset, vclusterName, vclusterNamespace string, log log.Logger) error

func DeleteVClusterWorkloads

func DeleteVClusterWorkloads(kubeClient *kubernetes.Clientset, labelSelector, namespace string, log log.Logger) error

DeleteVClusterWorkloads deletes all pods associated with a running vcluster

func PauseVCluster

func PauseVCluster(kubeClient *kubernetes.Clientset, name, namespace string, log log.Logger) error

PauseVCluster pauses a running vcluster

func ResumeVCluster

func ResumeVCluster(kubeClient *kubernetes.Clientset, name, namespace string, log log.Logger) error

ResumeVCluster resumes a paused vcluster

Types

This section is empty.

Jump to

Keyboard shortcuts

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