comparison

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 4, 2021 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 IsSameMD5Hash added in v0.5.0

func IsSameMD5Hash(hash string, annotations map[string]string, annotationKey string) bool

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

func IsSameSpecMD5Hash

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

IsSameSpecMD5Hash used to compare the DatadogAgent.spec md5 hash with the one set in annotations

func SetMD5DatadogAgentGenerationAnnotation added in v0.5.0

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

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

func SetMD5GenerationAnnotation

func SetMD5GenerationAnnotation(obj *metav1.ObjectMeta, spec interface{}, annotationKey string) (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