Documentation ¶
Index ¶
Constants ¶
View Source
const ( CompareEquals = "EQUALS" CompareNotEquals = "NOTEQUALS" RelationAnd = "AND" RelationOr = "OR" )
const
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultMatcher ¶
type DefaultMatcher struct { }
DefaultMatcher macher
func (*DefaultMatcher) Match ¶
func (m *DefaultMatcher) Match(headers types.HeaderMap, resourceConfig *model.ResourceConfig) bool
Match match
type Matcher ¶
type Matcher interface {
Match(headers types.HeaderMap, resourceConfig *model.ResourceConfig) bool
}
Matcher match
type MatcherEngine ¶
type MatcherEngine struct {
// contains filtered or unexported fields
}
MatcherEngine match
func (MatcherEngine) Match ¶
func (e MatcherEngine) Match(headers types.HeaderMap, ruleConfig *model.RuleConfig) bool
Match match
Click to show internal directories.
Click to hide internal directories.