Apache Mesos
Namespaces | Functions
validation.hpp File Reference
#include <vector>
#include <google/protobuf/repeated_field.h>
#include <mesos/mesos.hpp>
#include <mesos/resources.hpp>
#include <mesos/scheduler/scheduler.hpp>
#include <mesos/master/master.hpp>
#include <process/authenticator.hpp>
#include <stout/error.hpp>
#include <stout/option.hpp>
#include "common/protobuf_utils.hpp"

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::master
 
 mesos::internal::master::validation
 
 mesos::internal::master::validation::master
 
 mesos::internal::master::validation::master::call
 
 mesos::internal::master::validation::master::message
 
 mesos::internal::master::validation::framework
 
 mesos::internal::master::validation::framework::internal
 
 mesos::internal::master::validation::scheduler
 
 mesos::internal::master::validation::scheduler::call
 
 mesos::internal::master::validation::resource
 
 mesos::internal::master::validation::resource::internal
 
 mesos::internal::master::validation::executor
 
 mesos::internal::master::validation::executor::internal
 
 mesos::internal::master::validation::task
 
 mesos::internal::master::validation::task::internal
 
 mesos::internal::master::validation::task::group
 
 mesos::internal::master::validation::task::group::internal
 
 mesos::internal::master::validation::offer
 
 mesos::internal::master::validation::operation
 

Functions

Option< Errormesos::internal::master::validation::master::call::validate (const mesos::master::Call &call)
 
Option< Errormesos::internal::master::validation::master::message::registerSlave (const RegisterSlaveMessage &message)
 
Option< Errormesos::internal::master::validation::master::message::reregisterSlave (const ReregisterSlaveMessage &message)
 
Option< Errormesos::internal::master::validation::framework::internal::validateRoles (const mesos::FrameworkInfo &frameworkInfo)
 
Option< Errormesos::internal::master::validation::framework::internal::validateFrameworkId (const mesos::FrameworkInfo &frameworkInfo)
 
Option< Errormesos::internal::master::validation::framework::internal::validateOfferFilters (const FrameworkInfo &frameworkInfo)
 
Option< Errormesos::internal::master::validation::framework::validate (const mesos::FrameworkInfo &frameworkInfo)
 
Option< Errormesos::internal::master::validation::framework::validateUpdate (const FrameworkInfo &oldInfo, const FrameworkInfo &newInfo)
 
void mesos::internal::master::validation::framework::preserveImmutableFields (const FrameworkInfo &oldInfo, FrameworkInfo *newInfo)
 
Option< Errormesos::internal::master::validation::framework::validateSuppressedRoles (const std::set< std::string > &validFrameworkRoles, const std::set< std::string > &suppressedRoles)
 
Option< Errormesos::internal::master::validation::framework::validateOfferConstraintsRoles (const std::set< std::string > &validFrameworkRoles, const scheduler::OfferConstraints &offerConstraints)
 
Option< Errormesos::internal::master::validation::scheduler::call::validate (const mesos::scheduler::Call &call, const Option< process::http::authentication::Principal > &principal=None())
 
Option< Errormesos::internal::master::validation::resource::internal::validateSingleResourceProvider (const google::protobuf::RepeatedPtrField< Resource > &resources)
 
bool mesos::internal::master::validation::resource::detectOverlappingSetAndRangeResources (const std::vector< Resources > &resources)
 
Option< Errormesos::internal::master::validation::resource::validate (const google::protobuf::RepeatedPtrField< Resource > &resources)
 
Option< Errormesos::internal::master::validation::executor::internal::validateExecutorID (const ExecutorInfo &executor)
 
Option< Errormesos::internal::master::validation::executor::internal::validateType (const ExecutorInfo &executor)
 
Option< Errormesos::internal::master::validation::executor::internal::validateResources (const ExecutorInfo &executor)
 
Option< Errormesos::internal::master::validation::executor::validate (const ExecutorInfo &executor)
 
Option< Errormesos::internal::master::validation::task::validate (const TaskInfo &task, Framework *framework, Slave *slave, const Resources &offered)
 
Option< Errormesos::internal::master::validation::task::internal::validateResources (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::internal::validateTaskAndExecutorResources (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::internal::validateKillPolicy (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::internal::validateMaxCompletionTime (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::internal::validateCheck (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::internal::validateHealthCheck (const TaskInfo &task)
 
Option< Errormesos::internal::master::validation::task::group::validate (const TaskGroupInfo &taskGroup, const ExecutorInfo &executor, Framework *framework, Slave *slave, const Resources &offered)
 
Option< Errormesos::internal::master::validation::task::group::internal::validateTaskGroupAndExecutorResources (const TaskGroupInfo &taskGroup, const ExecutorInfo &executor)
 
Offer * mesos::internal::master::validation::offer::getOffer (Master *master, const OfferID &offerId)
 
InverseOffer * mesos::internal::master::validation::offer::getInverseOffer (Master *master, const OfferID &offerId)
 
Slave * mesos::internal::master::validation::offer::getSlave (Master *master, const SlaveID &slaveId)
 
Option< Errormesos::internal::master::validation::offer::validate (const google::protobuf::RepeatedPtrField< OfferID > &offerIds, Master *master, Framework *framework)
 
Option< Errormesos::internal::master::validation::offer::validateInverseOffers (const google::protobuf::RepeatedPtrField< OfferID > &offerIds, Master *master, Framework *framework)
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::Reserve &reserve, const Option< process::http::authentication::Principal > &principal, const protobuf::slave::Capabilities &agentCapabilities, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::Unreserve &unreserve, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::Create &create, const Resources &checkpointedResources, const Option< process::http::authentication::Principal > &principal, const protobuf::slave::Capabilities &agentCapabilities, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::Destroy &destroy, const Resources &checkpointedResources, const hashmap< FrameworkID, Resources > &usedResources, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::GrowVolume &growVolume, const protobuf::slave::Capabilities &agentCapabilities)
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::ShrinkVolume &shrinkVolume, const protobuf::slave::Capabilities &agentCapabilities)
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::CreateDisk &createDisk)
 
Option< Errormesos::internal::master::validation::operation::validate (const Offer::Operation::DestroyDisk &destroyDisk)