ResourceRequirements class
ResourceRequirements describes the compute resource requirements.
Constructors
-
ResourceRequirements({Input<
List< ? claims, Input<ResourceClaim> >Map< ? limits, Input<String, String> >Map< ? requests})String, String> > -
Creates a new ResourceRequirements.
claimsClaims lists the names of resources, defined in spec.resourceClaims, that are used by this container.limitsLimits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/requestsRequests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/const -
ResourceRequirements.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
claims
→ Input<
List< ?ResourceClaim> > -
Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
limits
→ Input<
Map< ?String, String> > -
Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
final
-
requests
→ Input<
Map< ?String, String> > -
Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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