[−][src]Struct google_dataproc1::ClusterConfig
The cluster config.
This type is not used in any activity, and only used as part of another schema.
Fields
software_config: Option<SoftwareConfig>
Optional. The config settings for software inside the cluster.
config_bucket: Option<String>
Optional. A Google Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Cloud Dataproc staging bucket).
gce_cluster_config: Option<GceClusterConfig>
Optional. The shared Compute Engine config settings for all instances in a cluster.
worker_config: Option<InstanceGroupConfig>
Optional. The Compute Engine config settings for worker instances in a cluster.
initialization_actions: Option<Vec<NodeInitializationAction>>
Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role metadata to run an executable on a master or worker node, as shown below using curl (you can also use wget): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ "${ROLE}" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi
encryption_config: Option<EncryptionConfig>
Optional. Encryption settings for the cluster.
secondary_worker_config: Option<InstanceGroupConfig>
Optional. The Compute Engine config settings for additional worker instances in a cluster.
master_config: Option<InstanceGroupConfig>
Optional. The Compute Engine config settings for the master instance in a cluster.
security_config: Option<SecurityConfig>
Optional. Security settings for the cluster.
Trait Implementations
impl Part for ClusterConfig
[src]
impl Clone for ClusterConfig
[src]
fn clone(&self) -> ClusterConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ClusterConfig
[src]
fn default() -> ClusterConfig
[src]
impl Debug for ClusterConfig
[src]
impl Serialize for ClusterConfig
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for ClusterConfig
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnwindSafe for ClusterConfig
impl RefUnwindSafe for ClusterConfig
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,