Documentation
¶
Index ¶
- func CalculateNamespaceUsed(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) (message, reason string, list v1.ResourceList)
- func CheckNamespaceOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) (message, reason string)
- func DeleteNamespaceFromCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error
- func DetachFromClusterNamespace(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error
- func EnsureNamespaceOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error
- func EnsureResourceQuotaOnCluster(ctx context.Context, kubeClient *kubernetes.Clientset, namespace *v1.Namespace) error
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 DetachFromClusterNamespace ¶ added in v1.3.1
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.