Documentation ¶
Index ¶
- func DeleteMultiNamespaceVClusterWorkloads(ctx context.Context, client *kubernetes.Clientset, ...) error
- func DeletePods(ctx context.Context, kubeClient *kubernetes.Clientset, ...) error
- func IsPaused(annotated kube.Annotated) bool
- func PauseVCluster(ctx context.Context, kubeClient *kubernetes.Clientset, name, namespace string, ...) error
- func ResumeVCluster(ctx context.Context, kubeClient *kubernetes.Clientset, name, namespace string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteMultiNamespaceVClusterWorkloads ¶ added in v0.20.0
func DeleteMultiNamespaceVClusterWorkloads(ctx context.Context, client *kubernetes.Clientset, vclusterName, vclusterNamespace string, _ log.BaseLogger) error
func DeletePods ¶ added in v0.20.0
func DeletePods(ctx context.Context, kubeClient *kubernetes.Clientset, labelSelector, namespace string, log log.BaseLogger) error
DeletePods deletes all pods associated with a running vcluster
func PauseVCluster ¶
func PauseVCluster(ctx context.Context, kubeClient *kubernetes.Clientset, name, namespace string, log log.BaseLogger) error
PauseVCluster pauses a running vcluster
func ResumeVCluster ¶
func ResumeVCluster(ctx context.Context, kubeClient *kubernetes.Clientset, name, namespace string, log log.BaseLogger) error
ResumeVCluster resumes a paused vcluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.