Trait kube_core::crd::v1beta1::CustomResourceExt [−][src]
pub trait CustomResourceExt { fn crd() -> CustomResourceDefinition; fn api_resource() -> ApiResource; }
Expand description
Extension trait that will be implemented by kube-derive for legacy v1beta1::CustomResourceDefinitions
This trait variant is only implemented with #[kube(apiextensions = "v1beta1")]
Required methods
fn crd() -> CustomResourceDefinition
[src]
fn crd() -> CustomResourceDefinition
[src]Helper to generate the legacy CRD without a JsonSchema
This is using v1beta1::CustomResourceDefinitions (which will be removed in kubernetes 1.22)
fn api_resource() -> ApiResource
[src]
fn api_resource() -> ApiResource
[src]Helper to generate the api information type for use with the dynamic Api