regulator

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegulatorAndOptions

func NewRegulatorAndOptions(
	regulatorProto *policylangv1.Regulator,
	componentID string,
	policyReadAPI iface.Policy,
) (runtime.Component, fx.Option, error)

NewRegulatorAndOptions creates fx options for Regulator and also returns agent group name associated with it.

func ParseLoadRamp

func ParseLoadRamp(loadRamp *policylangv1.LoadRamp) (*policylangv1.NestedCircuit, error)

ParseLoadRamp parses a LoadRamp 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