pub fn containers(&self) -> Vec<Container> {
        self.kube_pod
            .spec
            .as_ref()
            .map(|s| &s.containers)
            .unwrap_or_else(|| &EMPTY_VEC)
            .iter()
            .map(|c| Container::new(c))
            .collect()
    }
/// Get a pod's containers
Get a pod's containers
Get a pod ' s containers
pub fn containers(&self) -> Vec<Container> {
        self.kube_pod
            .spec
            .as_ref()
            .map(|s| &s.containers)
            .unwrap_or_else(|| &EMPTY_VEC)
            .iter()
            .map(|c| Container::new(c))
            .collect()
    }
pub fn containers ( & self ) -> Vec < Container > { self . kube_pod . spec . as_ref ( ) . map ( | s | & s . containers ) . unwrap_or_else ( | | & EMPTY_VEC ) . iter ( ) . map ( | c | Container :: new ( c ) ) . collect ( ) }
Get a pod's containers
Get a pod ' s containers
&self
&self