ResourceQuotaSpec constructor
const
ResourceQuotaSpec({})
Creates a new ResourceQuotaSpec.
hard hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
scopeSelector scopeSelector is also a collection of filters like scopes that must match each object tracked by a quota but expressed using ScopeSelectorOperator in combination with possible values. For a resource to match, both scopes AND scopeSelector (if specified in spec), must be matched.
scopes A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
Implementation
const ResourceQuotaSpec({
this.hard,
this.scopeSelector,
this.scopes,
});