package hash
import "k8s.io/cli-runtime/pkg/kustomize/k8sdeps/transformer/hash"
Index ¶
- func ConfigMapHash(cm *v1.ConfigMap) (string, error)
- func NewNameHashTransformer() transformers.Transformer
- func SecretHash(sec *v1.Secret) (string, error)
- type KustHash
Functions ¶
func ConfigMapHash ¶
ConfigMapHash returns a hash of the ConfigMap. The Data, Kind, and Name are taken into account.
func NewNameHashTransformer ¶
func NewNameHashTransformer() transformers.Transformer
NewNameHashTransformer construct a nameHashTransformer.
func SecretHash ¶
SecretHash returns a hash of the Secret. The Data, Kind, Name, and Type are taken into account.
Types ¶
type KustHash ¶
type KustHash struct{}
KustHash compute hash for unstructured objects
func NewKustHash ¶
func NewKustHash() *KustHash
NewKustHash returns a KustHash object
func (*KustHash) Hash ¶
Hash returns a hash of either a ConfigMap or a Secret
Source Files ¶
hash.go namehash.go
- Version
- v0.17.16-rc.0
- Published
- Dec 9, 2020
- Platform
- js/wasm
- Imports
- 7 packages
- Last checked
- 26 minutes ago –
Tools for package owners.