Documentation
¶
Overview ¶
Package ctrlutil provides utility functions for controllers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetResourceVersion ¶
func GetResourceVersion(meta metav1.ObjectMeta) string
GetResourceVersion returns a string representing the resource version of the object. It is a combination of the generation and a hash of the labels and annotations.
func HashMeta ¶
func HashMeta(m metav1.ObjectMeta) string
HashMeta returns a hash of the metadata's labels and annotations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.