Documentation ¶
Index ¶
- func ConvertRegexMatchAndSubstitute(ctx context.Context, in *v32.RegexMatchAndSubstitute) (*envoy_type_matcher_v3.RegexMatchAndSubstitute, error)
- func NewRegex(ctx context.Context, regex string) *envoy_type_matcher_v3.RegexMatcher
- func NewRegexFromSettings(settings *v1.Settings, regex string) *envoy_type_matcher_v3.RegexMatcher
- func NewRegexWithProgramSize(regex string, programsize *uint32) *envoy_type_matcher_v3.RegexMatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertRegexMatchAndSubstitute ¶ added in v1.9.25
func ConvertRegexMatchAndSubstitute(ctx context.Context, in *v32.RegexMatchAndSubstitute) (*envoy_type_matcher_v3.RegexMatchAndSubstitute, error)
ConvertRegexMatchAndSubstitute into safe variant consumable by envoy. By default we use the RegexMatcher_GoogleRe2 matcher which as of envoy 1.21 is the only engine supported.
func NewRegex ¶
func NewRegex(ctx context.Context, regex string) *envoy_type_matcher_v3.RegexMatcher
func NewRegexFromSettings ¶
func NewRegexFromSettings(settings *v1.Settings, regex string) *envoy_type_matcher_v3.RegexMatcher
func NewRegexWithProgramSize ¶
func NewRegexWithProgramSize(regex string, programsize *uint32) *envoy_type_matcher_v3.RegexMatcher
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.