Module: Gitlab::HttpRouter::RuleContext

Extended by:
ActiveSupport::Concern
Includes:
Utils::StrongMemoize
Included in:
ApplicationController, RuleMetrics
Defined in:
lib/gitlab/http_router/rule_context.rb

Constant Summary collapse

ALLOWED_ROUTER_RULE_ACTIONS =

These values should be kept in sync with the values in the HTTP Router. gitlab.com/gitlab-org/cells/http-router/-/blob/main/src/rules/types.d.ts

%w[classify proxy].freeze
ROUTER_RULE_ACTIONS_WITHOUT_TYPE =

We do not expect a type for ‘proxy` rules

%w[proxy].freeze
ALLOWED_ROUTER_RULE_TYPES =
%w[FIRST_CELL SESSION_PREFIX].freeze