Struct google_api_proto::google::cloud::deploy::v1::custom_canary_deployment::PhaseConfig
source · pub struct PhaseConfig {
pub phase_id: String,
pub percentage: i32,
pub profiles: Vec<String>,
pub verify: bool,
pub predeploy: Option<Predeploy>,
pub postdeploy: Option<Postdeploy>,
}
Expand description
PhaseConfig represents the configuration for a phase in the custom canary deployment.
Fields§
§phase_id: String
Required. The ID to assign to the Rollout
phase.
This value must consist of lower-case letters, numbers, and hyphens,
start with a letter and end with a letter or a number, and have a max
length of 63 characters. In other words, it must match the following
regex: ^[a-z](\[a-z0-9-\]{0,61}\[a-z0-9\])?$
.
percentage: i32
Required. Percentage deployment for the phase.
profiles: Vec<String>
Skaffold profiles to use when rendering the manifest for this phase.
These are in addition to the profiles list specified in the
DeliveryPipeline
stage.
verify: bool
Whether to run verify tests after the deployment.
predeploy: Option<Predeploy>
Optional. Configuration for the predeploy job of this phase. If this is not configured, there will be no predeploy job for this phase.
postdeploy: Option<Postdeploy>
Optional. Configuration for the postdeploy job of this phase. If this is not configured, there will be no postdeploy job for this phase.
Trait Implementations§
source§impl Clone for PhaseConfig
impl Clone for PhaseConfig
source§fn clone(&self) -> PhaseConfig
fn clone(&self) -> PhaseConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PhaseConfig
impl Debug for PhaseConfig
source§impl Default for PhaseConfig
impl Default for PhaseConfig
source§impl Message for PhaseConfig
impl Message for PhaseConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for PhaseConfig
impl PartialEq for PhaseConfig
source§fn eq(&self, other: &PhaseConfig) -> bool
fn eq(&self, other: &PhaseConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhaseConfig
Auto Trait Implementations§
impl Freeze for PhaseConfig
impl RefUnwindSafe for PhaseConfig
impl Send for PhaseConfig
impl Sync for PhaseConfig
impl Unpin for PhaseConfig
impl UnwindSafe for PhaseConfig
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<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