floatingresources

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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) internaltypes.ResourceList

func (*FloatingResourceTypes) GetTotalAvailableForPoolAsMap added in v0.15.5

func (frt *FloatingResourceTypes) GetTotalAvailableForPoolAsMap(poolName string) map[string]resource.Quantity

func (*FloatingResourceTypes) SummaryString

func (frt *FloatingResourceTypes) SummaryString() string

func (*FloatingResourceTypes) WithinLimits

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

Jump to

Keyboard shortcuts

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