master
GetPodState
func GetPodState(pod corev1.Pod) string { if len(pod.Status.ContainerStatuses) == 0 || pod.Status.Phase == corev1.PodUnknown { return api.UnknownState }