ratelimiter

package
v2.29.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigSyncOptions added in v2.23.1

func NewConfigSyncOptions(
	rateLimiterProto *policylangv1.RateLimiter,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (fx.Option, error)

NewConfigSyncOptions creates fx options for syncing RateLimiter objects with agent groups.

func NewRateLimiterAndOptions

func NewRateLimiterAndOptions(
	rateLimiterProto *policyprivatev1.RateLimiter,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (runtime.Component, fx.Option, error)

NewRateLimiterAndOptions creates fx options for RateLimiter.

func ParseRateLimiter added in v2.23.1

func ParseRateLimiter(
	rateLimiter *policylangv1.RateLimiter,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (*runtime.ConfiguredComponent, *policylangv1.NestedCircuit, error)

ParseRateLimiter parses a RateLimiter component and returns a configured component and a nested circuit.

Types

This section is empty.

Jump to

Keyboard shortcuts

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