pub struct PodGroupSchedulingPolicy {
pub basic: Option<BasicSchedulingPolicy>,
pub gang: Option<GangSchedulingPolicy>,
}Expand description
PodGroupSchedulingPolicy defines the scheduling configuration for a PodGroup. Exactly one policy must be set.
Fields§
§basic: Option<BasicSchedulingPolicy>Basic specifies that the pods in this group should be scheduled using standard Kubernetes scheduling behavior.
gang: Option<GangSchedulingPolicy>Gang specifies that the pods in this group should be scheduled using all-or-nothing semantics.
Trait Implementations§
Source§impl Clone for PodGroupSchedulingPolicy
impl Clone for PodGroupSchedulingPolicy
Source§fn clone(&self) -> PodGroupSchedulingPolicy
fn clone(&self) -> PodGroupSchedulingPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PodGroupSchedulingPolicy
impl Debug for PodGroupSchedulingPolicy
Source§impl DeepMerge for PodGroupSchedulingPolicy
impl DeepMerge for PodGroupSchedulingPolicy
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for PodGroupSchedulingPolicy
impl Default for PodGroupSchedulingPolicy
Source§fn default() -> PodGroupSchedulingPolicy
fn default() -> PodGroupSchedulingPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PodGroupSchedulingPolicy
impl<'de> Deserialize<'de> for PodGroupSchedulingPolicy
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 PodGroupSchedulingPolicy
impl PartialEq for PodGroupSchedulingPolicy
Source§fn eq(&self, other: &PodGroupSchedulingPolicy) -> bool
fn eq(&self, other: &PodGroupSchedulingPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PodGroupSchedulingPolicy
impl Serialize for PodGroupSchedulingPolicy
impl StructuralPartialEq for PodGroupSchedulingPolicy
Auto Trait Implementations§
impl Freeze for PodGroupSchedulingPolicy
impl RefUnwindSafe for PodGroupSchedulingPolicy
impl Send for PodGroupSchedulingPolicy
impl Sync for PodGroupSchedulingPolicy
impl Unpin for PodGroupSchedulingPolicy
impl UnsafeUnpin for PodGroupSchedulingPolicy
impl UnwindSafe for PodGroupSchedulingPolicy
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