concurrencyscheduler

package
v2.29.1-rc.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConcurrencySchedulerAndOptions

func NewConcurrencySchedulerAndOptions(
	concurrencySchedulerProto *policyprivatev1.ConcurrencyScheduler,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (runtime.Component, fx.Option, error)

NewConcurrencySchedulerAndOptions creates fx options for ConcurrencyScheduler.

func NewConfigSyncOptions

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

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

func ParseConcurrencyScheduler

func ParseConcurrencyScheduler(
	concurrencyScheduler *policylangv1.ConcurrencyScheduler,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (*runtime.ConfiguredComponent, *policylangv1.NestedCircuit, error)

ParseConcurrencyScheduler parses a ConcurrencyScheduler 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