reclaimable

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reclaimable

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

func New

func New(multiplier float64) *Reclaimable

func (*Reclaimable) CanReclaimResources

func (r *Reclaimable) CanReclaimResources(
	queues map[common_info.QueueID]*rs.QueueAttributes,
	reclaimer *ReclaimerInfo,
) bool

func (*Reclaimable) Reclaimable

func (r *Reclaimable) Reclaimable(
	queues map[common_info.QueueID]*rs.QueueAttributes,
	reclaimer *ReclaimerInfo,
	reclaimeeResourcesByQueue map[common_info.QueueID][]*resource_info.Resource,
) bool

type ReclaimerInfo added in v0.6.0

type ReclaimerInfo struct {
	Name              string
	Namespace         string
	Queue             common_info.QueueID
	RequiredResources *resource_info.Resource
	IsPreemptable     bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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