package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev
# Functions
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.
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.
ServiceAccountHasSecrets returns true if the service account has at least one secret, false if it does not, or an error.
# Variables
ErrPodCompleted is returned by PodRunning or PodContainerRunning to indicate that the pod has already reached completed state.