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

Typedefs

using DefaultCredential = common::DefaultCredential< Credential >
 
using DefaultCredential2 = common::DefaultCredential2< Credential >
 
using DefaultFrameworkInfo = common::DefaultFrameworkInfo< FrameworkInfo, Credential >
 

Functions

template<typename... Args>
ExecutorInfo createExecutorInfo (Args &&...args)
 
CommandInfo createCommandInfo (const Option< std::string > &value=None(), const std::vector< std::string > &arguments={})
 
mesos::slave::ContainerConfig createContainerConfig (const Option< TaskInfo > &taskInfo, const ExecutorInfo &executorInfo, const std::string &sandboxDirectory, const Option< std::string > &user=None())
 
mesos::slave::ContainerConfig createContainerConfig (const CommandInfo &commandInfo, const Option< ContainerInfo > &containerInfo=None(), const Option< mesos::slave::ContainerClass > &containerClass=None(), const Option< std::string > &user=None())
 
mesos::slave::ContainerConfig createContainerConfig (const CommandInfo &commandInfo, const std::string &resources, const std::string &sandboxDirectory, const Option< ContainerInfo > &containerInfo=None(), const Option< std::string > &user=None())
 
template<typename... Args>
Image createDockerImage (Args &&...args)
 
template<typename... Args>
Volume createVolumeSandboxPath (Args &&...args)
 
template<typename... Args>
Volume createVolumeHostPath (Args &&...args)
 
template<typename... Args>
Volume createVolumeFromDockerImage (Args &&...args)
 
template<typename... Args>
Volume createVolumeCsi (Args &&...args)
 
template<typename... Args>
NetworkInfo createNetworkInfo (Args &&...args)
 
ContainerInfo createContainerInfo (const Option< std::string > &imageName=None(), const std::vector< Volume > &volumes={})
 
template<typename... Args>
TaskInfo createTask (Args &&...args)
 
TaskGroupInfo createTaskGroupInfo (const std::vector< TaskInfo > &tasks)
 
Resource::ReservationInfo createStaticReservationInfo (const std::string &role)
 
Resource::ReservationInfo createDynamicReservationInfo (const std::string &role, const Option< std::string > &principal=None(), const Option< Labels > &labels=None())
 
template<typename... Args>
Resource createReservedResource (Args &&...args)
 
template<typename... Args>
Resource::DiskInfo createDiskInfo (Args &&...args)
 
template<typename... Args>
Resource::DiskInfo::Source createDiskSourcePath (Args &&...args)
 
template<typename... Args>
Resource::DiskInfo::Source createDiskSourceMount (Args &&...args)
 
template<typename... Args>
Resource::DiskInfo::Source createDiskSourceBlock (Args &&...args)
 
template<typename... Args>
Resource::DiskInfo::Source createDiskSourceRaw (Args &&...args)
 
template<typename... Args>
Resource createDiskResource (Args &&...args)
 
template<typename... Args>
Resource createPersistentVolume (Args &&...args)
 
template<typename... Args>
process::http::Headers createBasicAuthHeaders (Args &&...args)
 
template<typename... Args>
google::protobuf::RepeatedPtrField< WeightInfo > createWeightInfos (Args &&...args)
 
template<typename... Args>
hashmap< std::string, double > convertToHashmap (Args &&...args)
 
template<typename... Args>
DomainInfo createDomainInfo (Args &&...args)
 
template<typename... Args>
Offer::Operation RESERVE (Args &&...args)
 
template<typename... Args>
Offer::Operation UNRESERVE (Args &&...args)
 
template<typename... Args>
Offer::Operation CREATE (Args &&...args)
 
template<typename... Args>
Offer::Operation DESTROY (Args &&...args)
 
template<typename... Args>
Offer::Operation GROW_VOLUME (Args &&...args)
 
template<typename... Args>
Offer::Operation SHRINK_VOLUME (Args &&...args)
 
Offer::Operation LAUNCH (const std::vector< TaskInfo > &tasks)
 
template<typename... Args>
Offer::Operation LAUNCH_GROUP (Args &&...args)
 
template<typename... Args>
Offer::Operation CREATE_DISK (Args &&...args)
 
template<typename... Args>
Offer::Operation DESTROY_DISK (Args &&...args)
 
template<typename... Args>
Parameters parameterize (Args &&...args)
 

Typedef Documentation

Function Documentation

