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