#[non_exhaustive]pub struct KubernetesSoftwareConfig {
pub component_version: HashMap<String, String>,
pub properties: HashMap<String, String>,
/* private fields */
}Expand description
The software configuration for this Dataproc cluster running on Kubernetes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.component_version: HashMap<String, String>The components that should be installed in this Dataproc cluster. The key must be a string from the KubernetesComponent enumeration. The value is the version of the software to be installed. At least one entry must be specified.
properties: HashMap<String, String>The properties to set on daemon config files.
Property keys are specified in prefix:property format, for example
spark:spark.kubernetes.container.image. The following are supported
prefixes and their mappings:
- spark:
spark-defaults.conf
For more information, see Cluster properties.
Implementations§
Source§impl KubernetesSoftwareConfig
impl KubernetesSoftwareConfig
pub fn new() -> Self
Sourcepub fn set_component_version<T, K, V>(self, v: T) -> Self
pub fn set_component_version<T, K, V>(self, v: T) -> Self
Sets the value of component_version.
Sourcepub fn set_properties<T, K, V>(self, v: T) -> Self
pub fn set_properties<T, K, V>(self, v: T) -> Self
Sets the value of properties.
Trait Implementations§
Source§impl Clone for KubernetesSoftwareConfig
impl Clone for KubernetesSoftwareConfig
Source§fn clone(&self) -> KubernetesSoftwareConfig
fn clone(&self) -> KubernetesSoftwareConfig
Returns a duplicate 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 KubernetesSoftwareConfig
impl Debug for KubernetesSoftwareConfig
Source§impl Default for KubernetesSoftwareConfig
impl Default for KubernetesSoftwareConfig
Source§fn default() -> KubernetesSoftwareConfig
fn default() -> KubernetesSoftwareConfig
Returns the “default value” for a type. Read more
Source§impl Message for KubernetesSoftwareConfig
impl Message for KubernetesSoftwareConfig
Source§impl PartialEq for KubernetesSoftwareConfig
impl PartialEq for KubernetesSoftwareConfig
impl StructuralPartialEq for KubernetesSoftwareConfig
Auto Trait Implementations§
impl Freeze for KubernetesSoftwareConfig
impl RefUnwindSafe for KubernetesSoftwareConfig
impl Send for KubernetesSoftwareConfig
impl Sync for KubernetesSoftwareConfig
impl Unpin for KubernetesSoftwareConfig
impl UnwindSafe for KubernetesSoftwareConfig
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