mesos_api_helpers

package
v0.0.0-...-c76ca94 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMesosState

func GetMesosState(masterUpidString string) ([]byte, error)

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

func ProcessMesosHttpRequest(req *http.Request) (*mesos_data.UPID, []byte, int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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