Try< Nothing > machines(const google::protobuf::RepeatedPtrField< MachineID > &ids)
Performs the following checks on a list of machines:
Try< bool > perform(Registry *registry, hashset< SlaveID > *slaveIDs) override
Transitions a group of machines from DOWN mode into UP mode.
Definition: maintenance.hpp:91
Try< Nothing > unavailability(const Unavailability &unavailability)
Try< Nothing > machine(const MachineID &id)
Performs the following checks on a single machine:
UpdateSchedule(const mesos::maintenance::Schedule &_schedule)
Updates the maintanence schedule of the cluster.
Definition: maintenance.hpp:50
Transitions a group of machines from DRAINING mode into DOWN mode.
Definition: maintenance.hpp:71
Try< Nothing > schedule(const mesos::maintenance::Schedule &schedule, const hashmap< MachineID, Machine > &machines)
Performs the following checks on the new maintenance schedule: