namespace

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateNamespaceUsed

func CalculateNamespaceUsed(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) (message, reason string, list v1.ResourceList)

func CheckNamespaceOnCluster

func CheckNamespaceOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) (message, reason string)

func DeleteNamespaceFromCluster

func DeleteNamespaceFromCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error

func DetachFromClusterNamespace added in v1.3.1

func DetachFromClusterNamespace(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error

func EnsureNamespaceOnCluster

func EnsureNamespaceOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error

func EnsureResourceQuotaOnCluster

func EnsureResourceQuotaOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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