code: func EnvFormat(res []*api.GenericResource, prefix string) []string {
  	envs := make(map[string][]string)
  	for _, v := range res {
  		key := Kind(v)
  		val := Value(v)
  		envs[key] = append(envs[key], val)
  	}
  
  	env := make([]string, 0, len(res))
  	for k, v := range envs {
  		k = strings.ToUpper(prefix + "_" + k)
  		env = append(env, k+"="+strings.Join(v, ","))
  	}
  
  	return env
  }
docs: // EnvFormat returns the environment string version of the resource