Documentation ¶
Index ¶
- type FloatingResourceTypes
- func (frt *FloatingResourceTypes) AllPools() []string
- func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList
- func (frt *FloatingResourceTypes) HasFloatingResources(resources map[string]resource.Quantity) bool
- func (frt *FloatingResourceTypes) RemoveFloatingResources(allResources map[string]resource.Quantity) map[string]resource.Quantity
- func (frt *FloatingResourceTypes) SummaryString() string
- func (frt *FloatingResourceTypes) WithinLimits(poolName string, allocated schedulerobjects.ResourceList) (bool, string)
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 NewFloatingResourceTypes ¶
func NewFloatingResourceTypes(config []configuration.FloatingResourceConfig) (*FloatingResourceTypes, error)
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 (*FloatingResourceTypes) SummaryString ¶
func (frt *FloatingResourceTypes) SummaryString() string
func (*FloatingResourceTypes) WithinLimits ¶
func (frt *FloatingResourceTypes) WithinLimits(poolName string, allocated schedulerobjects.ResourceList) (bool, string)
Click to show internal directories.
Click to hide internal directories.