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

Functions

Option< Errorvalidate (const Offer::Operation::Reserve &reserve, const Option< process::http::authentication::Principal > &principal, const protobuf::slave::Capabilities &agentCapabilities, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errorvalidate (const Offer::Operation::Unreserve &unreserve, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errorvalidate (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< Errorvalidate (const Offer::Operation::Destroy &destroy, const Resources &checkpointedResources, const hashmap< FrameworkID, Resources > &usedResources, const hashmap< FrameworkID, hashmap< TaskID, TaskInfo >> &pendingTasks, const Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errorvalidate (const Offer::Operation::CreateVolume &createVolume)
 
Option< Errorvalidate (const Offer::Operation::DestroyVolume &destroyVolume)
 
Option< Errorvalidate (const Offer::Operation::CreateBlock &createBlock)
 
Option< Errorvalidate (const Offer::Operation::DestroyBlock &destroyBlock)
 

Function Documentation

Option<Error> mesos::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<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::Unreserve &  unreserve,
const Option< FrameworkInfo > &  frameworkInfo = None() 
)
Option<Error> mesos::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<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::Destroy &  destroy,
const Resources checkpointedResources,
const hashmap< FrameworkID, Resources > &  usedResources,
const hashmap< FrameworkID, hashmap< TaskID, TaskInfo >> &  pendingTasks,
const Option< FrameworkInfo > &  frameworkInfo = None() 
)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::CreateVolume &  createVolume)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::DestroyVolume &  destroyVolume)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::CreateBlock &  createBlock)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::DestroyBlock &  destroyBlock)