Fixed several spelling mistakes
Kubernetes-commit: fec272a7b290a34776eac6698f12be043367a4c2
This commit is contained in:
parent
0f7cee9856
commit
c74d3bdddc
|
|
@ -270,7 +270,7 @@ func (o *objectCountEvaluator) MatchingScopes(item runtime.Object, scopes []core
|
||||||
}
|
}
|
||||||
|
|
||||||
// UncoveredQuotaScopes takes the input matched scopes which are limited by configuration and the matched quota scopes.
|
// UncoveredQuotaScopes takes the input matched scopes which are limited by configuration and the matched quota scopes.
|
||||||
// It returns the scopes which are in limited scopes but dont have a corresponding covering quota scope
|
// It returns the scopes which are in limited scopes but don't have a corresponding covering quota scope
|
||||||
func (o *objectCountEvaluator) UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) {
|
func (o *objectCountEvaluator) UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error) {
|
||||||
return []corev1.ScopedResourceSelectorRequirement{}, nil
|
return []corev1.ScopedResourceSelectorRequirement{}, nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,7 +54,7 @@ type Evaluator interface {
|
||||||
Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error)
|
Matches(resourceQuota *corev1.ResourceQuota, item runtime.Object) (bool, error)
|
||||||
// MatchingScopes takes the input specified list of scopes and input object and returns the set of scopes that matches input object.
|
// MatchingScopes takes the input specified list of scopes and input object and returns the set of scopes that matches input object.
|
||||||
MatchingScopes(item runtime.Object, scopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error)
|
MatchingScopes(item runtime.Object, scopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error)
|
||||||
// UncoveredQuotaScopes takes the input matched scopes which are limited by configuration and the matched quota scopes. It returns the scopes which are in limited scopes but dont have a corresponding covering quota scope
|
// UncoveredQuotaScopes takes the input matched scopes which are limited by configuration and the matched quota scopes. It returns the scopes which are in limited scopes but don't have a corresponding covering quota scope
|
||||||
UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error)
|
UncoveredQuotaScopes(limitedScopes []corev1.ScopedResourceSelectorRequirement, matchedQuotaScopes []corev1.ScopedResourceSelectorRequirement) ([]corev1.ScopedResourceSelectorRequirement, error)
|
||||||
// MatchingResources takes the input specified list of resources and returns the set of resources evaluator matches.
|
// MatchingResources takes the input specified list of resources and returns the set of resources evaluator matches.
|
||||||
MatchingResources(input []corev1.ResourceName) []corev1.ResourceName
|
MatchingResources(input []corev1.ResourceName) []corev1.ResourceName
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue