Apache Mesos
Namespaces | Typedefs | Functions
mesos::internal::tests::v1 Namespace Reference

Namespaces

 executor
 
 resource_provider
 
 scheduler
 

Typedefs

using DefaultCredential = common::DefaultCredential< mesos::v1::Credential >
 
using DefaultCredential2 = common::DefaultCredential2< mesos::v1::Credential >
 
using DefaultFrameworkInfo = common::DefaultFrameworkInfo< mesos::v1::FrameworkInfo, mesos::v1::Credential >
 
using MockHTTPScheduler = tests::scheduler::MockHTTPScheduler< mesos::v1::scheduler::Mesos, mesos::v1::scheduler::Event >
 
using MockHTTPExecutor = tests::executor::MockHTTPExecutor< mesos::v1::executor::Mesos, mesos::v1::executor::Event >
 
using MockResourceProvider = tests::resource_provider::MockResourceProvider< mesos::v1::resource_provider::Event, mesos::v1::resource_provider::Call, mesos::v1::resource_provider::Driver, mesos::v1::ResourceProviderInfo, mesos::v1::Resource, mesos::v1::Resources, mesos::v1::ResourceProviderID, mesos::v1::OperationState, mesos::v1::Offer::Operation, mesos::v1::Resource::DiskInfo::Source >
 

Functions

template<typename... Args>
mesos::v1::ExecutorInfo createExecutorInfo (Args &&...args)
 
mesos::v1::CommandInfo createCommandInfo (const Option< std::string > &value=None(), const std::vector< std::string > &arguments={})
 
template<typename... Args>
mesos::v1::Image createDockerImage (Args &&...args)
 
template<typename... Args>
mesos::v1::Volume createVolumeSandboxPath (Args &&...args)
 
template<typename... Args>
mesos::v1::Volume createVolumeHostPath (Args &&...args)
 
template<typename... Args>
mesos::v1::Volume createVolumeFromDockerImage (Args &&...args)
 
template<typename... Args>
mesos::v1::NetworkInfo createNetworkInfo (Args &&...args)
 
mesos::v1::ContainerInfo createContainerInfo (const Option< std::string > &imageName=None(), const std::vector< mesos::v1::Volume > &volumes={})
 
template<typename... Args>
mesos::v1::TaskInfo createTask (Args &&...args)
 
mesos::v1::TaskGroupInfo createTaskGroupInfo (const std::vector< mesos::v1::TaskInfo > &tasks)
 
mesos::v1::Resource::ReservationInfo createStaticReservationInfo (const std::string &role)
 
mesos::v1::Resource::ReservationInfo createDynamicReservationInfo (const std::string &role, const Option< std::string > &principal=None(), const Option< mesos::v1::Labels > &labels=None())
 
