Documentation ¶
Index ¶
- func GenerateMD5ForSpec(spec interface{}) (string, error)
- func IsSameMD5Hash(hash string, annotations map[string]string, annotationKey string) bool
- func IsSameSpecMD5Hash(hash string, annotations map[string]string) bool
- func SetMD5DatadogAgentGenerationAnnotation(obj *metav1.ObjectMeta, spec interface{}) (string, error)
- func SetMD5GenerationAnnotation(obj *metav1.ObjectMeta, spec interface{}, annotationKey string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMD5ForSpec ¶
GenerateMD5ForSpec used to generate MD5 hashes for the Agent and Cluster Agent specs
func IsSameMD5Hash ¶ added in v0.5.0
IsSameMD5Hash used to compare a md5 hash with the one set in annotations
func IsSameSpecMD5Hash ¶
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.
Click to show internal directories.
Click to hide internal directories.