Documentation
¶
Index ¶
- Variables
- func ContainersShape(containers []corev1.Container) (result []map[string]interface{})
- func Gate(pod *corev1.Pod, gateName string) bool
- func GenerateRoleHash(podSpec *corev1.PodSpec) (string, error)
- 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 SpecShape(podSpec *corev1.PodSpec) (result map[string]interface{})
- func Ungate(pod *corev1.Pod, gateName string) bool
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ContainersShape ¶ added in v0.9.4
func Gate ¶
Gate adds scheduling gate from the Pod if present. Returns true if the pod has been updated and false otherwise.
func GenerateRoleHash ¶ added in v0.9.4
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.