Apache Mesos
Namespaces | Functions
resources_utils.hpp File Reference
#include <string>
#include <ostream>
#include <mesos/mesos.hpp>
#include <mesos/resources.hpp>
#include <stout/try.hpp>

Go to the source code of this file.

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::tests
 

Functions

Resources mesos::internal::tests::allocatedResources (const Resources &resources, const std::string &role)
 
Resource mesos::internal::tests::createPorts (const ::mesos::Value::Ranges &ranges)
 
Try<::mesos::Value::Ranges > mesos::internal::tests::fragment (const ::mesos::Value::Range &bounds, size_t numRanges)
 
::mesos::Value::Range mesos::internal::tests::createRange (uint64_t begin, uint64_t end)