Enum google_api_proto::google::cloud::config::v1::deployment_operation_metadata::DeploymentStep
source · #[repr(i32)]pub enum DeploymentStep {
Show 13 variants
Unspecified = 0,
PreparingStorageBucket = 1,
DownloadingBlueprint = 2,
RunningTfInit = 3,
RunningTfPlan = 4,
RunningTfApply = 5,
RunningTfDestroy = 6,
RunningTfValidate = 7,
UnlockingDeployment = 8,
Succeeded = 9,
Failed = 10,
ValidatingRepository = 11,
RunningQuotaValidation = 12,
}
Expand description
The possible steps a deployment may be running.
Variants§
Unspecified = 0
Unspecified deployment step
PreparingStorageBucket = 1
Infra Manager is creating a Google Cloud Storage bucket to store artifacts and metadata about the deployment and revision
DownloadingBlueprint = 2
Downloading the blueprint onto the Google Cloud Storage bucket
RunningTfInit = 3
Initializing Terraform using terraform init
RunningTfPlan = 4
Running terraform plan
RunningTfApply = 5
Actuating resources using Terraform using terraform apply
RunningTfDestroy = 6
Destroying resources using Terraform using terraform destroy
RunningTfValidate = 7
Validating the uploaded TF state file when unlocking a deployment
UnlockingDeployment = 8
Unlocking a deployment
Succeeded = 9
Operation was successful
Failed = 10
Operation failed
ValidatingRepository = 11
Validating the provided repository.
RunningQuotaValidation = 12
Running quota validation
Implementations§
source§impl DeploymentStep
impl DeploymentStep
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 DeploymentStep
impl Clone for DeploymentStep
source§fn clone(&self) -> DeploymentStep
fn clone(&self) -> DeploymentStep
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeploymentStep
impl Debug for DeploymentStep
source§impl Default for DeploymentStep
impl Default for DeploymentStep
source§fn default() -> DeploymentStep
fn default() -> DeploymentStep
source§impl From<DeploymentStep> for i32
impl From<DeploymentStep> for i32
source§fn from(value: DeploymentStep) -> i32
fn from(value: DeploymentStep) -> i32
source§impl Hash for DeploymentStep
impl Hash for DeploymentStep
source§impl Ord for DeploymentStep
impl Ord for DeploymentStep
source§fn cmp(&self, other: &DeploymentStep) -> Ordering
fn cmp(&self, other: &DeploymentStep) -> 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 DeploymentStep
impl PartialEq for DeploymentStep
source§fn eq(&self, other: &DeploymentStep) -> bool
fn eq(&self, other: &DeploymentStep) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeploymentStep
impl PartialOrd for DeploymentStep
source§fn partial_cmp(&self, other: &DeploymentStep) -> Option<Ordering>
fn partial_cmp(&self, other: &DeploymentStep) -> 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 DeploymentStep
impl TryFrom<i32> for DeploymentStep
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<DeploymentStep, UnknownEnumValue>
fn try_from(value: i32) -> Result<DeploymentStep, UnknownEnumValue>
impl Copy for DeploymentStep
impl Eq for DeploymentStep
impl StructuralPartialEq for DeploymentStep
Auto Trait Implementations§
impl Freeze for DeploymentStep
impl RefUnwindSafe for DeploymentStep
impl Send for DeploymentStep
impl Sync for DeploymentStep
impl Unpin for DeploymentStep
impl UnwindSafe for DeploymentStep
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