pub struct TargetDynamicContainer {
pub name: String,
pub generation: u64,
pub image: String,
pub cpu: String,
pub memory: String,
pub replicas: u32,
pub ports: Vec<u16>,
pub deleted: bool,
pub env: BTreeMap<String, String>,
pub secret_env: BTreeMap<String, String>,
pub health_check: Option<DynamicContainerHealthCheck>,
pub suspended_reason: Option<String>,
}Expand description
One release-independent container the Operator should run in its namespace. The manager sends the complete set on every sync. An empty set removes containers previously owned by this deployment.
Fields§
§name: String§generation: u64§image: String§cpu: String§memory: String§replicas: u32§ports: Vec<u16>§deleted: bool§env: BTreeMap<String, String>§secret_env: BTreeMap<String, String>§health_check: Option<DynamicContainerHealthCheck>§suspended_reason: Option<String>Stop an installed workload when its release no longer admits the image.
Trait Implementations§
Source§impl Clone for TargetDynamicContainer
impl Clone for TargetDynamicContainer
Source§impl Debug for TargetDynamicContainer
impl Debug for TargetDynamicContainer
Source§impl<'de> Deserialize<'de> for TargetDynamicContainer
impl<'de> Deserialize<'de> for TargetDynamicContainer
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 Eq for TargetDynamicContainer
Source§impl PartialEq for TargetDynamicContainer
impl PartialEq for TargetDynamicContainer
Source§impl Serialize for TargetDynamicContainer
impl Serialize for TargetDynamicContainer
impl StructuralPartialEq for TargetDynamicContainer
Auto Trait Implementations§
impl Freeze for TargetDynamicContainer
impl RefUnwindSafe for TargetDynamicContainer
impl Send for TargetDynamicContainer
impl Sync for TargetDynamicContainer
impl Unpin for TargetDynamicContainer
impl UnsafeUnpin for TargetDynamicContainer
impl UnwindSafe for TargetDynamicContainer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.