quota

package
v3.8.0-0.13.0+incompat... Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2017 License: Apache-2.0 Imports: 10 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 kexternalinformers.SharedInformerFactory, isInformer imageinternalversion.ImageStreamInformer, imageClient imageclient.ImageStreamTagsGetter, kubeClientSet clientset.Interface) kquota.Registry

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

func NewAllResourceQuotaRegistryForAdmission

func NewAllResourceQuotaRegistryForAdmission(informerFactory kexternalinformers.SharedInformerFactory, isInformer imageinternalversion.ImageStreamInformer, imageClient imageclient.ImageStreamTagsGetter, 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 imageinternalversion.ImageStreamInformer, imageClient imageclient.ImageStreamTagsGetter) kquota.Registry

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

func NewOriginQuotaRegistryForAdmission

func NewOriginQuotaRegistryForAdmission(isInformer imageinternalversion.ImageStreamInformer, imageClient imageclient.ImageStreamTagsGetter) 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
clusterresourceoverride/api
Package api is the internal version of the API.
Package api is the internal version of the API.
clusterresourceoverride/api/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
runonceduration
Package runonceduration contains the RunOnceDuration admission control plugin.
Package runonceduration contains the RunOnceDuration admission control plugin.
runonceduration/api
Package api is the internal version of the API.
Package api is the internal version of the API.
runonceduration/api/v1
Package v1 is the v1 version of the API.
Package v1 is the v1 version of the API.
apis
quota
+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.
quota/v1
+groupName=quota.openshift.io Package v1 is the v1 version of the API.
+groupName=quota.openshift.io Package v1 is the v1 version of the API.
generated
clientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/typed/quota/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/typed/quota/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
internalclientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
internalclientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
internalclientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
internalclientset/typed/quota/internalversion
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
internalclientset/typed/quota/internalversion/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
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