Documentation
¶
Index ¶
- type PlatformStorageManager
- type Scheduler
- func (s *Scheduler) DeleteFunction(funcName string) error
- func (s *Scheduler) GetWorker(funcName string, resCh chan *worker.Worker)
- func (s *Scheduler) GetWorkerMust(funcName string, resCh chan *worker.Worker)
- func (s *Scheduler) RegisterWorker(workerID string, workerAddr string)
- func (s *Scheduler) Work()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformStorageManager ¶
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler has serveral roles: dispatch tasks to workers maintain metrics alloc and release workers
func (*Scheduler) DeleteFunction ¶
DeleteFunction is invoked when the user deletes a function
func (*Scheduler) GetWorkerMust ¶
func (*Scheduler) RegisterWorker ¶
RegisterWorker
Click to show internal directories.
Click to hide internal directories.