template<typename... Args>
hashmap<std::string, double> mesos::internal::tests::internal::convertToHashmap ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::CREATE ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::CREATE_DISK ( Args &&...  args)
inline
template<typename... Args>
process::http::Headers mesos::internal::tests::internal::createBasicAuthHeaders ( Args &&...  args)
inline
CommandInfo mesos::internal::tests::internal::createCommandInfo ( const Option< std::string > &  value = None(),
const std::vector< std::string > &  arguments = {} 
)
inline
mesos::slave::ContainerConfig mesos::internal::tests::internal::createContainerConfig ( const Option< TaskInfo > &  taskInfo,
const ExecutorInfo &  executorInfo,
const std::string &  sandboxDirectory,
const Option< std::string > &  user = None() 
)
inline
mesos::slave::ContainerConfig mesos::internal::tests::internal::createContainerConfig ( const CommandInfo &  commandInfo,
const Option< ContainerInfo > &  containerInfo = None(),
const Option< mesos::slave::ContainerClass > &  containerClass = None(),
const Option< std::string > &  user = None() 
)
inline
mesos::slave::ContainerConfig mesos::internal::tests::internal::createContainerConfig ( const CommandInfo &  commandInfo,
const std::string &  resources,
const std::string &  sandboxDirectory,
const Option< ContainerInfo > &  containerInfo = None(),
const Option< std::string > &  user = None() 
)
inline
ContainerInfo mesos::internal::tests::internal::createContainerInfo ( const Option< std::string > &  imageName = None(),
const std::vector< Volume > &  volumes = {} 
)
inline
template<typename... Args>
Resource::DiskInfo mesos::internal::tests::internal::createDiskInfo ( Args &&...  args)
inline
template<typename... Args>
Resource mesos::internal::tests::internal::createDiskResource ( Args &&...  args)
inline
template<typename... Args>
Resource::DiskInfo::Source mesos::internal::tests::internal::createDiskSourceBlock ( Args &&...  args)
inline
template<typename... Args>
Resource::DiskInfo::Source mesos::internal::tests::internal::createDiskSourceMount ( Args &&...  args)
inline
template<typename... Args>
Resource::DiskInfo::Source mesos::internal::tests::internal::createDiskSourcePath ( Args &&...  args)
inline
template<typename... Args>
Resource::DiskInfo::Source mesos::internal::tests::internal::createDiskSourceRaw ( Args &&...  args)
inline
template<typename... Args>
Image mesos::internal::tests::internal::createDockerImage ( Args &&...  args)
inline
template<typename... Args>
DomainInfo mesos::internal::tests::internal::createDomainInfo ( Args &&...  args)
inline
Resource::ReservationInfo mesos::internal::tests::internal::createDynamicReservationInfo ( const std::string &  role,
const Option< std::string > &  principal = None(),
const Option< Labels > &  labels = None() 
)
inline
template<typename... Args>
ExecutorInfo mesos::internal::tests::internal::createExecutorInfo ( Args &&...  args)
inline
template<typename... Args>
NetworkInfo mesos::internal::tests::internal::createNetworkInfo ( Args &&...  args)
inline
template<typename... Args>
Resource mesos::internal::tests::internal::createPersistentVolume ( Args &&...  args)
inline
template<typename... Args>
Resource mesos::internal::tests::internal::createReservedResource ( Args &&...  args)
inline
Resource::ReservationInfo mesos::internal::tests::internal::createStaticReservationInfo ( const std::string &  role)
inline
template<typename... Args>
TaskInfo mesos::internal::tests::internal::createTask ( Args &&...  args)
inline
TaskGroupInfo mesos::internal::tests::internal::createTaskGroupInfo ( const std::vector< TaskInfo > &  tasks)
inline
template<typename... Args>
Volume mesos::internal::tests::internal::createVolumeCsi ( Args &&...  args)
inline
template<typename... Args>
Volume mesos::internal::tests::internal::createVolumeFromDockerImage ( Args &&...  args)
inline
template<typename... Args>
Volume mesos::internal::tests::internal::createVolumeHostPath ( Args &&...  args)
inline
template<typename... Args>
Volume mesos::internal::tests::internal::createVolumeSandboxPath ( Args &&...  args)
inline
template<typename... Args>
google::protobuf::RepeatedPtrField<WeightInfo> mesos::internal::tests::internal::createWeightInfos ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::DESTROY ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::DESTROY_DISK ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::GROW_VOLUME ( Args &&...  args)
inline
Offer::Operation mesos::internal::tests::internal::LAUNCH ( const std::vector< TaskInfo > &  tasks)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::LAUNCH_GROUP ( Args &&...  args)
inline
template<typename... Args>
Parameters mesos::internal::tests::internal::parameterize ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::RESERVE ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::SHRINK_VOLUME ( Args &&...  args)
inline
template<typename... Args>
Offer::Operation mesos::internal::tests::internal::UNRESERVE ( Args &&...  args)
inline