package hash
import "k8s.io/kubectl/pkg/util/hash"
Index ¶
- func ConfigMapHash(cm *v1.ConfigMap) (string, error)
- func SecretHash(sec *v1.Secret) (string, error)
Functions ¶
func ConfigMapHash ¶
ConfigMapHash returns a hash of the ConfigMap. The Data, Kind, and Name are taken into account.
func SecretHash ¶
SecretHash returns a hash of the Secret. The Data, Kind, Name, and Type are taken into account.
Source Files ¶
hash.go
- Version
- v0.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 1 month ago –
Tools for package owners.