[]Trait fluvio_sc::dispatcher::k8::app::core::metadata::Spec

pub trait Spec: Clone + Default + Send + Sync + Debug + DeserializeOwned + Serialize {
    type Status: Status;
    type Header: Header;

    pub const NAME_SPACED: bool;

    pub fn metadata() -> &'static Crd;

    pub fn label() -> &'static str { ... }
pub fn api_version() -> String { ... }
pub fn kind() -> String { ... }
pub fn make_same(&mut self, _other: &Self) { ... } }

Kubernetes Spec

Associated Types

Loading content...

Associated Constants

pub const NAME_SPACED: bool

if true, spec is namespaced

Loading content...

Required methods

pub fn metadata() -> &'static Crd

return uri for single instance

Loading content...

Provided methods

pub fn label() -> &'static str

pub fn api_version() -> String

pub fn kind() -> String

pub 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

impl Spec for TopicSpec[src]

type Status = TopicStatus

type Header = DefaultHeader

impl Spec for ConfigMapSpec

type Status = ConfigMapStatus

type Header = DefaultHeader

impl Spec for NamespaceSpec

type Status = NamespaceStatus

type Header = DefaultHeader

impl Spec for ExecCredentialSpec

type Status = ExecCredentialStatus

type Header = DefaultHeader

impl Spec for PodSpec

type Status = PodStatus

type Header = DefaultHeader

impl Spec for SecretSpec

type Status = SecretStatus

type Header = SecretHeader

impl Spec for ServiceSpec

type Status = ServiceStatus

type Header = DefaultHeader

impl Spec for StatefulSetSpec

type Status = StatefulSetStatus

type Header = DefaultHeader

impl Spec for PartitionSpec[src]

type Header = DefaultHeader

type Status = PartitionStatus

impl Spec for K8SpuGroupSpec[src]

type Status = SpuGroupStatus

type Header = DefaultHeader

impl Spec for SpuSpec[src]

type Status = SpuStatus

type Header = DefaultHeader

Loading content...