pod

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatorRef

func CreatorRef(pod *v1.Pod) (*v1.SerializedReference, error)

CreatorRef returns the kind of the creator reference of the pod.

func IsBestEffortPod

func IsBestEffortPod(pod *v1.Pod) bool

func IsBurstablePod

func IsBurstablePod(pod *v1.Pod) bool

func IsCriticalPod

func IsCriticalPod(pod *v1.Pod) bool

func IsDaemonsetPod

func IsDaemonsetPod(sr *v1.SerializedReference) bool

func IsGuaranteedPod

func IsGuaranteedPod(pod *v1.Pod) bool

func IsMirrorPod

func IsMirrorPod(pod *v1.Pod) bool

IsMirrorPod checks whether the pod is a mirror pod.

func IsPodWithLocalStorage

func IsPodWithLocalStorage(pod *v1.Pod) bool

func ListPodsOnANode

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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