regex_enginesv3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_regex_engines_v3_google_re2_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GoogleRE2

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

Google's `RE2 <https://github.com/google/re2>`_ regex engine. The regex string must adhere to the documented `syntax <https://github.com/google/re2/wiki/Syntax>`_. The engine is designed to complete execution in linear time as well as limit the amount of memory used.

Envoy emits two stats for tracking the program size of regexes: the histogram “re2.program_size“, which records the program size, and the counter “re2.exceeded_warn_level“, which is incremented each time the program size exceeds the warn level threshold.

func (*GoogleRE2) Descriptor deprecated

func (*GoogleRE2) Descriptor() ([]byte, []int)

Deprecated: Use GoogleRE2.ProtoReflect.Descriptor instead.

func (*GoogleRE2) ProtoMessage

func (*GoogleRE2) ProtoMessage()

func (*GoogleRE2) ProtoReflect

func (x *GoogleRE2) ProtoReflect() protoreflect.Message

func (*GoogleRE2) Reset

func (x *GoogleRE2) Reset()

func (*GoogleRE2) String

func (x *GoogleRE2) String() string

Jump to

Keyboard shortcuts

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