hash

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const REVISION_HASH_LABEL = "app.kubernetes.io/revision-hash"

Variables

This section is empty.

Functions

func AddRevisionHashLabel

func AddRevisionHashLabel(object metav1.Object) error

AddRevisionHashLabel generates a revision hash and updates the labels of a given object

func GenerateObjectHash

func GenerateObjectHash(object interface{}) (string, error)

GenerateObjectHash generates a hash value for a given object

func GenerateRevisionHashLabel

func GenerateRevisionHashLabel(revisionHash string) map[string]string

GenerateRevisionHashLabel generates a map containing a given revision hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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