var podObjectCountName …
var podResources …
var podResourcePrefixes …
var requestedResourcePrefixes …
func maskResourceWithPrefix(resource corev1.ResourceName, prefix string) corev1.ResourceName { … }
func isExtendedResourceNameForQuota(name corev1.ResourceName) bool { … }
var validationSet …
func NewPodEvaluator(f quota.ListerForResourceFunc, clock clock.Clock) quota.Evaluator { … }
type podEvaluator …
func (p *podEvaluator) Constraints(required []corev1.ResourceName, item runtime.Object) error { … }
func (p *podEvaluator) GroupResource() schema.GroupResource { … }
func (p *podEvaluator) Handles(a admission.Attributes) bool { … }
func (p *podEvaluator) Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error) { … }
func (p *podEvaluator) MatchingResources(input []corev1.ResourceName) []corev1.ResourceName { … }
func (p *podEvaluator) MatchingScopes(item runtime.Object, scopeSelectors []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) { … }
func (p *podEvaluator) UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) { … }
func (p *podEvaluator) Usage(item runtime.Object) (corev1.ResourceList, error) { … }
func (p *podEvaluator) UsageStats(options quota.UsageStatsOptions) (quota.UsageStats, error) { … }
var _ …
func enforcePodContainerConstraints(container *corev1.Container, requiredSet sets.String, missingSetResourceToContainerNames map[string]sets.String) { … }
func podComputeUsageHelper(requests corev1.ResourceList, limits corev1.ResourceList) corev1.ResourceList { … }
func toExternalPodOrError(obj runtime.Object) (*corev1.Pod, error) { … }
func podMatchesScopeFunc(selector corev1.ScopedResourceSelectorRequirement, object runtime.Object) (bool, error) { … }
func PodUsageFunc(obj runtime.Object, clock clock.Clock) (corev1.ResourceList, error) { … }
func isBestEffort(pod *corev1.Pod) bool { … }
func isTerminating(pod *corev1.Pod) bool { … }
func podMatchesSelector(pod *corev1.Pod, selector corev1.ScopedResourceSelectorRequirement) (bool, error) { … }
func crossNamespacePodAffinityTerm(term *corev1.PodAffinityTerm) bool { … }
func crossNamespacePodAffinityTerms(terms []corev1.PodAffinityTerm) bool { … }
func crossNamespaceWeightedPodAffinityTerms(terms []corev1.WeightedPodAffinityTerm) bool { … }
func usesCrossNamespacePodAffinity(pod *corev1.Pod) bool { … }
func QuotaV1Pod(pod *corev1.Pod, clock clock.Clock) bool { … }