Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuotaGroup ¶
type QuotaManager ¶
type QuotaManager struct {
// contains filtered or unexported fields
}
QuotaManager implements a QuotaManagerInterface.
func NewQuotaManager ¶
func NewQuotaManager(dispatchedAWDemands map[string]*clusterstateapi.Resource, dispatchedAWs map[string]*arbv1.AppWrapper, awJobLister listersv1.AppWrapperLister, config *rest.Config, serverOptions *options.ServerOption) (*QuotaManager, error)
func (*QuotaManager) Fits ¶
func (qm *QuotaManager) Fits(aw *arbv1.AppWrapper, awResDemands *clusterstateapi.Resource, clusterResources *clusterstateapi.Resource, proposedPreemptions []*arbv1.AppWrapper) (bool, []*arbv1.AppWrapper, string)
func (*QuotaManager) GetValidQuotaLabels ¶ added in v1.32.0
func (qm *QuotaManager) GetValidQuotaLabels() []string
func (*QuotaManager) Release ¶
func (qm *QuotaManager) Release(aw *arbv1.AppWrapper) bool
type QuotaResponse ¶
Click to show internal directories.
Click to hide internal directories.