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.32.3 (latest)
- Published
- Mar 12, 2025
- Platform
- linux/amd64
- Imports
- 4 packages
- Last checked
- 6 days ago –
Tools for package owners.