#[repr(i32)]pub enum DeploymentLevel {
Unspecified = 0,
Hydration = 1,
SingleDeployment = 2,
MultiDeployment = 3,
WorkloadClusterDeployment = 4,
}
Expand description
DeploymentLevel of a blueprint signifies where the blueprint will be applied.
Variants§
Unspecified = 0
Default unspecified deployment level.
Hydration = 1
Blueprints at HYDRATION level cannot be used to create a Deployment (A user cannot manually initate deployment of these blueprints on orchestration or workload cluster). These blueprints stay in a user’s private catalog and are configured and deployed by TNA automation.
SingleDeployment = 2
Blueprints at SINGLE_DEPLOYMENT level can be a) Modified in private catalog. b) Used to create a deployment on orchestration cluster by the user, once approved.
MultiDeployment = 3
Blueprints at MULTI_DEPLOYMENT level can be a) Modified in private catalog. b) Used to create a deployment on orchestration cluster which will create further hydrated deployments.
WorkloadClusterDeployment = 4
Blueprints at WORKLOAD_CLUSTER_DEPLOYMENT level can be a) Modified in private catalog. b) Used to create a deployment on workload cluster by the user, once approved.
Implementations§
source§impl DeploymentLevel
impl DeploymentLevel
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for DeploymentLevel
impl Clone for DeploymentLevel
source§fn clone(&self) -> DeploymentLevel
fn clone(&self) -> DeploymentLevel
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentLevel
impl Debug for DeploymentLevel
source§impl Default for DeploymentLevel
impl Default for DeploymentLevel
source§fn default() -> DeploymentLevel
fn default() -> DeploymentLevel
source§impl From<DeploymentLevel> for i32
impl From<DeploymentLevel> for i32
source§fn from(value: DeploymentLevel) -> i32
fn from(value: DeploymentLevel) -> i32
source§impl Hash for DeploymentLevel
impl Hash for DeploymentLevel
source§impl Ord for DeploymentLevel
impl Ord for DeploymentLevel
source§fn cmp(&self, other: &DeploymentLevel) -> Ordering
fn cmp(&self, other: &DeploymentLevel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for DeploymentLevel
impl PartialEq for DeploymentLevel
source§fn eq(&self, other: &DeploymentLevel) -> bool
fn eq(&self, other: &DeploymentLevel) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeploymentLevel
impl PartialOrd for DeploymentLevel
source§fn partial_cmp(&self, other: &DeploymentLevel) -> Option<Ordering>
fn partial_cmp(&self, other: &DeploymentLevel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for DeploymentLevel
impl TryFrom<i32> for DeploymentLevel
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<DeploymentLevel, UnknownEnumValue>
fn try_from(value: i32) -> Result<DeploymentLevel, UnknownEnumValue>
impl Copy for DeploymentLevel
impl Eq for DeploymentLevel
impl StructuralPartialEq for DeploymentLevel
Auto Trait Implementations§
impl Freeze for DeploymentLevel
impl RefUnwindSafe for DeploymentLevel
impl Send for DeploymentLevel
impl Sync for DeploymentLevel
impl Unpin for DeploymentLevel
impl UnwindSafe for DeploymentLevel
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request