code: func RequireNamespace(namespace string) VisitorFunc {
  	return func(info *Info, err error) error {
  		if err != nil {
  			return err
  		}
  		if !info.Namespaced() {
  			return nil
  		}
  		if len(info.Namespace) == 0 {
  			info.Namespace = namespace
  			UpdateObjectNamespace(info, nil)
  			return nil
  		}
  		if info.Namespace != namespace {
  			return fmt.Errorf("the namespace from the provided object %q does not match the namespace %q. You must pass '--namespace=%s' to perform this operation.", info.Namespace, namespace, info.Namespace)
  		}
  		return nil
  	}
  }
docs: // RequireNamespace will either set a namespace if none is provided on the
  // Info object, or if the namespace is set and does not match the provided
  // value, returns an error. This is intended to guard against administrators
  // accidentally operating on resources outside their namespace.