code: func checkName(obj runtime.Object, name, namespace string, namer ScopeNamer) error {
  	objNamespace, objName, err := namer.ObjectName(obj)
  	if err != nil {
  		return errors.NewBadRequest(fmt.Sprintf(
  			"the name of the object (%s based on URL) was undeterminable: %v", name, err))
  	}
  	if objName != name {
  		return errors.NewBadRequest(fmt.Sprintf(
  			"the name of the object (%s) does not match the name on the URL (%s)", objName, name))
  	}
  	if len(namespace) > 0 {
  		if len(objNamespace) > 0 && objNamespace != namespace {
  			return errors.NewBadRequest(fmt.Sprintf(
  				"the namespace of the object (%s) does not match the namespace on the request (%s)", objNamespace, namespace))
  		}
  	}
  
  	return nil
  }
docs: // checkName checks the provided name against the request