Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMatcher ¶
type IMatcher interface { GetPolicyKey() string RangeMatches(rDef defs.RequestDef, rvals []interface{}, fMap fm.FunctionMap, fn func(rule []string) bool) error }
type MatchParameters ¶
type MatchParameters struct {
// contains filtered or unexported fields
}
func NewMatchParameters ¶
func NewMatchParameters(pDef defs.PolicyDef, pvals []string, rDef defs.RequestDef, rvals []interface{}) *MatchParameters
func (*MatchParameters) Get ¶
func (params *MatchParameters) Get(name string) (interface{}, error)
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
func NewMatcher ¶
func (*Matcher) GetPolicyKey ¶
func (*Matcher) RangeMatches ¶
func (m *Matcher) RangeMatches(rDef defs.RequestDef, rvals []interface{}, fMap fm.FunctionMap, fn func(rule []string) bool) error
type MatcherNode ¶
type MatcherNode struct {
// contains filtered or unexported fields
}
func NewMatcherNode ¶
func NewMatcherNode(rule []string) *MatcherNode
func (*MatcherNode) GetOrCreate ¶
func (n *MatcherNode) GetOrCreate(i int, key string, rule []string) *MatcherNode
Click to show internal directories.
Click to hide internal directories.