ResourceFieldSelectorPatch class
ResourceFieldSelector represents container resources (cpu, memory) and their output format
Constructors
-
ResourceFieldSelectorPatch({Input<
String> ? containerName, Input<String> ? divisor, Input<String> ? resource}) -
Creates a new ResourceFieldSelectorPatch.
containerNameContainer name: required for volumes, optional for env varsdivisorSpecifies the output format of the exposed resources, defaults to "1"resourceRequired: resource to selectconst -
ResourceFieldSelectorPatch.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
containerName
→ Input<
String> ? -
Container name: required for volumes, optional for env vars
final
-
divisor
→ Input<
String> ? -
Specifies the output format of the exposed resources, defaults to "1"
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
resource
→ Input<
String> ? -
Required: resource to select
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