code: func NewKubeletconfigYAMLEncoder(targetVersion schema.GroupVersion) (runtime.Encoder, error) {
  	_, codecs, err := scheme.NewSchemeAndCodecs()
  	if err != nil {
  		return nil, err
  	}
  	mediaType := "application/yaml"
  	info, ok := runtime.SerializerInfoForMediaType(codecs.SupportedMediaTypes(), mediaType)
  	if !ok {
  		return nil, fmt.Errorf("unsupported media type %q", mediaType)
  	}
  	return codecs.EncoderForVersion(info.Serializer, targetVersion), nil
  }
docs: // NewKubeletconfigYAMLEncoder returns an encoder that can write objects in the kubeletconfig API group to YAML