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