Apache Mesos
Namespaces | Functions
mesos::internal::master::validation::framework Namespace Reference

Namespaces

 internal
 

Functions

Option< Errorvalidate (const mesos::FrameworkInfo &frameworkInfo)
 
Option< ErrorvalidateUpdate (const FrameworkInfo &oldInfo, const FrameworkInfo &newInfo)
 
void preserveImmutableFields (const FrameworkInfo &oldInfo, FrameworkInfo *newInfo)
 
Option< ErrorvalidateSuppressedRoles (const std::set< std::string > &validFrameworkRoles, const std::set< std::string > &suppressedRoles)
 
Option< ErrorvalidateOfferConstraintsRoles (const std::set< std::string > &validFrameworkRoles, const scheduler::OfferConstraints &offerConstraints)
 

Function Documentation

void mesos::internal::master::validation::framework::preserveImmutableFields ( const FrameworkInfo &  oldInfo,
FrameworkInfo *  newInfo 
)
Option<Error> mesos::internal::master::validation::framework::validate ( const mesos::FrameworkInfo &  frameworkInfo)
Option<Error> mesos::internal::master::validation::framework::validateOfferConstraintsRoles ( const std::set< std::string > &  validFrameworkRoles,
const scheduler::OfferConstraints &  offerConstraints 
)
Option<Error> mesos::internal::master::validation::framework::validateSuppressedRoles ( const std::set< std::string > &  validFrameworkRoles,
const std::set< std::string > &  suppressedRoles 
)
Option<Error> mesos::internal::master::validation::framework::validateUpdate ( const FrameworkInfo &  oldInfo,
const FrameworkInfo &  newInfo 
)