Struct k8s_cluster_api::v1beta1::infrastructure::aws::AWSCluster [−][src]
pub struct AWSCluster {
pub metadata: ObjectMeta,
pub spec: AWSClusterSpec,
pub status: Option<AWSClusterStatus>,
}
Expand description
Auto-generated derived type for AWSClusterSpec via CustomResource
Fields
metadata: ObjectMeta
spec: AWSClusterSpec
status: Option<AWSClusterStatus>
Implementations
Use region
instead
Use sshkey
instead
Use vpc_cidr_block
instead
Trait Implementations
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>,
Deserialize this value from the given Serde deserializer. Read more
type Spec = AWSClusterSpec
type Spec = AWSClusterSpec
The type of the spec
of this resource
Returns a reference to the spec
of the object
Returns a mutable reference to the spec
of the object
type Status = AWSClusterStatus
type Status = AWSClusterStatus
The type of the status
object
Returns an optional reference to the status
of the object
Returns an optional mutable reference to the status
of the object
type DynamicType = ()
type DynamicType = ()
Type information for types that do not know their resource information at compile time. Read more
Returns apiVersion of this object
Metadata that all persisted resources must have
Metadata that all persisted resources must have
Creates a url path for http requests for this resource
fn object_ref(&self, dt: &Self::DynamicType) -> ObjectReference
fn object_ref(&self, dt: &Self::DynamicType) -> ObjectReference
Generates an object reference for the resource
Auto Trait Implementations
impl RefUnwindSafe for AWSCluster
impl Send for AWSCluster
impl Sync for AWSCluster
impl Unpin for AWSCluster
impl UnwindSafe for AWSCluster
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns the name of the resource, panicking if it is
missing. Use this function if you know that name is set, for example
when resource was received from the apiserver.
Because of .metadata.generateName
field, in other contexts name
may be missing. Read more
pub fn resource_version(&self) -> Option<String>
pub fn resource_version(&self) -> Option<String>
The resource version
Unique ID (if you delete resource and then create a new resource with the same name, it will have different ID) Read more
pub fn labels_mut(&mut self) -> &mut BTreeMap<String, String>
pub fn labels_mut(&mut self) -> &mut BTreeMap<String, String>
Provides mutable access to the labels
pub fn annotations(&self) -> &BTreeMap<String, String>
pub fn annotations(&self) -> &BTreeMap<String, String>
Returns resource annotations
pub fn annotations_mut(&mut self) -> &mut BTreeMap<String, String>
pub fn annotations_mut(&mut self) -> &mut BTreeMap<String, String>
Provider mutable access to the annotations
pub fn owner_references(&self) -> &[OwnerReference]
pub fn owner_references(&self) -> &[OwnerReference]
Returns resource owner references
pub fn owner_references_mut(&mut self) -> &mut Vec<OwnerReference, Global>ⓘ
pub fn owner_references_mut(&mut self) -> &mut Vec<OwnerReference, Global>ⓘ
Provides mutable access to the owner references
pub fn finalizers(&self) -> &[String]
pub fn finalizers(&self) -> &[String]
Returns resource finalizers
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more