Documentation ¶
Index ¶
- func NewConfigSyncOptions(quotaSchedulerProto *policylangv1.QuotaScheduler, ...) (fx.Option, error)
- func NewQuotaSchedulerAndOptions(quotaSchedulerProto *policyprivatev1.QuotaScheduler, ...) (runtime.Component, fx.Option, error)
- func ParseQuotaScheduler(quotaScheduler *policylangv1.QuotaScheduler, componentID runtime.ComponentID, ...) (*runtime.ConfiguredComponent, *policylangv1.NestedCircuit, error)
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.
Click to show internal directories.
Click to hide internal directories.