pub struct PodGroup {
pub metadata: ObjectMeta,
pub spec: PodGroupSpec,
pub status: Option<PodGroupStatus>,
}Expand description
PodGroup represents a runtime instance of pods grouped together. PodGroups are created by workload controllers (Job, LWS, JobSet, etc…) from Workload.podGroupTemplates. PodGroup API enablement is toggled by the GenericWorkload feature gate.
Fields§
§metadata: ObjectMetaStandard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: PodGroupSpecSpec defines the desired state of the PodGroup.
status: Option<PodGroupStatus>Status represents the current observed state of the PodGroup.
Trait Implementations§
Source§impl DeepMerge for PodGroup
impl DeepMerge for PodGroup
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl<'de> Deserialize<'de> for PodGroup
impl<'de> Deserialize<'de> for PodGroup
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 ListableResource for PodGroup
impl ListableResource for PodGroup
Source§impl Resource for PodGroup
impl Resource for PodGroup
Source§const API_VERSION: &'static str = "scheduling.k8s.io/v1alpha2"
const API_VERSION: &'static str = "scheduling.k8s.io/v1alpha2"
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 = "scheduling.k8s.io"
const GROUP: &'static str = "scheduling.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 = "podgroups"
const URL_PATH_SEGMENT: &'static str = "podgroups"
The URL path segment used to construct URLs related to this resource. Read more
Source§type Scope = NamespaceResourceScope
type Scope = NamespaceResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
impl StructuralPartialEq for PodGroup
Auto Trait Implementations§
impl Freeze for PodGroup
impl RefUnwindSafe for PodGroup
impl Send for PodGroup
impl Sync for PodGroup
impl Unpin for PodGroup
impl UnsafeUnpin for PodGroup
impl UnwindSafe for PodGroup
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