Trait k8_types::store::StoreSpec

source ·
pub trait StoreSpec: Sized + Default + Debug + Clone {
    type K8Spec: Spec;
    type Status: Sized + Clone + Default + Debug;
    type Key: Ord + Clone + Debug + ToString;
    type Owner: StoreSpec;

    const LABEL: &'static str;

    // Required method
    fn convert_from_k8(
        k8_obj: K8Obj<Self::K8Spec>
    ) -> Result<Option<MetaItem<Self>>, IoError>;
}

Required Associated Types§

Required Associated Constants§

source

const LABEL: &'static str

Required Methods§

Implementors§