pod

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEvictable

func IsEvictable(pod *v1.Pod, evictLocalStoragePods bool) bool

IsEvictable checks if a pod is evictable or not.

func ListEvictablePodsOnNode

func ListEvictablePodsOnNode(client clientset.Interface, node *v1.Node, evictLocalStoragePods bool) ([]*v1.Pod, error)

ListEvictablePodsOnNode returns the list of evictable pods on node.

func ListPodsOnANode

func ListPodsOnANode(client clientset.Interface, node *v1.Node) ([]*v1.Pod, error)

ListPodsOnANode lists pod on some node

Types

This section is empty.

Jump to

Keyboard shortcuts

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