ResourceQuotaSpec class

ResourceQuotaSpec defines the desired hard limits to enforce for Quota.

Constructors

ResourceQuotaSpec({Map<String, String>? hard, ScopeSelector? scopeSelector, List<String>? scopes})
Default constructor.
const
ResourceQuotaSpec.fromJson(Map<String, dynamic> json)
Creates a ResourceQuotaSpec from JSON data.
factory

Properties

hard 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 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 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
toJson() Map<String, Object>
Converts a ResourceQuotaSpec instance to JSON data.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited