pub struct GkeClusterConfig {
pub gke_cluster_target: Option<String>,
pub namespaced_gke_deployment_target: Option<NamespacedGkeDeploymentTarget>,
pub node_pool_target: Option<Vec<GkeNodePoolTarget>>,
}
Expand description
The cluster’s GKE config.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gke_cluster_target: Option<String>
Optional. A target GKE cluster to deploy to. It must be in the same project and region as the Dataproc cluster (the GKE cluster can be zonal or regional). Format: ‘projects/{project}/locations/{location}/clusters/{cluster_id}’
namespaced_gke_deployment_target: Option<NamespacedGkeDeploymentTarget>
Optional. Deprecated. Use gkeClusterTarget. Used only for the deprecated beta. A target for the deployment.
node_pool_target: Option<Vec<GkeNodePoolTarget>>
Optional. GKE node pools where workloads will be scheduled. At least one node pool must be assigned the DEFAULT GkeNodePoolTarget.Role. If a GkeNodePoolTarget is not specified, Dataproc constructs a DEFAULT GkeNodePoolTarget. Each role can be given to only one GkeNodePoolTarget. All node pools must have the same location settings.
Trait Implementations§
Source§impl Clone for GkeClusterConfig
impl Clone for GkeClusterConfig
Source§fn clone(&self) -> GkeClusterConfig
fn clone(&self) -> GkeClusterConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GkeClusterConfig
impl Debug for GkeClusterConfig
Source§impl Default for GkeClusterConfig
impl Default for GkeClusterConfig
Source§fn default() -> GkeClusterConfig
fn default() -> GkeClusterConfig
Source§impl<'de> Deserialize<'de> for GkeClusterConfig
impl<'de> Deserialize<'de> for GkeClusterConfig
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>,
Source§impl Serialize for GkeClusterConfig
impl Serialize for GkeClusterConfig
impl Part for GkeClusterConfig
Auto Trait Implementations§
impl Freeze for GkeClusterConfig
impl RefUnwindSafe for GkeClusterConfig
impl Send for GkeClusterConfig
impl Sync for GkeClusterConfig
impl Unpin for GkeClusterConfig
impl UnwindSafe for GkeClusterConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more