pub struct CompositePodGroup {
pub metadata: ObjectMeta,
pub spec: CompositePodGroupSpec,
pub status: Option<CompositePodGroupStatus>,
}Expand description
CompositePodGroup represents a runtime instance of pod groups grouped together. CompositePodGroups are created by workload controllers (LWS, JobSet, etc…) from Workload.compositePodGroupTemplates. CompositePodGroup API enablement is toggled by the CompositePodGroup feature gate.
Fields§
§metadata: ObjectMetametadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: CompositePodGroupSpecspec defines the desired state of the CompositePodGroup.
status: Option<CompositePodGroupStatus>status represents the current observed state of the CompositePodGroup.
Trait Implementations§
Source§impl Clone for CompositePodGroup
impl Clone for CompositePodGroup
Source§impl Debug for CompositePodGroup
impl Debug for CompositePodGroup
Source§impl DeepMerge for CompositePodGroup
impl DeepMerge for CompositePodGroup
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for CompositePodGroup
impl Default for CompositePodGroup
Source§impl<'de> Deserialize<'de> for CompositePodGroup
impl<'de> Deserialize<'de> for CompositePodGroup
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 CompositePodGroup
impl ListableResource for CompositePodGroup
Source§impl Metadata for CompositePodGroup
impl Metadata for CompositePodGroup
Source§impl PartialEq for CompositePodGroup
impl PartialEq for CompositePodGroup
Source§impl Resource for CompositePodGroup
impl Resource for CompositePodGroup
Source§const API_VERSION: &'static str = "scheduling.k8s.io/v1alpha3"
const API_VERSION: &'static str = "scheduling.k8s.io/v1alpha3"
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 = "compositepodgroups"
const URL_PATH_SEGMENT: &'static str = "compositepodgroups"
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
Source§impl Serialize for CompositePodGroup
impl Serialize for CompositePodGroup
impl StructuralPartialEq for CompositePodGroup
Auto Trait Implementations§
impl Freeze for CompositePodGroup
impl RefUnwindSafe for CompositePodGroup
impl Send for CompositePodGroup
impl Sync for CompositePodGroup
impl Unpin for CompositePodGroup
impl UnsafeUnpin for CompositePodGroup
impl UnwindSafe for CompositePodGroup
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