Struct google_composer1::api::WorkloadsConfig
source · pub struct WorkloadsConfig {
pub dag_processor: Option<DagProcessorResource>,
pub scheduler: Option<SchedulerResource>,
pub triggerer: Option<TriggererResource>,
pub web_server: Option<WebServerResource>,
pub worker: Option<WorkerResource>,
}
Expand description
The Kubernetes workloads configuration for GKE cluster associated with the Cloud Composer environment. Supported for Cloud Composer environments in versions composer-2..-airflow-..* and newer.
This type is not used in any activity, and only used as part of another schema.
Fields§
§dag_processor: Option<DagProcessorResource>
Optional. Resources used by Airflow DAG processors. This field is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
scheduler: Option<SchedulerResource>
Optional. Resources used by Airflow schedulers.
triggerer: Option<TriggererResource>
Optional. Resources used by Airflow triggerers.
web_server: Option<WebServerResource>
Optional. Resources used by Airflow web server.
worker: Option<WorkerResource>
Optional. Resources used by Airflow workers.
Trait Implementations§
source§impl Clone for WorkloadsConfig
impl Clone for WorkloadsConfig
source§fn clone(&self) -> WorkloadsConfig
fn clone(&self) -> WorkloadsConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkloadsConfig
impl Debug for WorkloadsConfig
source§impl Default for WorkloadsConfig
impl Default for WorkloadsConfig
source§fn default() -> WorkloadsConfig
fn default() -> WorkloadsConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WorkloadsConfig
impl<'de> Deserialize<'de> for WorkloadsConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for WorkloadsConfig
impl Serialize for WorkloadsConfig
impl Part for WorkloadsConfig
Auto Trait Implementations§
impl RefUnwindSafe for WorkloadsConfig
impl Send for WorkloadsConfig
impl Sync for WorkloadsConfig
impl Unpin for WorkloadsConfig
impl UnwindSafe for WorkloadsConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more