func ConfigMapHash(cm *v1.ConfigMap) (string, error) {
	encoded, err := encodeConfigMap(cm)
	if err != nil {
		return "", err
	}
	h, err := encodeHash(hash(encoded))
	if err != nil {
		return "", err
	}
	return h, nil
}
// ConfigMapHash returns a hash of the ConfigMap.
// The Data, Kind, and Name are taken into account.
ConfigMapHash returns a hash of the ConfigMap.
The Data, Kind, and Name are taken into account.
// ConfigMapHash returns a hash of the ConfigMap . // The Data Kind and Name are taken into account .
func ConfigMapHash(cm *v1.ConfigMap) (string, error) {
	encoded, err := encodeConfigMap(cm)
	if err != nil {
		return "", err
	}
	h, err := encodeHash(hash(encoded))
	if err != nil {
		return "", err
	}
	return h, nil
}
func ConfigMapHash ( cm * v1 . ConfigMap ) ( string , error ) { encoded , err := encodeConfigMap ( cm ) if err != nil { return " " , err } h , err := encodeHash ( hash ( encoded ) ) if err != nil { return " " , err } return h , nil }
ConfigMapHash returns a hash of the ConfigMap.
ConfigMapHash returns a hash of the ConfigMap .