WorkerResource class
Configuration for resources used by Airflow workers.
Constructors
- WorkerResource({double? cpu, int? maxCount, double? memoryGb, int? minCount, double? storageGb})
- WorkerResource.fromJson(Map json_)
Properties
- cpu ↔ double?
-
CPU request and limit for a single Airflow worker replica.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxCount ↔ int?
-
Maximum number of workers for autoscaling.
getter/setter pair
- memoryGb ↔ double?
-
Memory (GB) request and limit for a single Airflow worker replica.
getter/setter pair
- minCount ↔ int?
-
Minimum number of workers for autoscaling.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageGb ↔ double?
-
Storage (GB) request and limit for a single Airflow worker replica.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited