local_ratelimit

package
v1.15.32 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ExtensionName           = "local_ratelimit"
	NetworkFilterStatPrefix = "network_local_ratelimit"
	HTTPFilterStatPrefix    = "http_local_ratelimit"
	NetworkFilterName       = "envoy.filters.network.local_ratelimit"
	HTTPFilterName          = "envoy.filters.http.local_ratelimit"
	CustomStageBeforeAuth   = uint32(3)
)

Variables

View Source
var (
	ErrConfigurationExists = errors.New("configuration already exists")
)

Functions

func ConfigureRouteFilter

func ConfigureRouteFilter(settings *local_ratelimit.Settings, localRatelimit *local_ratelimit.TokenBucket, stage uint32, out *envoy_config_route_v3.Route) error

This function exported since it is used in the enterprise plugin

func ConfigureVirtualHostFilter

func ConfigureVirtualHostFilter(settings *local_ratelimit.Settings, localRatelimit *local_ratelimit.TokenBucket, stage uint32, out *envoy_config_route_v3.VirtualHost) error

This function exported since it is used in the enterprise plugin

func GenerateHTTPFilter

This function exported since it is used in the enterprise plugin

func NewPlugin

func NewPlugin() *plugin

Types

This section is empty.

Jump to

Keyboard shortcuts

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