code: func (r Registration) Marshal(obj runtime.Object) ([]byte, error) {
  	return kubeadmutil.MarshalToYamlForCodecs(obj, r.MarshalGroupVersion, Codecs)
  }
docs: // Marshal marshals obj to bytes for the current Registration