///
/// Translates K8 object into Sc AuthToken metadata
///
Translates K8 object into Sc AuthToken metadata
Translates K8 object into Sc AuthToken metadata
fn k8_obj_to_kv_obj<S>(k8_obj: K8Obj<S::K8Spec,<S::K8Spec as K8Spec>::Status>) -> Result<KVObject<S>,ScServerError> 
     where 
        S: Spec + Debug,
         <S as Spec>::K8Spec: Debug
{
    trace!("converting k8: {:#?}",k8_obj.spec);
    S::convert_from_k8(k8_obj)
        .map(|val| {
            trace!("converted val: {:#?}",val.spec);
            val
        })
        .map_err(|err| err.into())
}
fn k8_obj_to_kv_obj < S > ( k8_obj : K8Obj < S :: K8Spec , < S :: K8Spec as K8Spec > :: Status > ) -> Result < KVObject < S > , ScServerError > where S : Spec + Debug , < S as Spec > :: K8Spec : Debug { trace ! ( " " k8_obj spec ) ; S :: convert_from_k8 ( k8_obj ) . map ( | val | { trace ! ( " " val spec ) ; val } ) . map_err ( | err | err . into ( ) ) }
Translates K8 object into Sc AuthToken metadata
Translates K8 object into Sc AuthToken metadata
k8_obj
K8Obj<S::K8Spec,<S::K8Spec as K8Spec>::Status>