Documentation ¶
Index ¶
- func GetMesosState(masterUpidString string) ([]byte, error)
- func HandleKillTaskRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkId, taskId string) error
- func HandleLaunchTasksRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkId string, ...) error
- func HandleReconcileTasksRequest(tpi *layerx_tpi_client.LayerXTpi, ...) error
- func HandleRegisterRequest(tpi *layerx_tpi_client.LayerXTpi, ...) error
- func HandleRemoveFramework(tpi *layerx_tpi_client.LayerXTpi, frameworkId string) error
- func LogReviveOffersMessage(reviveOffers mesosproto.ReviveOffersMessage) error
- func LogStatusUpdateAck(statusUpdateAck mesosproto.StatusUpdateAcknowledgementMessage) error
- func ProcessMesosHttpRequest(req *http.Request) (*mesos_data.UPID, []byte, int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMesosState ¶
func HandleKillTaskRequest ¶
func HandleKillTaskRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkId, taskId string) error
func HandleLaunchTasksRequest ¶
func HandleLaunchTasksRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkId string, mesosTasks []*mesosproto.TaskInfo) error
func HandleReconcileTasksRequest ¶
func HandleReconcileTasksRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkManager framework_manager.FrameworkManager, frameworkUpid *mesos_data.UPID, frameworkId string, taskIds []string) error
func HandleRegisterRequest ¶
func HandleRegisterRequest(tpi *layerx_tpi_client.LayerXTpi, frameworkManager framework_manager.FrameworkManager, frameworkUpid *mesos_data.UPID, frameworkInfo *mesosproto.FrameworkInfo) error
func HandleRemoveFramework ¶
func HandleRemoveFramework(tpi *layerx_tpi_client.LayerXTpi, frameworkId string) error
func LogReviveOffersMessage ¶
func LogReviveOffersMessage(reviveOffers mesosproto.ReviveOffersMessage) error
func LogStatusUpdateAck ¶
func LogStatusUpdateAck(statusUpdateAck mesosproto.StatusUpdateAcknowledgementMessage) error
func ProcessMesosHttpRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.