pub struct ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef {
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 ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl Clone for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
Source§fn clone(
&self,
) -> ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
fn clone( &self, ) -> ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl Default for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
Source§fn default() -> ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
fn default() -> ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
Source§impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl<'de> Deserialize<'de> for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
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 ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl JsonSchema for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
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 ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl PartialEq for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
Source§fn eq(
&self,
other: &ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef,
) -> bool
fn eq( &self, other: &ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef, ) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
Auto Trait Implementations§
impl Freeze for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl RefUnwindSafe for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl Send for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl Sync for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl Unpin for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl UnsafeUnpin for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
impl UnwindSafe for ClusterClassWorkersMachineDeploymentsHealthCheckRemediationTemplateRef
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