[−][src]Struct k8s_openapi::apiextensions_apiserver::pkg::apis::apiextensions::v1beta1::CustomResourceDefinitionNames
CustomResourceDefinitionNames indicates the names to serve this CustomResourceDefinition
Fields
categories: Option<Vec<String>>
categories is a list of grouped resources this custom resource belongs to (e.g. 'all'). This is published in API discovery documents, and used by clients to support invocations like kubectl get all
.
kind: String
kind is the serialized kind of the resource. It is normally CamelCase and singular. Custom resource instances will use this value as the kind
attribute in API calls.
list_kind: Option<String>
listKind is the serialized kind of the list for this resource. Defaults to "kind
List".
plural: String
plural is the plural name of the resource to serve. The custom resources are served under /apis/\<group\>/\<version\>/.../\<plural\>
. Must match the name of the CustomResourceDefinition (in the form \<names.plural\>.\<group\>
). Must be all lowercase.
short_names: Option<Vec<String>>
shortNames are short names for the resource, exposed in API discovery documents, and used by clients to support invocations like kubectl get \<shortname\>
. It must be all lowercase.
singular: Option<String>
singular is the singular name of the resource. It must be all lowercase. Defaults to lowercased kind
.
Trait Implementations
impl Clone for CustomResourceDefinitionNames
[src]
pub fn clone(&self) -> CustomResourceDefinitionNames
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CustomResourceDefinitionNames
[src]
impl Default for CustomResourceDefinitionNames
[src]
pub fn default() -> CustomResourceDefinitionNames
[src]
impl<'de> Deserialize<'de> for CustomResourceDefinitionNames
[src]
pub fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<CustomResourceDefinitionNames> for CustomResourceDefinitionNames
[src]
pub fn eq(&self, other: &CustomResourceDefinitionNames) -> bool
[src]
pub fn ne(&self, other: &CustomResourceDefinitionNames) -> bool
[src]
impl Serialize for CustomResourceDefinitionNames
[src]
impl StructuralPartialEq for CustomResourceDefinitionNames
[src]
Auto Trait Implementations
impl RefUnwindSafe for CustomResourceDefinitionNames
[src]
impl Send for CustomResourceDefinitionNames
[src]
impl Sync for CustomResourceDefinitionNames
[src]
impl Unpin for CustomResourceDefinitionNames
[src]
impl UnwindSafe for CustomResourceDefinitionNames
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,