code: func (o *nameHashTransformer) Transform(m resmap.ResMap) error {
  	for _, res := range m {
  		if res.NeedHashSuffix() {
  			h, err := NewKustHash().Hash(res.Map())
  			if err != nil {
  				return err
  			}
  			res.SetName(fmt.Sprintf("%s-%s", res.GetName(), h))
  		}
  	}
  	return nil
  }
docs: // Transform appends hash to generated resources.