WorkerResource class
Configuration for resources used by Airflow workers.
Constructors
-
WorkerResource({Input<
double> ? cpu, Input<int> ? maxCount, Input<double> ? memoryGb, Input<int> ? minCount, Input<double> ? storageGb}) -
Creates a new WorkerResource.
cpuOptional. CPU request and limit for a single Airflow worker replica.maxCountOptional. Maximum number of workers for autoscaling.memoryGbOptional. Memory (GB) request and limit for a single Airflow worker replica.minCountOptional. Minimum number of workers for autoscaling.storageGbOptional. Storage (GB) request and limit for a single Airflow worker replica.const -
WorkerResource.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cpu
→ Input<
double> ? -
Optional. CPU request and limit for a single Airflow worker replica.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maxCount
→ Input<
int> ? -
Optional. Maximum number of workers for autoscaling.
final
-
memoryGb
→ Input<
double> ? -
Optional. Memory (GB) request and limit for a single Airflow worker replica.
final
-
minCount
→ Input<
int> ? -
Optional. Minimum number of workers for autoscaling.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageGb
→ Input<
double> ? -
Optional. Storage (GB) request and limit for a single Airflow worker replica.
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