pub struct ResourcePoolStatusRequest {
pub metadata: ObjectMeta,
pub spec: ResourcePoolStatusRequestSpec,
pub status: Option<ResourcePoolStatusRequestStatus>,
}Expand description
ResourcePoolStatusRequest triggers a one-time calculation of resource pool status based on the provided filters. Once status is set, the request is considered complete and will not be reprocessed. Users should delete and recreate requests to get updated information.
Fields§
§metadata: ObjectMetaStandard object metadata
spec: ResourcePoolStatusRequestSpecSpec defines the filters for which pools to include in the status. The spec is immutable once created.
status: Option<ResourcePoolStatusRequestStatus>Status is populated by the controller with the calculated pool status. When status is non-nil, the request is considered complete and the entire object becomes immutable.
Trait Implementations§
Source§impl Clone for ResourcePoolStatusRequest
impl Clone for ResourcePoolStatusRequest
Source§fn clone(&self) -> ResourcePoolStatusRequest
fn clone(&self) -> ResourcePoolStatusRequest
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 ResourcePoolStatusRequest
impl Debug for ResourcePoolStatusRequest
Source§impl DeepMerge for ResourcePoolStatusRequest
impl DeepMerge for ResourcePoolStatusRequest
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for ResourcePoolStatusRequest
impl Default for ResourcePoolStatusRequest
Source§fn default() -> ResourcePoolStatusRequest
fn default() -> ResourcePoolStatusRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResourcePoolStatusRequest
impl<'de> Deserialize<'de> for ResourcePoolStatusRequest
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 Metadata for ResourcePoolStatusRequest
impl Metadata for ResourcePoolStatusRequest
Source§impl PartialEq for ResourcePoolStatusRequest
impl PartialEq for ResourcePoolStatusRequest
Source§fn eq(&self, other: &ResourcePoolStatusRequest) -> bool
fn eq(&self, other: &ResourcePoolStatusRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Resource for ResourcePoolStatusRequest
impl Resource for ResourcePoolStatusRequest
Source§const API_VERSION: &'static str = "resource.k8s.io/v1alpha3"
const API_VERSION: &'static str = "resource.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 = "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 = "resourcepoolstatusrequests"
const URL_PATH_SEGMENT: &'static str = "resourcepoolstatusrequests"
The URL path segment used to construct URLs related to this resource. Read more
Source§type Scope = ClusterResourceScope
type Scope = ClusterResourceScope
Indicates whether the resource is namespace-scoped or cluster-scoped or a subresource. Read more
impl StructuralPartialEq for ResourcePoolStatusRequest
Auto Trait Implementations§
impl Freeze for ResourcePoolStatusRequest
impl RefUnwindSafe for ResourcePoolStatusRequest
impl Send for ResourcePoolStatusRequest
impl Sync for ResourcePoolStatusRequest
impl Unpin for ResourcePoolStatusRequest
impl UnsafeUnpin for ResourcePoolStatusRequest
impl UnwindSafe for ResourcePoolStatusRequest
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