[][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::CustomResourceDefinitionStatus

pub struct CustomResourceDefinitionStatus {
    pub accepted_names: Option<CustomResourceDefinitionNames>,
    pub conditions: Option<Vec<CustomResourceDefinitionCondition>>,
    pub stored_versions: Option<Vec<String>>,
}

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

impl Clone for CustomResourceDefinitionStatus[src]

impl Debug for CustomResourceDefinitionStatus[src]

impl Default for CustomResourceDefinitionStatus[src]

impl<'de> Deserialize<'de> for CustomResourceDefinitionStatus[src]

impl PartialEq<CustomResourceDefinitionStatus> for CustomResourceDefinitionStatus[src]

impl Serialize for CustomResourceDefinitionStatus[src]

impl StructuralPartialEq for CustomResourceDefinitionStatus[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.