Documentation ¶
Index ¶
- func NewConfigSyncOptions(rateLimiterProto *policylangv1.RateLimiter, componentID runtime.ComponentID, ...) (fx.Option, error)
- func NewRateLimiterAndOptions(rateLimiterProto *policyprivatev1.RateLimiter, componentID runtime.ComponentID, ...) (runtime.Component, fx.Option, error)
- func ParseRateLimiter(rateLimiter *policylangv1.RateLimiter, componentID runtime.ComponentID, ...) (*runtime.ConfiguredComponent, *policylangv1.NestedCircuit, error)
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 LoadScheduler 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.
Click to show internal directories.
Click to hide internal directories.