template<typename... Args>
mesos::v1::Resource createReservedResource (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource::DiskInfo createDiskInfo (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source createDiskSourcePath (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source createDiskSourceMount (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source createDiskSourceBlock (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source createDiskSourceRaw (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource createDiskResource (Args &&...args)
 
template<typename... Args>
mesos::v1::Resource createPersistentVolume (Args &&...args)
 
template<typename... Args>
process::http::Headers createBasicAuthHeaders (Args &&...args)
 
template<typename... Args>
google::protobuf::RepeatedPtrField< mesos::v1::WeightInfo > createWeightInfos (Args &&...args)
 
template<typename... Args>
hashmap< std::string, double > convertToHashmap (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation RESERVE (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation UNRESERVE (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation CREATE (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation DESTROY (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation GROW_VOLUME (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation SHRINK_VOLUME (Args &&...args)
 
mesos::v1::Offer::Operation LAUNCH (const std::vector< mesos::v1::TaskInfo > &tasks)
 
template<typename... Args>
mesos::v1::Offer::Operation LAUNCH_GROUP (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation CREATE_DISK (Args &&...args)
 
template<typename... Args>
mesos::v1::Offer::Operation DESTROY_DISK (Args &&...args)
 
template<typename... Args>
mesos::v1::Parameters parameterize (Args &&...args)
 
mesos::v1::scheduler::Call createCallAccept (const mesos::v1::FrameworkID &frameworkId, const mesos::v1::Offer &offer, const std::vector< mesos::v1::Offer::Operation > &operations, const Option< mesos::v1::Filters > &filters=None())
 
mesos::v1::scheduler::Call createCallAcknowledge (const mesos::v1::FrameworkID &frameworkId, const mesos::v1::AgentID &agentId, const mesos::v1::scheduler::Event::Update &update)
 
mesos::v1::scheduler::Call createCallAcknowledgeOperationStatus (const mesos::v1::FrameworkID &frameworkId, const mesos::v1::AgentID &agentId, const mesos::v1::ResourceProviderID &resourceProviderId, const mesos::v1::scheduler::Event::UpdateOperationStatus &update)
 
mesos::v1::scheduler::Call createCallKill (const mesos::v1::FrameworkID &frameworkId, const mesos::v1::TaskID &taskId, const Option< mesos::v1::AgentID > &agentId=None(), const Option< mesos::v1::KillPolicy > &killPolicy=None())
 
mesos::v1::scheduler::Call createCallReconcileOperations (const mesos::v1::FrameworkID &frameworkId, const std::vector< mesos::v1::scheduler::Call::ReconcileOperations::Operation > &operations={})
 
mesos::v1::scheduler::Call createCallSubscribe (const mesos::v1::FrameworkInfo &frameworkInfo, const Option< mesos::v1::FrameworkID > &frameworkId=None())
 

Typedef Documentation

using mesos::internal::tests::v1::DefaultFrameworkInfo = typedef common::DefaultFrameworkInfo<mesos::v1::FrameworkInfo, mesos::v1::Credential>
using mesos::internal::tests::v1::MockResourceProvider = typedef tests::resource_provider::MockResourceProvider< mesos::v1::resource_provider::Event, mesos::v1::resource_provider::Call, mesos::v1::resource_provider::Driver, mesos::v1::ResourceProviderInfo, mesos::v1::Resource, mesos::v1::Resources, mesos::v1::ResourceProviderID, mesos::v1::OperationState, mesos::v1::Offer::Operation, mesos::v1::Resource::DiskInfo::Source>

Function Documentation

template<typename... Args>
hashmap<std::string, double> mesos::internal::tests::v1::convertToHashmap ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::CREATE ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::CREATE_DISK ( Args &&...  args)
inline
template<typename... Args>
process::http::Headers mesos::internal::tests::v1::createBasicAuthHeaders ( Args &&...  args)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallAccept ( const mesos::v1::FrameworkID &  frameworkId,
const mesos::v1::Offer &  offer,
const std::vector< mesos::v1::Offer::Operation > &  operations,
const Option< mesos::v1::Filters > &  filters = None() 
)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallAcknowledge ( const mesos::v1::FrameworkID &  frameworkId,
const mesos::v1::AgentID &  agentId,
const mesos::v1::scheduler::Event::Update &  update 
)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallAcknowledgeOperationStatus ( const mesos::v1::FrameworkID &  frameworkId,
const mesos::v1::AgentID &  agentId,
const mesos::v1::ResourceProviderID &  resourceProviderId,
const mesos::v1::scheduler::Event::UpdateOperationStatus &  update 
)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallKill ( const mesos::v1::FrameworkID &  frameworkId,
const mesos::v1::TaskID &  taskId,
const Option< mesos::v1::AgentID > &  agentId = None(),
const Option< mesos::v1::KillPolicy > &  killPolicy = None() 
)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallReconcileOperations ( const mesos::v1::FrameworkID &  frameworkId,
const std::vector< mesos::v1::scheduler::Call::ReconcileOperations::Operation > &  operations = {} 
)
inline
mesos::v1::scheduler::Call mesos::internal::tests::v1::createCallSubscribe ( const mesos::v1::FrameworkInfo &  frameworkInfo,
const Option< mesos::v1::FrameworkID > &  frameworkId = None() 
)
inline
mesos::v1::CommandInfo mesos::internal::tests::v1::createCommandInfo ( const Option< std::string > &  value = None(),
const std::vector< std::string > &  arguments = {} 
)
inline
mesos::v1::ContainerInfo mesos::internal::tests::v1::createContainerInfo ( const Option< std::string > &  imageName = None(),
const std::vector< mesos::v1::Volume > &  volumes = {} 
)
inline
template<typename... Args>
mesos::v1::Resource::DiskInfo mesos::internal::tests::v1::createDiskInfo ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource mesos::internal::tests::v1::createDiskResource ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source mesos::internal::tests::v1::createDiskSourceBlock ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source mesos::internal::tests::v1::createDiskSourceMount ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source mesos::internal::tests::v1::createDiskSourcePath ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource::DiskInfo::Source mesos::internal::tests::v1::createDiskSourceRaw ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Image mesos::internal::tests::v1::createDockerImage ( Args &&...  args)
inline
mesos::v1::Resource::ReservationInfo mesos::internal::tests::v1::createDynamicReservationInfo ( const std::string &  role,
const Option< std::string > &  principal = None(),
const Option< mesos::v1::Labels > &  labels = None() 
)
inline
template<typename... Args>
mesos::v1::ExecutorInfo mesos::internal::tests::v1::createExecutorInfo ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::NetworkInfo mesos::internal::tests::v1::createNetworkInfo ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource mesos::internal::tests::v1::createPersistentVolume ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Resource mesos::internal::tests::v1::createReservedResource ( Args &&...  args)
inline
mesos::v1::Resource::ReservationInfo mesos::internal::tests::v1::createStaticReservationInfo ( const std::string &  role)
inline
template<typename... Args>
mesos::v1::TaskInfo mesos::internal::tests::v1::createTask ( Args &&...  args)
inline
mesos::v1::TaskGroupInfo mesos::internal::tests::v1::createTaskGroupInfo ( const std::vector< mesos::v1::TaskInfo > &  tasks)
inline
template<typename... Args>
mesos::v1::Volume mesos::internal::tests::v1::createVolumeFromDockerImage ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Volume mesos::internal::tests::v1::createVolumeHostPath ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Volume mesos::internal::tests::v1::createVolumeSandboxPath ( Args &&...  args)
inline
template<typename... Args>
google::protobuf::RepeatedPtrField< mesos::v1::WeightInfo> mesos::internal::tests::v1::createWeightInfos ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::DESTROY ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::DESTROY_DISK ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::GROW_VOLUME ( Args &&...  args)
inline
mesos::v1::Offer::Operation mesos::internal::tests::v1::LAUNCH ( const std::vector< mesos::v1::TaskInfo > &  tasks)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::LAUNCH_GROUP ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Parameters mesos::internal::tests::v1::parameterize ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::RESERVE ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::SHRINK_VOLUME ( Args &&...  args)
inline
template<typename... Args>
mesos::v1::Offer::Operation mesos::internal::tests::v1::UNRESERVE ( Args &&...  args)
inline