ResourceQuotaSpec class
ResourceQuotaSpec defines the desired hard limits to enforce for Quota.
Constructors
-
ResourceQuotaSpec({Input<
Map< ? hard, Input<String, String> >ScopeSelector> ? scopeSelector, Input<List< ? scopes})String> > -
Creates a new ResourceQuotaSpec.
hardhard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/scopeSelectorscopeSelector 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.scopesA collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.const -
ResourceQuotaSpec.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
hard
→ Input<
Map< ?String, String> > -
hard is the set of desired hard limits for each named resource. More info: https://kubernetes.io/docs/concepts/policy/resource-quotas/
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ Input<
List< ?String> > -
A collection of filters that must match each object tracked by a quota. If not specified, the quota matches all objects.
final
-
scopeSelector
→ Input<
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited