Documentation ¶
Index ¶
- type FloatingResourceTypes
- func (frt *FloatingResourceTypes) AddTotalAvailableForPool(poolName string, kubernetesResources schedulerobjects.ResourceList) schedulerobjects.ResourceList
- func (frt *FloatingResourceTypes) AllPools() []string
- func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList
- 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) AddTotalAvailableForPool ¶ added in v0.14.1
func (frt *FloatingResourceTypes) AddTotalAvailableForPool(poolName string, kubernetesResources schedulerobjects.ResourceList) schedulerobjects.ResourceList
func (*FloatingResourceTypes) AllPools ¶
func (frt *FloatingResourceTypes) AllPools() []string
func (*FloatingResourceTypes) GetTotalAvailableForPool ¶
func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList
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.