Apache Mesos
Functions
mesos::internal::master::validation::offer Namespace Reference

Functions

Offer * getOffer (Master *master, const OfferID &offerId)
 
InverseOffer * getInverseOffer (Master *master, const OfferID &offerId)
 
SlavegetSlave (Master *master, const SlaveID &slaveId)
 
Option< Errorvalidate (const google::protobuf::RepeatedPtrField< OfferID > &offerIds, Master *master, Framework *framework)
 
Option< ErrorvalidateInverseOffers (const google::protobuf::RepeatedPtrField< OfferID > &offerIds, Master *master, Framework *framework)
 

Function Documentation

InverseOffer* mesos::internal::master::validation::offer::getInverseOffer ( Master *  master,
const OfferID &  offerId 
)
Offer* mesos::internal::master::validation::offer::getOffer ( Master *  master,
const OfferID &  offerId 
)
Slave* mesos::internal::master::validation::offer::getSlave ( Master *  master,
const SlaveID &  slaveId 
)
Option<Error> mesos::internal::master::validation::offer::validate ( const google::protobuf::RepeatedPtrField< OfferID > &  offerIds,
Master *  master,
Framework *  framework 
)
Option<Error> mesos::internal::master::validation::offer::validateInverseOffers ( const google::protobuf::RepeatedPtrField< OfferID > &  offerIds,
Master *  master,
Framework *  framework 
)