Documentation ¶
Index ¶
- type ApplicatorScheduler
- func (sel *ApplicatorScheduler) AllocateNodes(manifest.Manifest, klabels.Selector, int, bool) ([]types.NodeName, error)
- func (sel *ApplicatorScheduler) DeallocateNodes(klabels.Selector, []types.NodeName) error
- func (sel *ApplicatorScheduler) EligibleNodes(_ manifest.Manifest, selector klabels.Selector) ([]types.NodeName, error)
- type NodeLabeler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicatorScheduler ¶
type ApplicatorScheduler struct {
// contains filtered or unexported fields
}
func NewApplicatorScheduler ¶
func NewApplicatorScheduler(applicator NodeLabeler) *ApplicatorScheduler
ApplicatorSchedulers simply return the results of node label selector. The manifest is ignored.
func (*ApplicatorScheduler) AllocateNodes ¶
func (*ApplicatorScheduler) DeallocateNodes ¶
func (*ApplicatorScheduler) EligibleNodes ¶
Click to show internal directories.
Click to hide internal directories.