Documentation
¶
Index ¶
- func ExtractFailedPodContainerStatuses(pod *v1.Pod) []*api.ContainerStatus
- func ExtractJobId(pod *v1.Pod) string
- func ExtractJobIds(pods []*v1.Pod) []string
- func ExtractNames(pods []*v1.Pod) []string
- func ExtractPodExitCodes(pod *v1.Pod) map[string]int32
- func ExtractPodFailedCause(pod *v1.Pod) api.Cause
- func ExtractPodFailedReason(pod *v1.Pod) string
- func ExtractPodKey(pod *v1.Pod) string
- func ExtractPodNumber(pod *v1.Pod) int
- func ExtractPodStuckReason(pod *v1.Pod) string
- func FilterCompletedPods(pods []*v1.Pod) []*v1.Pod
- func FilterNonCompletedPods(pods []*v1.Pod) []*v1.Pod
- func FilterPods(pods []*v1.Pod, filter func(*v1.Pod) bool) []*v1.Pod
- func FilterPodsWithPhase(pods []*v1.Pod, podPhase v1.PodPhase) []*v1.Pod
- func FindLastContainerStartTime(pod *v1.Pod) time.Time
- func GetManagedPodSelector() labels.Selector
- func GetPodContainerStatuses(pod *v1.Pod) []v1.ContainerStatus
- func HasIngress(pod *v1.Pod) bool
- func IsInTerminalState(pod *v1.Pod) bool
- func IsManagedPod(pod *v1.Pod) bool
- func IsReportingPhaseRequired(podPhase v1.PodPhase) bool
- func LastStatusChange(pod *v1.Pod) (time.Time, error)
- func MergePodList(list1 []*v1.Pod, list2 []*v1.Pod) []*v1.Pod
- type PodCache
- type PodStartupStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractFailedPodContainerStatuses ¶ added in v0.1.24
func ExtractFailedPodContainerStatuses(pod *v1.Pod) []*api.ContainerStatus
func ExtractJobId ¶
func ExtractJobIds ¶
func ExtractNames ¶
func ExtractPodFailedReason ¶
func ExtractPodKey ¶ added in v0.1.23
func ExtractPodNumber ¶ added in v0.1.23
func ExtractPodStuckReason ¶
func FilterPods ¶ added in v0.0.11
func FindLastContainerStartTime ¶ added in v0.0.11
func GetManagedPodSelector ¶
func GetPodContainerStatuses ¶ added in v0.1.41
func GetPodContainerStatuses(pod *v1.Pod) []v1.ContainerStatus
func HasIngress ¶ added in v0.1.34
func IsInTerminalState ¶
func IsManagedPod ¶
Types ¶
type PodCache ¶
type PodStartupStatus ¶ added in v0.1.41
type PodStartupStatus int
const ( Healthy PodStartupStatus = iota Unstable Unrecoverable )
func DiagnoseStuckPod ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.