pub struct MachineHealthCheckRemediationTemplateRef {
pub api_version: String,
pub kind: String,
pub name: String,
}Expand description
templateRef is a reference to a remediation template provided by an infrastructure provider.
This field is completely optional, when filled, the MachineHealthCheck controller creates a new object from the template referenced and hands off remediation of the machine to a controller that lives outside of Cluster API.
Fields§
§api_version: StringapiVersion of the remediation template. apiVersion must be fully qualified domain name followed by / and a version. NOTE: This field must be kept in sync with the APIVersion of the remediation template.
kind: Stringkind of the remediation template. kind must consist of alphanumeric characters or ‘-’, start with an alphabetic character, and end with an alphanumeric character.
name: Stringname of the remediation template. name must consist of lower case alphanumeric characters, ‘-’ or ‘.’, and must start and end with an alphanumeric character.
Trait Implementations§
Source§impl Clone for MachineHealthCheckRemediationTemplateRef
impl Clone for MachineHealthCheckRemediationTemplateRef
Source§fn clone(&self) -> MachineHealthCheckRemediationTemplateRef
fn clone(&self) -> MachineHealthCheckRemediationTemplateRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for MachineHealthCheckRemediationTemplateRef
impl Default for MachineHealthCheckRemediationTemplateRef
Source§fn default() -> MachineHealthCheckRemediationTemplateRef
fn default() -> MachineHealthCheckRemediationTemplateRef
Source§impl<'de> Deserialize<'de> for MachineHealthCheckRemediationTemplateRef
impl<'de> Deserialize<'de> for MachineHealthCheckRemediationTemplateRef
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 JsonSchema for MachineHealthCheckRemediationTemplateRef
impl JsonSchema for MachineHealthCheckRemediationTemplateRef
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for MachineHealthCheckRemediationTemplateRef
impl PartialEq for MachineHealthCheckRemediationTemplateRef
Source§fn eq(&self, other: &MachineHealthCheckRemediationTemplateRef) -> bool
fn eq(&self, other: &MachineHealthCheckRemediationTemplateRef) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MachineHealthCheckRemediationTemplateRef
Auto Trait Implementations§
impl Freeze for MachineHealthCheckRemediationTemplateRef
impl RefUnwindSafe for MachineHealthCheckRemediationTemplateRef
impl Send for MachineHealthCheckRemediationTemplateRef
impl Sync for MachineHealthCheckRemediationTemplateRef
impl Unpin for MachineHealthCheckRemediationTemplateRef
impl UnsafeUnpin for MachineHealthCheckRemediationTemplateRef
impl UnwindSafe for MachineHealthCheckRemediationTemplateRef
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