pod

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 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 HasRequiredPodAffinity added in v0.7.3

func HasRequiredPodAffinity(pod *v1.Pod) bool

HasRequiredPodAffinity returns true if a non-empty PodAffinity.RequiredDuringSchedulingIgnoredDuringExecution 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 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