Skip to main content

pod_consumer

Function pod_consumer 

Source
pub fn pod_consumer(
    pod: &Pod,
    cr_uid: &str,
    scope: &SecretScope,
) -> Option<Consumer>
Expand description

Consumer for a pod, or None when the pod is finished (Succeeded or Failed) or has nothing to do with us. Terminating pods count: their containers may still authenticate until they exit.