17 #ifndef __COMMON_VALIDATION_HPP__ 18 #define __COMMON_VALIDATION_HPP__ 37 namespace validation {
62 const google::protobuf::RepeatedPtrField<Resource>& resources);
81 #endif // __COMMON_VALIDATION_HPP__ Option< Error > validateFrameworkID(const FrameworkID &frameworkId)
Option< Error > validateID(const std::string &id)
Option< Error > validateExecutorID(const ExecutorInfo &executor)
Option< Error > validateInputScalarValue(double value)
Option< Error > validateSecret(const Secret &secret)
Option< Error > validateEnvironment(const Environment &environment)
mesos::v1::scheduler::Call Call
Definition: mesos.hpp:2851
Option< Error > validateCommandInfo(const CommandInfo &command)
Option< Error > validateGpus(const google::protobuf::RepeatedPtrField< Resource > &resources)
Option< Error > validateSlaveID(const SlaveID &slaveId)
Environment * environment
Option< Error > validateExecutorCall(const mesos::executor::Call &call)
Option< Error > validateVolume(const Volume &volume)
Option< Error > validateCheckStatusInfo(const CheckStatusInfo &checkStatusInfo)
Definition: attributes.hpp:24
Option< Error > validateHealthCheck(const TaskInfo &task)
Option< Error > validateOfferFilters(const FrameworkInfo &frameworkInfo)
Option< Error > validateTaskID(const TaskID &taskId)
Option< Error > validateCheckInfo(const CheckInfo &checkInfo)
Option< Error > validateContainerInfo(const ContainerInfo &containerInfo)