pub struct CustomResourceDefinitionStatus {
pub accepted_names: Option<CustomResourceDefinitionNames>,
pub conditions: Option<Vec<CustomResourceDefinitionCondition, Global>>,
pub stored_versions: Option<Vec<String, Global>>,
}
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, Global>>
conditions indicate state for particular aspects of a CustomResourceDefinition
stored_versions: Option<Vec<String, Global>>
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
sourceimpl Clone for CustomResourceDefinitionStatus
impl Clone for CustomResourceDefinitionStatus
sourcefn clone(&self) -> CustomResourceDefinitionStatus
fn clone(&self) -> CustomResourceDefinitionStatus
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl DeepMerge for CustomResourceDefinitionStatus
impl DeepMerge for CustomResourceDefinitionStatus
sourcefn merge_from(&mut self, other: CustomResourceDefinitionStatus)
fn merge_from(&mut self, other: CustomResourceDefinitionStatus)
Merge
other
into self
.sourceimpl Default for CustomResourceDefinitionStatus
impl Default for CustomResourceDefinitionStatus
sourcefn default() -> CustomResourceDefinitionStatus
fn default() -> CustomResourceDefinitionStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CustomResourceDefinitionStatus
impl<'de> Deserialize<'de> for CustomResourceDefinitionStatus
sourcefn deserialize<D>(
deserializer: D
) -> Result<CustomResourceDefinitionStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<CustomResourceDefinitionStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CustomResourceDefinitionStatus> for CustomResourceDefinitionStatus
impl PartialEq<CustomResourceDefinitionStatus> for CustomResourceDefinitionStatus
sourcefn eq(&self, other: &CustomResourceDefinitionStatus) -> bool
fn eq(&self, other: &CustomResourceDefinitionStatus) -> bool
sourceimpl Serialize for CustomResourceDefinitionStatus
impl Serialize for CustomResourceDefinitionStatus
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CustomResourceDefinitionStatus
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceDefinitionStatus
impl Send for CustomResourceDefinitionStatus
impl Sync for CustomResourceDefinitionStatus
impl Unpin for CustomResourceDefinitionStatus
impl UnwindSafe for CustomResourceDefinitionStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more