quota

package
v3.6.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 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

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

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
clusterresourceoverride/api
Package api is the internal version of the API.
Package api is the internal 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.
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.
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