[−][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1::CustomResourceDefinitionVersion
CustomResourceDefinitionVersion describes a version for CRD.
Fields
additional_printer_columns: Option<Vec<CustomResourceColumnDefinition>>
additionalPrinterColumns specifies additional columns returned in Table output. See https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables for details. If no columns are specified, a single column displaying the age of the custom resource is used.
name: String
name is the version name, e.g. “v1”, “v2beta1”, etc. The custom resources are served under this version at /apis/\<group\>/\<version\>/...
if served
is true.
schema: Option<CustomResourceValidation>
schema describes the schema used for validation, pruning, and defaulting of this version of the custom resource.
served: bool
served is a flag enabling/disabling this version from being served via REST APIs
storage: bool
storage indicates this version should be used when persisting custom resources to storage. There must be exactly one version with storage=true.
subresources: Option<CustomResourceSubresources>
subresources specify what subresources this version of the defined custom resource have.
Trait Implementations
impl Clone for CustomResourceDefinitionVersion
[src]
fn clone(&self) -> CustomResourceDefinitionVersion
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomResourceDefinitionVersion
[src]
impl Default for CustomResourceDefinitionVersion
[src]
impl<'de> Deserialize<'de> for CustomResourceDefinitionVersion
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CustomResourceDefinitionVersion> for CustomResourceDefinitionVersion
[src]
fn eq(&self, other: &CustomResourceDefinitionVersion) -> bool
[src]
fn ne(&self, other: &CustomResourceDefinitionVersion) -> bool
[src]
impl Serialize for CustomResourceDefinitionVersion
[src]
impl StructuralPartialEq for CustomResourceDefinitionVersion
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceDefinitionVersion
impl Send for CustomResourceDefinitionVersion
impl Sync for CustomResourceDefinitionVersion
impl Unpin for CustomResourceDefinitionVersion
impl UnwindSafe for CustomResourceDefinitionVersion
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,