Documentation ¶
Index ¶
- Variables
- func Gate(pod *corev1.Pod, gateName string) bool
- func HasGate(pod *corev1.Pod, gateName string) bool
- func IgnoreLabelNotFoundError(err error) error
- func ReadUIntFromLabel(obj client.Object, labelKey string) (*int, error)
- func ReadUIntFromLabelBelowBound(obj client.Object, labelKey string, bound int) (*int, error)
- func Ungate(pod *corev1.Pod, gateName string) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Gate ¶
Gate adds scheduling gate from the Pod if present. Returns true if the pod has been updated and false otherwise.
func IgnoreLabelNotFoundError ¶ added in v0.10.0
func ReadUIntFromLabel ¶ added in v0.10.0
func ReadUIntFromLabelBelowBound ¶ added in v0.10.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.