Apache Mesos
|
Functions | |
Unavailability | createUnavailability (const process::Time &start, const Option< Duration > &duration=None()) |
Helper for constructing an unavailability from a Time and Duration . More... | |
google::protobuf::RepeatedPtrField< MachineID > | createMachineList (std::initializer_list< MachineID > ids) |
Helper for constructing a list of MachineID . More... | |
mesos::maintenance::Window | createWindow (std::initializer_list< MachineID > ids, const Unavailability &unavailability) |
Helper for constructing a maintenance Window . More... | |
mesos::maintenance::Schedule | createSchedule (std::initializer_list< mesos::maintenance::Window > windows) |
Helper for constructing a maintenance Schedule . More... | |
google::protobuf::RepeatedPtrField<MachineID> mesos::internal::protobuf::maintenance::createMachineList | ( | std::initializer_list< MachineID > | ids | ) |
Helper for constructing a list of MachineID
.
mesos::maintenance::Schedule mesos::internal::protobuf::maintenance::createSchedule | ( | std::initializer_list< mesos::maintenance::Window > | windows | ) |
Helper for constructing a maintenance Schedule
.
See createWindow
above.
Unavailability mesos::internal::protobuf::maintenance::createUnavailability | ( | const process::Time & | start, |
const Option< Duration > & | duration = None() |
||
) |
Helper for constructing an unavailability from a Time
and Duration
.
mesos::maintenance::Window mesos::internal::protobuf::maintenance::createWindow | ( | std::initializer_list< MachineID > | ids, |
const Unavailability & | unavailability | ||
) |
Helper for constructing a maintenance Window
.
See createUnavailability
above.