[][src]Trait k8_metadata_core::Spec

pub trait Spec: Sized {
    type Status: Status;
    fn metadata() -> &'static Crd;

    fn api_version() -> String { ... }
fn kind() -> String { ... }
fn make_same(&mut self, _other: &Self) { ... } }

Kubernetes Spec

Associated Types

Loading content...

Required methods

fn metadata() -> &'static Crd

return uri for single instance

Loading content...

Provided methods

fn api_version() -> String

fn kind() -> String

fn make_same(&mut self, _other: &Self)

in case of applying, we have some fields that are generated or override. So need to special logic to reset them so we can do proper comparison

Loading content...

Implementors

Loading content...