pod

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gate

func Gate(pod *corev1.Pod, gateName string) bool

Gate adds scheduling gate from the Pod if present. Returns true if the pod has been updated and false otherwise.

func HasGate

func HasGate(pod *corev1.Pod, gateName string) bool

HasGate checks if the pod has a scheduling gate with a specified name.

func Ungate

func Ungate(pod *corev1.Pod, gateName string) bool

Ungate removes scheduling gate from the Pod if present. Returns true if the pod has been updated and false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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