pub fn all_containers(&self) -> Vec<ContainerKey> {
        let app_containers = self.containers();
        let app_container_keys = app_containers
            .iter()
            .map(|c| ContainerKey::App(c.name().to_owned()));
        let init_containers = self.init_containers();
        let init_container_keys = init_containers
            .iter()
            .map(|c| ContainerKey::Init(c.name().to_owned()));
        app_container_keys.chain(init_container_keys).collect()
    }
/// Gets all of a pod's containers (init and application)
Gets all of a pod's containers (init and application)
Gets all of a pod ' s containers ( init and application )
pub fn all_containers(&self) -> Vec<ContainerKey> {
        let app_containers = self.containers();
        let app_container_keys = app_containers
            .iter()
            .map(|c| ContainerKey::App(c.name().to_owned()));
        let init_containers = self.init_containers();
        let init_container_keys = init_containers
            .iter()
            .map(|c| ContainerKey::Init(c.name().to_owned()));
        app_container_keys.chain(init_container_keys).collect()
    }
pub fn all_containers ( & self ) -> Vec < ContainerKey > { let app_containers = self . containers ( ) ; let app_container_keys = app_containers . iter ( ) . map ( | c | ContainerKey :: App ( c . name ( ) . to_owned ( ) ) ) ; let init_containers = self . init_containers ( ) ; let init_container_keys = init_containers . iter ( ) . map ( | c | ContainerKey :: Init ( c . name ( ) . to_owned ( ) ) ) ; app_container_keys . chain ( init_container_keys ) . collect ( ) }
Gets all of a pod's containers (init and application)
Gets all of a pod ' s containers ( init and application )
&self
&self