mesos

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

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 Heartbeat

func Heartbeat()

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

func SetConfig

func SetConfig(cfg *cfg.Config, frm *mesosutil.FrameworkConfig)

SetConfig set the global config

func Subscribe

func Subscribe() error

Subscribe to the mesos backend

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL