Trait k8_types::Spec [−][src]
pub trait Spec: Sized + Debug + Clone + Default + Serialize + DeserializeOwned + Send + Sync {
type Status: Status;
type Header: Header;
const NAME_SPACED: bool;
fn metadata() -> &'static Crd;
fn label() -> &'static str { ... }
fn api_version() -> String { ... }
fn kind() -> String { ... }
fn make_same(&mut self, _other: &Self) { ... }
}
Expand description
Kubernetes Spec
Associated Types
Associated Constants
const NAME_SPACED: bool
const NAME_SPACED: bool
if true, spec is namespaced