var ErrPodCompleted … // PodRunning returns true if the pod is running, false if the pod has not yet reached running state, // returns ErrPodCompleted if the pod has run to completion, or an error in any other case. func PodRunning(event watch.Event) (bool, error) { … } // PodCompleted returns true if the pod has run to completion, false if the pod has not yet // reached running state, or an error in any other case. func PodCompleted(event watch.Event) (bool, error) { … }