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 Option< FrameworkInfo > &frameworkInfo=None())
 
Option< Errorvalidate (const Offer::Operation::GrowVolume &growVolume, const protobuf::slave::Capabilities &agentCapabilities)
 
Option< Errorvalidate (const Offer::Operation::ShrinkVolume &shrinkVolume, const protobuf::slave::Capabilities &agentCapabilities)
 
Option< Errorvalidate (const Offer::Operation::CreateDisk &createDisk)
 
Option< Errorvalidate (const Offer::Operation::DestroyDisk &destroyDisk)
 

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 Option< FrameworkInfo > &  frameworkInfo = None() 
)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::GrowVolume &  growVolume,
const protobuf::slave::Capabilities agentCapabilities 
)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::ShrinkVolume &  shrinkVolume,
const protobuf::slave::Capabilities agentCapabilities 
)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::CreateDisk &  createDisk)
Option<Error> mesos::internal::master::validation::operation::validate ( const Offer::Operation::DestroyDisk &  destroyDisk)