code: func CleanScope(requestInfo *request.RequestInfo) string {
  	if requestInfo.Namespace != "" {
  		return "namespace"
  	}
  	if requestInfo.Name != "" {
  		return "resource"
  	}
  	if requestInfo.IsResourceRequest {
  		return "cluster"
  	}
  	// this is the empty scope
  	return ""
  }
docs: // CleanScope returns the scope of the request.