Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { // Acquire fetches a batch of offers from the host manager. Acquire(ctx context.Context, fetchTasks bool, taskType resmgr.TaskType, needs plugins.PlacementNeeds, ) (offers []models.Offer, reason string) // Release returns the acquired offers back to host manager. Release(ctx context.Context, offers []models.Offer) }
Service will manage offers used by any placement strategy.
Click to show internal directories.
Click to hide internal directories.