simplematcher

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const SimpleMatcherFactoryKey = "simpleMatcher"

Variables

This section is empty.

Functions

func SimpleMatcherFactory

func SimpleMatcherFactory(config interface{}) matcher.RuleMatcher

Types

type Header struct {
	Name  string `json:"name,omitempty"`
	Value string `json:"value,omitempty"`
}

type SimpleRuleMatcher

type SimpleRuleMatcher struct {
	// contains filtered or unexported fields
}

func (*SimpleRuleMatcher) Matches

func (hrm *SimpleRuleMatcher) Matches(ctx context.Context, headers types.HeaderMap) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL