code: func writeYAML(w io.Writer, values interface{}) error {
  	data, err := yaml.Marshal(values)
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	_, err = w.Write(data)
  	return trace.Wrap(err)
  }
docs: // writeYAML writes marshaled YAML to writer