code: func (p *YAMLPrinter) PrintObj(obj runtime.Object, w io.Writer) error {
  	output, err := yaml.Marshal(obj)
  	if err != nil {
  		return err
  	}
  	_, err = fmt.Fprint(w, string(output))
  	return err
  }
docs: // PrintObj prints the data as YAML.