Documentation ¶
Index ¶
- func AddHostToMaintenanceSchedule(mesosMasterClient mpb.MasterOperatorClient, hostname, IP string) error
- func IsHostAlreadyOnMaintenanceSchedule(hostname string, schedule *mesos_maintenance.Schedule) bool
- func IsHostPartOfDownMachines(hostname string, downMachines []*mesos.MachineID) bool
- func RegisterHostAsDown(mesosMasterClient mpb.MasterOperatorClient, hostname, IP string) error
- func RegisterHostAsUp(mesosMasterClient mpb.MasterOperatorClient, hostname, IP string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddHostToMaintenanceSchedule ¶
func AddHostToMaintenanceSchedule( mesosMasterClient mpb.MasterOperatorClient, hostname, IP string, ) error
AddHostToMaintenanceSchedule adds a host to the Mesos Master maintenance schedule
func IsHostAlreadyOnMaintenanceSchedule ¶
func IsHostAlreadyOnMaintenanceSchedule( hostname string, schedule *mesos_maintenance.Schedule, ) bool
IsHostAlreadyOnMaintenanceSchedule returns whether a hostname is already part of the Mesos Master maintenance schedule
func IsHostPartOfDownMachines ¶
IsHostPartOfDownMachines returns whether a host is registered as a down machine on Mesos Master
func RegisterHostAsDown ¶
func RegisterHostAsDown( mesosMasterClient mpb.MasterOperatorClient, hostname, IP string, ) error
RegisterHostAsDown registers a host as down
func RegisterHostAsUp ¶
func RegisterHostAsUp( mesosMasterClient mpb.MasterOperatorClient, hostname, IP string, ) error
RegisterHostAsUp registers a host as up
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.