Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RoutingRule ¶
type RoutingRule struct { // Name of the routing rule Name string `json:"name"` // Description of the routing rule Description string `json:"description"` // The mode describe how to hande with mathing requests // Possible values: "BLOCK" or "ALLOW" Mode RoutingRuleMode `json:"mode"` // Regular expressions used to identify request paths that are allowed or blocked (depending on above mode) Matchers []string `json:"matchers"` }
RoutingRule is like a filter you can apply to groups in terms of security access and general component retrieval, and can reduce the number of repositories within a group accessed in order to retrieve an component.
type RoutingRuleMode ¶
type RoutingRuleMode string
const ( RoutingRuleModeAllow RoutingRuleMode = "ALLOW" RoutingRuleModeBlock RoutingRuleMode = "BLOCK" )
func (RoutingRuleMode) IsValid ¶
func (m RoutingRuleMode) IsValid() error
IsValid checks the values of the enum RoutingRuleMode
Click to show internal directories.
Click to hide internal directories.