comparison

package
v0.4.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMD5ForSpec

func GenerateMD5ForSpec(spec interface{}) (string, error)

GenerateMD5ForSpec used to generate MD5 hashes for the Agent and Cluster Agent specs

func IsSameSpecMD5Hash

func IsSameSpecMD5Hash(hash string, annotations map[string]string) bool

IsSameSpecMD5Hash used to compare a md5 hash with the one set in annotations

func SetMD5GenerationAnnotation

func SetMD5GenerationAnnotation(obj *metav1.ObjectMeta, spec interface{}) (string, error)

SetMD5GenerationAnnotation is used to set the md5 annotation key/value from spec

Types

This section is empty.

Jump to

Keyboard shortcuts

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