code: func (d *namespacedResourcesDeleter) updateNamespaceStatusFunc(namespace *v1.Namespace) (*v1.Namespace, error) {
  	if namespace.DeletionTimestamp.IsZero() || namespace.Status.Phase == v1.NamespaceTerminating {
  		return namespace, nil
  	}
  	newNamespace := v1.Namespace{}
  	newNamespace.ObjectMeta = namespace.ObjectMeta
  	newNamespace.Status = namespace.Status
  	newNamespace.Status.Phase = v1.NamespaceTerminating
  	return d.nsClient.UpdateStatus(&newNamespace)
  }
docs: // updateNamespaceStatusFunc will verify that the status of the namespace is correct