var pvcObjectCountName …
var pvcResources …
const storageClassSuffix …
func V1ResourceByStorageClass(storageClass string, resourceName corev1.ResourceName) corev1.ResourceName { … }
func NewPersistentVolumeClaimEvaluator(f quota.ListerForResourceFunc) quota.Evaluator { … }
type pvcEvaluator …
func (p *pvcEvaluator) Constraints(required []corev1.ResourceName, item runtime.Object) error { … }
func (p *pvcEvaluator) GroupResource() schema.GroupResource { … }
func (p *pvcEvaluator) Handles(a admission.Attributes) bool { … }
func (p *pvcEvaluator) Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) { … }
func (p *pvcEvaluator) MatchingScopes(item runtime.Object, scopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) { … }
func (p *pvcEvaluator) UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) { … }
func (p *pvcEvaluator) MatchingResources(items []corev1.ResourceName) []corev1.ResourceName { … }
func (p *pvcEvaluator) Usage(item runtime.Object) (corev1.ResourceList, error) { … }
func (p *pvcEvaluator) getStorageUsage(pvc *corev1.PersistentVolumeClaim) *resource.Quantity { … }
func (p *pvcEvaluator) UsageStats(options quota.UsageStatsOptions) (quota.UsageStats, error) { … }
var _ …
func toExternalPersistentVolumeClaimOrError(obj runtime.Object) (*corev1.PersistentVolumeClaim, error) { … }
func RequiresQuotaReplenish(pvc, oldPVC *corev1.PersistentVolumeClaim) bool { … }