pub struct K8sPodSpec {
pub containers: Vec<K8sContainer>,
pub init_containers: Vec<K8sContainer>,
pub restart_policy: Option<String>,
pub service_account_name: Option<String>,
pub volumes: Option<Value>,
pub node_selector: Option<HashMap<String, String>>,
pub tolerations: Option<Value>,
pub affinity: Option<Value>,
}Fields§
§containers: Vec<K8sContainer>§init_containers: Vec<K8sContainer>§restart_policy: Option<String>§service_account_name: Option<String>§volumes: Option<Value>§node_selector: Option<HashMap<String, String>>§tolerations: Option<Value>§affinity: Option<Value>Trait Implementations§
Source§impl Clone for K8sPodSpec
impl Clone for K8sPodSpec
Source§fn clone(&self) -> K8sPodSpec
fn clone(&self) -> K8sPodSpec
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 K8sPodSpec
impl Debug for K8sPodSpec
Source§impl<'de> Deserialize<'de> for K8sPodSpec
impl<'de> Deserialize<'de> for K8sPodSpec
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
Auto Trait Implementations§
impl Freeze for K8sPodSpec
impl RefUnwindSafe for K8sPodSpec
impl Send for K8sPodSpec
impl Sync for K8sPodSpec
impl Unpin for K8sPodSpec
impl UnsafeUnpin for K8sPodSpec
impl UnwindSafe for K8sPodSpec
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