Documentation
¶
Index ¶
- func FailedToSchedule(pod *v1.Pod) bool
- func HasPodAntiAffinity(pod *v1.Pod) bool
- func HasRequiredPodAntiAffinity(pod *v1.Pod) bool
- func IsOwnedBy(pod *v1.Pod, gvks []schema.GroupVersionKind) bool
- func IsOwnedByDaemonSet(pod *v1.Pod) bool
- func IsOwnedByNode(pod *v1.Pod) bool
- func IsPreempting(pod *v1.Pod) bool
- func IsProvisionable(pod *v1.Pod) bool
- func IsScheduled(pod *v1.Pod) bool
- func IsTerminal(pod *v1.Pod) bool
- func IsTerminating(pod *v1.Pod) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailedToSchedule ¶
func HasPodAntiAffinity ¶ added in v0.6.5
HasPodAntiAffinity returns true if a non-empty PodAntiAffinity is defined in the pod spec
func HasRequiredPodAntiAffinity ¶ added in v0.7.3
HasRequiredPodAntiAffinity returns true if a non-empty PodAntiAffinity/RequiredDuringSchedulingIgnoredDuringExecution is defined in the pod spec
func IsOwnedByDaemonSet ¶
func IsOwnedByNode ¶
IsOwnedByNode returns true if the pod is a static pod owned by a specific node
func IsPreempting ¶ added in v0.5.4
func IsProvisionable ¶ added in v0.11.0
func IsScheduled ¶ added in v0.5.3
func IsTerminal ¶ added in v0.5.3
func IsTerminating ¶ added in v0.5.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.