modulepackage
0.0.43
Repository: https://github.com/aventer-ug/mesos-util.git
Documentation: pkg.go.dev
# README
Mesos Util
A loose collection of Apache Mesos functions that we use at aventer.biz
# Packages
Package scheduler is a generated protocol buffer package.
# Functions
Call will send messages to mesos.
DeclineOffer will decline the given offers.
DecodeTask will decode the key into an mesos command struct.
GetAgentInfo get information about the agent.
GetNetworkInfo get network info of task.
GetOffer get out the offer for the mesos task.
IsRessourceMatched - check if the ressources of the offer are matching the needs of the cmd.
Kill a Task with the given taskID.
Revive will revive the mesos tasks to clean up.
SetConfig set the global config.
SuppressFramework if all Tasks are running, suppress framework offers.
# Structs
Command is a chan which include all the Information about the started tasks.
No description provided by the author
MesosAgents.
MesosSlaves ..
MesosTasks hold the information of the task.
State will have the state of all tasks stated by this framework.