ctrlutil

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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