pub struct CustomDeploymentStrategyParams {
pub command: Option<Vec<String>>,
pub environment: Option<Vec<EnvVar>>,
pub image: Option<String>,
}
Expand description
CustomDeploymentStrategyParams are the input to the Custom deployment strategy.
Fields§
§command: Option<Vec<String>>
Command is optional and overrides CMD in the container Image.
environment: Option<Vec<EnvVar>>
Environment holds the environment which will be given to the container for Image.
image: Option<String>
Image specifies a container image which can carry out a deployment.
Trait Implementations§
Source§impl Clone for CustomDeploymentStrategyParams
impl Clone for CustomDeploymentStrategyParams
Source§fn clone(&self) -> CustomDeploymentStrategyParams
fn clone(&self) -> CustomDeploymentStrategyParams
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 Default for CustomDeploymentStrategyParams
impl Default for CustomDeploymentStrategyParams
Source§fn default() -> CustomDeploymentStrategyParams
fn default() -> CustomDeploymentStrategyParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomDeploymentStrategyParams
impl<'de> Deserialize<'de> for CustomDeploymentStrategyParams
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
Source§impl PartialEq for CustomDeploymentStrategyParams
impl PartialEq for CustomDeploymentStrategyParams
Source§fn eq(&self, other: &CustomDeploymentStrategyParams) -> bool
fn eq(&self, other: &CustomDeploymentStrategyParams) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CustomDeploymentStrategyParams
Auto Trait Implementations§
impl Freeze for CustomDeploymentStrategyParams
impl RefUnwindSafe for CustomDeploymentStrategyParams
impl Send for CustomDeploymentStrategyParams
impl Sync for CustomDeploymentStrategyParams
impl Unpin for CustomDeploymentStrategyParams
impl UnwindSafe for CustomDeploymentStrategyParams
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