ResourceFieldSelector class

ResourceFieldSelector represents container resources (cpu, memory) and their output format

Constructors

ResourceFieldSelector({Input<String>? containerName, Input<String>? divisor, required Input<String> resource})
Creates a new ResourceFieldSelector. containerName Container name: required for volumes, optional for env vars divisor Specifies the output format of the exposed resources, defaults to "1" resource Required: resource to select
const
ResourceFieldSelector.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