pub struct ManagedCluster {
pub cluster_name: Option<String>,
pub config: Option<ClusterConfig>,
pub labels: Option<HashMap<String, String>>,
}
Expand description
Cluster that is managed by the workflow.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cluster_name: Option<String>
Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.
config: Option<ClusterConfig>
Required. The cluster configuration.
labels: Option<HashMap<String, String>>
Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.
Trait Implementations§
Source§impl Clone for ManagedCluster
impl Clone for ManagedCluster
Source§fn clone(&self) -> ManagedCluster
fn clone(&self) -> ManagedCluster
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ManagedCluster
impl Debug for ManagedCluster
Source§impl Default for ManagedCluster
impl Default for ManagedCluster
Source§fn default() -> ManagedCluster
fn default() -> ManagedCluster
Source§impl<'de> Deserialize<'de> for ManagedCluster
impl<'de> Deserialize<'de> for ManagedCluster
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 Serialize for ManagedCluster
impl Serialize for ManagedCluster
impl Part for ManagedCluster
Auto Trait Implementations§
impl Freeze for ManagedCluster
impl RefUnwindSafe for ManagedCluster
impl Send for ManagedCluster
impl Sync for ManagedCluster
impl Unpin for ManagedCluster
impl UnwindSafe for ManagedCluster
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