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
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