Documentation ¶
Index ¶
- func FailedToSchedule(pod *v1.Pod) bool
- func HasDoNotDisrupt(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
- func ToleratesUnschedulableTaint(pod *v1.Pod) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailedToSchedule ¶
func HasDoNotDisrupt ¶ added in v0.31.0
func HasPodAntiAffinity ¶
HasPodAntiAffinity returns true if a non-empty PodAntiAffinity is defined in the pod spec
func HasRequiredPodAntiAffinity ¶
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 ¶
func IsProvisionable ¶
func IsScheduled ¶
func IsTerminal ¶
func IsTerminating ¶
func ToleratesUnschedulableTaint ¶
HasUnschedulableToleration returns true if the pod tolerates node.kubernetes.io/unschedulable taint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.