Apache Mesos
Classes | Namespaces | Functions
maintenance.hpp File Reference
#include <mesos/mesos.hpp>
#include <mesos/maintenance/maintenance.hpp>
#include <stout/hashset.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include "master/machine.hpp"
#include "master/registrar.hpp"
#include "master/registry.hpp"

Go to the source code of this file.

Classes

class  mesos::internal::master::maintenance::UpdateSchedule
 Updates the maintanence schedule of the cluster. More...
 
class  mesos::internal::master::maintenance::StartMaintenance
 Transitions a group of machines from DRAINING mode into DOWN mode. More...
 
class  mesos::internal::master::maintenance::StopMaintenance
 Transitions a group of machines from DOWN mode into UP mode. More...
 

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::master
 
 mesos::internal::master::maintenance
 
 mesos::internal::master::maintenance::validation
 

Functions

Try< Nothingmesos::internal::master::maintenance::validation::schedule (const mesos::maintenance::Schedule &schedule, const hashmap< MachineID, Machine > &machines)
 Performs the following checks on the new maintenance schedule: More...
 
Try< Nothingmesos::internal::master::maintenance::validation::unavailability (const Unavailability &unavailability)
 
Try< Nothingmesos::internal::master::maintenance::validation::machines (const google::protobuf::RepeatedPtrField< MachineID > &ids)
 Performs the following checks on a list of machines: More...
 
Try< Nothingmesos::internal::master::maintenance::validation::machine (const MachineID &id)
 Performs the following checks on a single machine: More...