Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceManagerCallback ¶
type ResourceManagerCallback interface {
RecvUpdateResponse(response *si.UpdateResponse) error
}
RM side needs to implement this API
type SchedulerAPI ¶
type SchedulerAPI interface { // Register a new RM, if it is a reconnect from previous RM, cleanup // all in-memory data and resync with RM. RegisterResourceManager(request *si.RegisterResourceManagerRequest, callback ResourceManagerCallback) (*si.RegisterResourceManagerResponse, error) // Update Scheduler status (including node status update, allocation request // updates, etc. Update(request *si.UpdateRequest) error // Notify scheduler to reload configuration and hot-refresh in-memory state based on configuration changes ReloadConfiguration(clusterID string) error }
Click to show internal directories.
Click to hide internal directories.