Struct cluster_api_rs::api::capi_clusterclass::ClusterClassControlPlaneMachineInfrastructureRef
source · pub struct ClusterClassControlPlaneMachineInfrastructureRef {
pub api_version: Option<String>,
pub field_path: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub resource_version: Option<String>,
pub uid: Option<String>,
}Expand description
Ref is a required reference to a custom resource offered by a provider.
Fields§
§api_version: Option<String>API version of the referent.
field_path: Option<String>If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: “spec.containers{name}” (where “name” refers to the name of the container that triggered the event) or if no container name is specified “spec.containers[2]” (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.
kind: Option<String>Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
name: Option<String>Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
namespace: Option<String>Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
resource_version: Option<String>Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
uid: Option<String>UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids
Trait Implementations§
source§impl Clone for ClusterClassControlPlaneMachineInfrastructureRef
impl Clone for ClusterClassControlPlaneMachineInfrastructureRef
source§fn clone(&self) -> ClusterClassControlPlaneMachineInfrastructureRef
fn clone(&self) -> ClusterClassControlPlaneMachineInfrastructureRef
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ClusterClassControlPlaneMachineInfrastructureRef
impl Default for ClusterClassControlPlaneMachineInfrastructureRef
source§fn default() -> ClusterClassControlPlaneMachineInfrastructureRef
fn default() -> ClusterClassControlPlaneMachineInfrastructureRef
source§impl<'de> Deserialize<'de> for ClusterClassControlPlaneMachineInfrastructureRef
impl<'de> Deserialize<'de> for ClusterClassControlPlaneMachineInfrastructureRef
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 ClusterClassControlPlaneMachineInfrastructureRef
impl JsonSchema for ClusterClassControlPlaneMachineInfrastructureRef
source§fn schema_name() -> String
fn schema_name() -> String
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterClassControlPlaneMachineInfrastructureRef
impl RefUnwindSafe for ClusterClassControlPlaneMachineInfrastructureRef
impl Send for ClusterClassControlPlaneMachineInfrastructureRef
impl Sync for ClusterClassControlPlaneMachineInfrastructureRef
impl Unpin for ClusterClassControlPlaneMachineInfrastructureRef
impl UnwindSafe for ClusterClassControlPlaneMachineInfrastructureRef
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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