Struct k8s_openapi::api::resource::v1alpha3::PodSchedulingContextSpec
source · pub struct PodSchedulingContextSpec {
pub potential_nodes: Option<Vec<String>>,
pub selected_node: Option<String>,
}
Expand description
PodSchedulingContextSpec describes where resources for the Pod are needed.
Fields§
§potential_nodes: Option<Vec<String>>
PotentialNodes lists nodes where the Pod might be able to run.
The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.
selected_node: Option<String>
SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use “WaitForFirstConsumer” allocation is to be attempted.
Trait Implementations§
source§impl Clone for PodSchedulingContextSpec
impl Clone for PodSchedulingContextSpec
source§fn clone(&self) -> PodSchedulingContextSpec
fn clone(&self) -> PodSchedulingContextSpec
Returns a copy 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 PodSchedulingContextSpec
impl Debug for PodSchedulingContextSpec
source§impl DeepMerge for PodSchedulingContextSpec
impl DeepMerge for PodSchedulingContextSpec
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PodSchedulingContextSpec
impl Default for PodSchedulingContextSpec
source§fn default() -> PodSchedulingContextSpec
fn default() -> PodSchedulingContextSpec
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PodSchedulingContextSpec
impl<'de> Deserialize<'de> for PodSchedulingContextSpec
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 PodSchedulingContextSpec
impl PartialEq for PodSchedulingContextSpec
source§impl Serialize for PodSchedulingContextSpec
impl Serialize for PodSchedulingContextSpec
impl StructuralPartialEq for PodSchedulingContextSpec
Auto Trait Implementations§
impl Freeze for PodSchedulingContextSpec
impl RefUnwindSafe for PodSchedulingContextSpec
impl Send for PodSchedulingContextSpec
impl Sync for PodSchedulingContextSpec
impl Unpin for PodSchedulingContextSpec
impl UnwindSafe for PodSchedulingContextSpec
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)