Documentation ¶
Index ¶
- type FloatingResourceTypes
- func (frt *FloatingResourceTypes) AllPools() []string
- func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList
- func (frt *FloatingResourceTypes) GetTotalAvailableForPoolInternalTypes(poolName string) internaltypes.ResourceList
- func (frt *FloatingResourceTypes) SummaryString() string
- func (frt *FloatingResourceTypes) WithinLimits(poolName string, allocated internaltypes.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, rlFactory *internaltypes.ResourceListFactory) (*FloatingResourceTypes, error)
func (*FloatingResourceTypes) AllPools ¶
func (frt *FloatingResourceTypes) AllPools() []string
func (*FloatingResourceTypes) GetTotalAvailableForPool ¶
func (frt *FloatingResourceTypes) GetTotalAvailableForPool(poolName string) schedulerobjects.ResourceList
func (*FloatingResourceTypes) GetTotalAvailableForPoolInternalTypes ¶ added in v0.15.4
func (frt *FloatingResourceTypes) GetTotalAvailableForPoolInternalTypes(poolName string) internaltypes.ResourceList
func (*FloatingResourceTypes) SummaryString ¶
func (frt *FloatingResourceTypes) SummaryString() string
func (*FloatingResourceTypes) WithinLimits ¶
func (frt *FloatingResourceTypes) WithinLimits(poolName string, allocated internaltypes.ResourceList) (bool, string)
Click to show internal directories.
Click to hide internal directories.