#[non_exhaustive]pub enum DeploymentTarget {
Gke(Box<GkeCluster>),
AnthosCluster(Box<AnthosCluster>),
Run(Box<CloudRunLocation>),
MultiTarget(Box<MultiTarget>),
CustomTarget(Box<CustomTarget>),
}
Expand description
Destination to which the Skaffold configuration is applied during a rollout.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Gke(Box<GkeCluster>)
Optional. Information specifying a GKE Cluster.
AnthosCluster(Box<AnthosCluster>)
Optional. Information specifying an Anthos Cluster.
Run(Box<CloudRunLocation>)
Optional. Information specifying a Cloud Run deployment target.
MultiTarget(Box<MultiTarget>)
Optional. Information specifying a multiTarget.
CustomTarget(Box<CustomTarget>)
Optional. Information specifying a Custom Target.
Trait Implementations§
Source§impl Clone for DeploymentTarget
impl Clone for DeploymentTarget
Source§fn clone(&self) -> DeploymentTarget
fn clone(&self) -> DeploymentTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeploymentTarget
impl Debug for DeploymentTarget
Source§impl PartialEq for DeploymentTarget
impl PartialEq for DeploymentTarget
impl StructuralPartialEq for DeploymentTarget
Auto Trait Implementations§
impl Freeze for DeploymentTarget
impl RefUnwindSafe for DeploymentTarget
impl Send for DeploymentTarget
impl Sync for DeploymentTarget
impl Unpin for DeploymentTarget
impl UnwindSafe for DeploymentTarget
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