clusterresourcequota

package
v0.6.14 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

func GetResourceQuotasStatusByNamespace

func GetResourceQuotasStatusByNamespace(namespaceStatuses platformv1.ResourceQuotasStatusByNamespace, namespace string) corev1.ResourceQuotaStatus

func InsertResourceQuotasStatus

func InsertResourceQuotasStatus(namespaceStatuses *platformv1.ResourceQuotasStatusByNamespace, newStatus platformv1.ResourceQuotaStatusByNamespace)

func NewClusterResourceQuotaValidatingWebhook added in v0.6.0

func NewClusterResourceQuotaValidatingWebhook(client client.Client, mtx *sync.Mutex, validationEnabled bool) *admission.Webhook

func NewResourceQuotaValidatingWebhook added in v0.6.0

func NewResourceQuotaValidatingWebhook(client client.Client, mtx *sync.Mutex, validationEnabled bool) *admission.Webhook

+kubebuilder:webhook:path=/validate-resourcequota-v1,mutating=false,failurePolicy=fail,groups="",resources=resourcequotas,verbs=create;update,versions=v1,name=resourcequotas-validation-v1.platform.flanksource.com

func RemoveResourceQuotasStatusByNamespace

func RemoveResourceQuotasStatusByNamespace(namespaceStatuses *platformv1.ResourceQuotasStatusByNamespace, namespace string)

Types

type ReconcileClusterResourceQuota

type ReconcileClusterResourceQuota struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*ReconcileClusterResourceQuota) Reconcile

Jump to

Keyboard shortcuts

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