quotascheduler

package
v2.32.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 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.24.0

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

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

func NewQuotaSchedulerAndOptions

func NewQuotaSchedulerAndOptions(
	quotaSchedulerProto *policyprivatev1.QuotaScheduler,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (runtime.Component, fx.Option, error)

NewQuotaSchedulerAndOptions creates fx options for QuotaScheduler.

func ParseQuotaScheduler added in v2.24.0

func ParseQuotaScheduler(
	quotaScheduler *policylangv1.QuotaScheduler,
	componentID runtime.ComponentID,
	policyReadAPI iface.Policy,
) (*runtime.ConfiguredComponent, *policylangv1.NestedCircuit, error)

ParseQuotaScheduler parses a QuotaScheduler 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