pub fn image_pull_secrets(&self) -> Vec<String> {
        match self.kube_pod.spec.as_ref() {
            None => vec![],
            Some(spec) => match spec.image_pull_secrets.as_ref() {
                None => vec![],
                Some(objrefs) => objrefs
                    .iter()
                    .filter_map(|objref| objref.name.clone())
                    .collect(),
            },
        }
    }
/// Get the names of the pod's image pull secrets
Get the names of the pod's image pull secrets
Get the names of the pod ' s image pull secrets
pub fn image_pull_secrets(&self) -> Vec<String> {
        match self.kube_pod.spec.as_ref() {
            None => vec![],
            Some(spec) => match spec.image_pull_secrets.as_ref() {
                None => vec![],
                Some(objrefs) => objrefs
                    .iter()
                    .filter_map(|objref| objref.name.clone())
                    .collect(),
            },
        }
    }
pub fn image_pull_secrets ( & self ) -> Vec < String > { match self . kube_pod . spec . as_ref ( ) { None => vec ! [ ] , Some ( spec ) => match spec . image_pull_secrets . as_ref ( ) { None => vec ! [ ] , Some ( objrefs ) => objrefs . iter ( ) . filter_map ( | objref | objref . name . clone ( ) ) . collect ( ) , } , } }
Get the names of the pod's image pull secrets
Get the names of the pod ' s image pull secrets
&self
&self