Documentation
¶
Overview ¶
Package checksum provides checksum computation and comparison for ConfigMaps
Index ¶
Constants ¶
View Source
const (
// ContentChecksumAnnotation is the annotation key used to store the ConfigMap content checksum
ContentChecksumAnnotation = "toolhive.stacklok.dev/content-checksum"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunConfigConfigMapChecksum ¶
type RunConfigConfigMapChecksum interface {
ComputeConfigMapChecksum(cm *corev1.ConfigMap) string
ConfigMapChecksumHasChanged(current, desired *corev1.ConfigMap) bool
}
RunConfigConfigMapChecksum provides methods for computing and comparing ConfigMap checksums
func NewRunConfigConfigMapChecksum ¶
func NewRunConfigConfigMapChecksum() RunConfigConfigMapChecksum
NewRunConfigConfigMapChecksum creates a new RunConfigConfigMapChecksum
Click to show internal directories.
Click to hide internal directories.