quota

package
v3.6.102-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AllEvaluatedGroupKinds = []schema.GroupKind{
	kapi.Kind("Pod"),
	kapi.Kind("Service"),
	kapi.Kind("ReplicationController"),
	kapi.Kind("PersistentVolumeClaim"),
	kapi.Kind("Secret"),
	kapi.Kind("ConfigMap"),

	imageapi.Kind("ImageStream"),
	imageapi.LegacyKind("ImageStream"),
}

AllEvaluatedGroupKinds is the list of all group kinds that we evaluate for quotas in openshift and kube

Functions

func NewAllResourceQuotaRegistry added in v1.3.0

func NewAllResourceQuotaRegistry(informerFactory shared.InformerFactory, osClient osclient.Interface, kubeClientSet clientset.Interface) kquota.Registry

NewAllResourceQuotaRegistry returns a registry object that knows how to evaluate all resources

func NewAllResourceQuotaRegistryForAdmission

func NewAllResourceQuotaRegistryForAdmission(informerFactory shared.InformerFactory, osClient osclient.Interface, kubeClientSet clientset.Interface) kquota.Registry

NewAllResourceQuotaRegistryForAdmission returns a registry object that knows how to evaluate all resources for *admission*. This is different that is used for reconciliation because admission has to check all forms of a resource (legacy and groupified), but reconciliation only has to check one.

func NewOriginQuotaRegistry added in v1.3.0

func NewOriginQuotaRegistry(isInformer shared.ImageStreamInformer, osClient osclient.Interface) kquota.Registry

NewOriginQuotaRegistry returns a registry object that knows how to evaluate quota usage of OpenShift resources.

func NewOriginQuotaRegistryForAdmission

func NewOriginQuotaRegistryForAdmission(isInformer shared.ImageStreamInformer, osClient osclient.Interface) kquota.Registry

NewOriginQuotaRegistryForAdmission returns a registry object that knows how to evaluate quota usage of OpenShift resources. This is different that is used for reconciliation because admission has to check all forms of a resource (legacy and groupified), but reconciliation only has to check one.

Types

This section is empty.

Directories

Path Synopsis
admission
api
+groupName=quota.openshift.io Package api is the internal version of the API.
+groupName=quota.openshift.io Package api is the internal version of the API.
generated
Package image implements evaluators of usage for imagestreams and images.
Package image implements evaluators of usage for imagestreams and images.
registry

Jump to

Keyboard shortcuts

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