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