pub struct Stage {
pub deploy_parameters: Option<Vec<DeployParameters>>,
pub profiles: Option<Vec<String>>,
pub strategy: Option<Strategy>,
pub target_id: Option<String>,
}
Expand description
Stage specifies a location to which to deploy.
This type is not used in any activity, and only used as part of another schema.
Fields§
§deploy_parameters: Option<Vec<DeployParameters>>
Optional. The deploy parameters to use for the target in this stage.
profiles: Option<Vec<String>>
Skaffold profiles to use when rendering the manifest for this stage’s Target
.
strategy: Option<Strategy>
Optional. The strategy to use for a Rollout
to this stage.
target_id: Option<String>
The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target
(rather than projects/project/locations/location/targets/my-target
). The location of the Target
is inferred to be the same as the location of the DeliveryPipeline
that contains this Stage
.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stage
impl<'de> Deserialize<'de> for Stage
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for Stage
Auto Trait Implementations§
impl Freeze for Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnwindSafe for Stage
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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