pub struct MachineDeploymentTemplateSpecInfrastructureRef {
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
infrastructureRef is a required reference to a custom resource offered by an infrastructure 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.
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 MachineDeploymentTemplateSpecInfrastructureRef
impl Clone for MachineDeploymentTemplateSpecInfrastructureRef
Source§fn clone(&self) -> MachineDeploymentTemplateSpecInfrastructureRef
fn clone(&self) -> MachineDeploymentTemplateSpecInfrastructureRef
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for MachineDeploymentTemplateSpecInfrastructureRef
impl Default for MachineDeploymentTemplateSpecInfrastructureRef
Source§fn default() -> MachineDeploymentTemplateSpecInfrastructureRef
fn default() -> MachineDeploymentTemplateSpecInfrastructureRef
Source§impl<'de> Deserialize<'de> for MachineDeploymentTemplateSpecInfrastructureRef
impl<'de> Deserialize<'de> for MachineDeploymentTemplateSpecInfrastructureRef
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 MachineDeploymentTemplateSpecInfrastructureRef
impl JsonSchema for MachineDeploymentTemplateSpecInfrastructureRef
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for MachineDeploymentTemplateSpecInfrastructureRef
impl PartialEq for MachineDeploymentTemplateSpecInfrastructureRef
Source§fn eq(&self, other: &MachineDeploymentTemplateSpecInfrastructureRef) -> bool
fn eq(&self, other: &MachineDeploymentTemplateSpecInfrastructureRef) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for MachineDeploymentTemplateSpecInfrastructureRef
Auto Trait Implementations§
impl Freeze for MachineDeploymentTemplateSpecInfrastructureRef
impl RefUnwindSafe for MachineDeploymentTemplateSpecInfrastructureRef
impl Send for MachineDeploymentTemplateSpecInfrastructureRef
impl Sync for MachineDeploymentTemplateSpecInfrastructureRef
impl Unpin for MachineDeploymentTemplateSpecInfrastructureRef
impl UnwindSafe for MachineDeploymentTemplateSpecInfrastructureRef
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