WorkerResource constructor
const
WorkerResource({})
Creates a new WorkerResource.
cpu Optional. CPU request and limit for a single Airflow worker replica.
maxCount Optional. Maximum number of workers for autoscaling.
memoryGb Optional. Memory (GB) request and limit for a single Airflow worker replica.
minCount Optional. Minimum number of workers for autoscaling.
storageGb Optional. Storage (GB) request and limit for a single Airflow worker replica.
Implementation
const WorkerResource({
this.cpu,
this.maxCount,
this.memoryGb,
this.minCount,
this.storageGb,
});