Struct k8s_openapi::api::resource::v1alpha1::PodScheduling
source · pub struct PodScheduling {
pub metadata: ObjectMeta,
pub spec: PodSchedulingSpec,
pub status: Option<PodSchedulingStatus>,
}
Expand description
PodScheduling objects hold information that is needed to schedule a Pod with ResourceClaims that use “WaitForFirstConsumer” allocation mode.
This is an alpha type and requires enabling the DynamicResourceAllocation feature gate.
Fields§
§metadata: ObjectMeta
Standard object metadata
spec: PodSchedulingSpec
Spec describes where resources for the Pod are needed.
status: Option<PodSchedulingStatus>
Status describes where resources for the Pod can be allocated.
Trait Implementations§
source§impl Clone for PodScheduling
impl Clone for PodScheduling
source§fn clone(&self) -> PodScheduling
fn clone(&self) -> PodScheduling
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 PodScheduling
impl Debug for PodScheduling
source§impl DeepMerge for PodScheduling
impl DeepMerge for PodScheduling
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for PodScheduling
impl Default for PodScheduling
source§fn default() -> PodScheduling
fn default() -> PodScheduling
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PodScheduling
impl<'de> Deserialize<'de> for PodScheduling
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 JsonSchema for PodScheduling
impl JsonSchema for PodScheduling
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl ListableResource for PodScheduling
impl ListableResource for PodScheduling
source§impl Metadata for PodScheduling
impl Metadata for PodScheduling
source§impl PartialEq for PodScheduling
impl PartialEq for PodScheduling
source§fn eq(&self, other: &PodScheduling) -> bool
fn eq(&self, other: &PodScheduling) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Resource for PodScheduling
impl Resource for PodScheduling
source§const API_VERSION: &'static str = "resource.k8s.io/v1alpha1"
const API_VERSION: &'static str = "resource.k8s.io/v1alpha1"
The API version of the resource. This is a composite of
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read moresource§const GROUP: &'static str = "resource.k8s.io"
const GROUP: &'static str = "resource.k8s.io"
The group of the resource, or the empty string if the resource doesn’t have a group.
source§const URL_PATH_SEGMENT: &'static str = "podschedulings"
const URL_PATH_SEGMENT: &'static str = "podschedulings"
The URL path segment used to construct URLs related to this resource. Read more
§type Scope = NamespaceResourceScope
type Scope = NamespaceResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
source§impl Serialize for PodScheduling
impl Serialize for PodScheduling
impl StructuralPartialEq for PodScheduling
Auto Trait Implementations§
impl Freeze for PodScheduling
impl RefUnwindSafe for PodScheduling
impl Send for PodScheduling
impl Sync for PodScheduling
impl Unpin for PodScheduling
impl UnwindSafe for PodScheduling
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