bidstrategy

package
v0.3.27 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailableCapacityStrategy

type AvailableCapacityStrategy struct {
	// contains filtered or unexported fields
}

func (*AvailableCapacityStrategy) ShouldBid

func (*AvailableCapacityStrategy) ShouldBidBasedOnUsage

type AvailableCapacityStrategyParams

type AvailableCapacityStrategyParams struct {
	RunningCapacityTracker  capacity.Tracker
	EnqueuedCapacityTracker capacity.Tracker
}

type MaxCapacityStrategy

type MaxCapacityStrategy struct {
	// contains filtered or unexported fields
}

func NewMaxCapacityStrategy

func NewMaxCapacityStrategy(params MaxCapacityStrategyParams) *MaxCapacityStrategy

func (*MaxCapacityStrategy) ShouldBidBasedOnUsage

type MaxCapacityStrategyParams

type MaxCapacityStrategyParams struct {
	MaxJobRequirements model.ResourceUsageData
}

Jump to

Keyboard shortcuts

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