pub struct FailureDomainSpec {
pub control_plane: Option<bool>,
pub attributes: Option<BTreeMap<String, String>>,
}
Expand description
FailureDomainSpec is the Schema for Cluster API failure domains. It allows controllers to understand how many failure domains a cluster can optionally span across.
Fields§
§control_plane: Option<bool>
ControlPlane determines if this failure domain is suitable for use by control plane machines.
attributes: Option<BTreeMap<String, String>>
Attributes is a free form map of attributes an infrastructure provider might use or require.
Trait Implementations§
Source§impl Clone for FailureDomainSpec
impl Clone for FailureDomainSpec
Source§fn clone(&self) -> FailureDomainSpec
fn clone(&self) -> FailureDomainSpec
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 FailureDomainSpec
impl Debug for FailureDomainSpec
Source§impl Default for FailureDomainSpec
impl Default for FailureDomainSpec
Source§fn default() -> FailureDomainSpec
fn default() -> FailureDomainSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FailureDomainSpec
impl<'de> Deserialize<'de> for FailureDomainSpec
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
Auto Trait Implementations§
impl Freeze for FailureDomainSpec
impl RefUnwindSafe for FailureDomainSpec
impl Send for FailureDomainSpec
impl Sync for FailureDomainSpec
impl Unpin for FailureDomainSpec
impl UnwindSafe for FailureDomainSpec
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