floatingresources

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FloatingResourceTypes

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

func (*FloatingResourceTypes) AllPools

func (frt *FloatingResourceTypes) AllPools() []string

func (*FloatingResourceTypes) GetTotalAvailableForPool

func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList

func (*FloatingResourceTypes) HasFloatingResources

func (frt *FloatingResourceTypes) HasFloatingResources(resources map[string]resource.Quantity) bool

func (*FloatingResourceTypes) RemoveFloatingResources

func (frt *FloatingResourceTypes) RemoveFloatingResources(allResources map[string]resource.Quantity) map[string]resource.Quantity

func (*FloatingResourceTypes) SummaryString

func (frt *FloatingResourceTypes) SummaryString() string

func (*FloatingResourceTypes) WithinLimits

func (frt *FloatingResourceTypes) WithinLimits(poolName string, allocated schedulerobjects.ResourceList) (bool, string)

Jump to

Keyboard shortcuts

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