Documentation
¶
Index ¶
- func HandleOffers(offers *mesosproto.Event_Offers) error
- func HandleUpdate(event *mesosproto.Event) error
- func Heartbeat()
- func PrepareTaskInfoExecuteContainer(agent mesosproto.AgentID, cmd mesosutil.Command) ([]mesosproto.TaskInfo, error)
- func Reconcile()
- func SetConfig(cfg *cfg.Config, frm *mesosutil.FrameworkConfig)
- func Subscribe() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleOffers ¶
func HandleOffers(offers *mesosproto.Event_Offers) error
HandleOffers will handle the offers event of mesos
func HandleUpdate ¶
func HandleUpdate(event *mesosproto.Event) error
HandleUpdate will handle the offers event of mesos
func PrepareTaskInfoExecuteContainer ¶
func PrepareTaskInfoExecuteContainer(agent mesosproto.AgentID, cmd mesosutil.Command) ([]mesosproto.TaskInfo, error)
func Reconcile ¶ added in v0.2.0
func Reconcile()
Reconcile will reconcile the task states after the framework was restarted
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.