pod

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailedToSchedule

func FailedToSchedule(pod *v1.Pod) bool

func HasPodAntiAffinity added in v0.6.5

func HasPodAntiAffinity(pod *v1.Pod) bool

HasPodAntiAffinity returns true if a non-empty PodAntiAffinity is defined in the pod spec

func HasRequiredPodAntiAffinity added in v0.7.3

func HasRequiredPodAntiAffinity(pod *v1.Pod) bool

HasRequiredPodAntiAffinity returns true if a non-empty PodAntiAffinity/RequiredDuringSchedulingIgnoredDuringExecution is defined in the pod spec

func IsOwnedBy

func IsOwnedBy(pod *v1.Pod, gvks []schema.GroupVersionKind) bool

func IsOwnedByDaemonSet

func IsOwnedByDaemonSet(pod *v1.Pod) bool

func IsOwnedByNode

func IsOwnedByNode(pod *v1.Pod) bool

IsOwnedByNode returns true if the pod is a static pod owned by a specific node

func IsPreempting added in v0.5.4

func IsPreempting(pod *v1.Pod) bool

func IsProvisionable added in v0.11.0

func IsProvisionable(pod *v1.Pod) bool

func IsScheduled added in v0.5.3

func IsScheduled(pod *v1.Pod) bool

func IsTerminal added in v0.5.3

func IsTerminal(pod *v1.Pod) bool

func IsTerminating added in v0.5.3

func IsTerminating(pod *v1.Pod) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL