package
Version:
v0.10.0-devel
Opens a new window with list of versions in this module.
Published: Nov 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
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(pod *corev1.Pod, gateName string) bool
HasGate checks if the pod has a scheduling gate with a specified name.
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.