Documentation
¶
Index ¶
- type Scheduler
- func (scheduler *Scheduler) Launch(fromBuyer *types.Node, offer *types.Offer, ...) (*types.ContainerStatus, error)
- func (scheduler *Scheduler) Start()
- func (scheduler *Scheduler) Stop()
- func (scheduler *Scheduler) SubmitContainers(containerImageKey string, portMappings []types.PortMapping, ...) (string, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
type Scheduler struct {
common.NodeComponent // Base component
// contains filtered or unexported fields
}
Scheduler is responsible for receiving local and remote requests for deploying containers running in the system. It takes a request for running a container and decides where to deploy it in conjunction with the Discovery module.
func NewScheduler ¶
func NewScheduler(config *configuration.Configuration, internalDisc apiInternal.DiscoveryInternal, containersManager *containers.Manager, client external.Caravela) *Scheduler
Click to show internal directories.
Click to hide internal directories.