code: func exportObjectMeta(accessor metav1.Object, exact bool) {
  	accessor.SetUID("")
  	if !exact {
  		accessor.SetNamespace("")
  	}
  	accessor.SetCreationTimestamp(metav1.Time{})
  	accessor.SetDeletionTimestamp(nil)
  	accessor.SetResourceVersion("")
  	accessor.SetSelfLink("")
  	if len(accessor.GetGenerateName()) > 0 && !exact {
  		accessor.SetName("")
  	}
  }
docs: // exportObjectMeta unsets the fields on the given object that should not be
  // present when the object is exported.