flowregulator

package
v1.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFlowRegulatorAndOptions

func NewFlowRegulatorAndOptions(
	flowRegulatorProto *policylangv1.FlowRegulator,
	componentID string,
	policyReadAPI iface.Policy,
) (runtime.Component, fx.Option, error)

NewFlowRegulatorAndOptions creates fx options for FlowRegulator and also returns agent group name associated with it.

func ParseLoadShaper

func ParseLoadShaper(loadShaper *policylangv1.LoadShaper) (*policylangv1.NestedCircuit, error)

ParseLoadShaper parses a LoadShaper from the given proto and returns its nested circuit representation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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