Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinitionStatus
source · pub struct CustomResourceDefinitionStatus {
pub accepted_names: Option<CustomResourceDefinitionNames>,
pub conditions: Option<Vec<CustomResourceDefinitionCondition>>,
pub stored_versions: Option<Vec<String>>,
}
Expand description
CustomResourceDefinitionStatus indicates the state of the CustomResourceDefinition
Fields§
§accepted_names: Option<CustomResourceDefinitionNames>
acceptedNames are the names that are actually being used to serve discovery. They may be different than the names in spec.
conditions: Option<Vec<CustomResourceDefinitionCondition>>
conditions indicate state for particular aspects of a CustomResourceDefinition
stored_versions: Option<Vec<String>>
storedVersions lists all versions of CustomResources that were ever persisted. Tracking these versions allows a migration path for stored versions in etcd. The field is mutable so a migration controller can finish a migration to another version (ensuring no old objects are left in storage), and then remove the rest of the versions from this list. Versions may not be removed from spec.versions
while they exist in this list.
Trait Implementations§
source§impl Clone for CustomResourceDefinitionStatus
impl Clone for CustomResourceDefinitionStatus
source§fn clone(&self) -> CustomResourceDefinitionStatus
fn clone(&self) -> CustomResourceDefinitionStatus
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 DeepMerge for CustomResourceDefinitionStatus
impl DeepMerge for CustomResourceDefinitionStatus
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for CustomResourceDefinitionStatus
impl Default for CustomResourceDefinitionStatus
source§fn default() -> CustomResourceDefinitionStatus
fn default() -> CustomResourceDefinitionStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CustomResourceDefinitionStatus
impl<'de> Deserialize<'de> for CustomResourceDefinitionStatus
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 CustomResourceDefinitionStatus
impl PartialEq for CustomResourceDefinitionStatus
source§fn eq(&self, other: &CustomResourceDefinitionStatus) -> bool
fn eq(&self, other: &CustomResourceDefinitionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomResourceDefinitionStatus
Auto Trait Implementations§
impl Freeze for CustomResourceDefinitionStatus
impl RefUnwindSafe for CustomResourceDefinitionStatus
impl Send for CustomResourceDefinitionStatus
impl Sync for CustomResourceDefinitionStatus
impl Unpin for CustomResourceDefinitionStatus
impl UnwindSafe for CustomResourceDefinitionStatus
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