package hash
import "k8s.io/kubernetes/pkg/kubectl/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
- v1.14.6
- Published
- Aug 16, 2019
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 3 minutes ago –
Tools for package owners.