fn key_from_pod(pod: &Pod) -> String {
    pod_key(
        &pod.metadata
            .as_ref()
            .and_then(|m| m.namespace.as_deref())
            .unwrap_or("default"),
        pod.metadata.as_ref().unwrap().name.as_ref().unwrap(),
    )
}
/// Generates a unique human readable key for storing a handle to a pod
Generates a unique human readable key for storing a handle to a pod
Generates a unique human readable key for storing a handle to a pod
fn key_from_pod(pod: &Pod) -> String {
    pod_key(
        &pod.metadata
            .as_ref()
            .and_then(|m| m.namespace.as_deref())
            .unwrap_or("default"),
        pod.metadata.as_ref().unwrap().name.as_ref().unwrap(),
    )
}
fn key_from_pod ( pod : & Pod ) -> String { pod_key ( & pod . metadata . as_ref ( ) . and_then ( | m | m . namespace . as_deref ( ) ) . unwrap_or ( " " ) , pod . metadata . as_ref ( ) . unwrap ( ) . name . as_ref ( ) . unwrap ( ) , ) }
Generates a unique human readable key for storing a handle to a pod
Generates a unique human readable key for storing a handle to a pod
pod
&Pod
pod
&Pod