Documentation
¶
Index ¶
- func ExtraResourcesCouldHelpScheduling(pod v1.Pod) bool
- func IsMoreImportant(p1 v1.Pod, p2 v1.Pod) bool
- func IsOverQuota(pod v1.Pod) bool
- func IsOwnedBy(pod v1.Pod, gvk schema.GroupVersionKind) bool
- func IsOwnedByDaemonSet(pod v1.Pod) bool
- func IsOwnedByNode(pod v1.Pod) bool
- func IsPending(pod v1.Pod) bool
- func IsPreempting(pod v1.Pod) bool
- func IsScheduled(pod v1.Pod) bool
- func IsUnschedulable(pod v1.Pod) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtraResourcesCouldHelpScheduling ¶
ExtraResourcesCouldHelpScheduling returns true if the Pod is unschedulable and there a possibility that adding to the cluster additional resources could allow the Pod to be scheduled. Returns false otherwise.
func IsMoreImportant ¶
IsMoreImportant returns true if p1 is more important than p2, false otherwise
func IsOverQuota ¶
IsOverQuota returns true if the pod is "over-quota", false otherwise.
A pod is considered over-quota if it is subject to an ElasticQuota, and it is using resources borrowed from another ElasticQuota.
func IsOwnedByDaemonSet ¶
func IsOwnedByNode ¶
func IsPreempting ¶
func IsScheduled ¶
func IsUnschedulable ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.