17 #ifndef __TESTS_RESOURCES_UTILS_HPP__ 18 #define __TESTS_RESOURCES_UTILS_HPP__ 41 const Resources& resources,
42 const std::string& role);
46 Resource
createPorts(const ::mesos::Value::Ranges& ranges);
59 const ::mesos::Value::Range& bounds,
62 ::mesos::Value::Range
createRange(uint64_t begin, uint64_t end);
68 #endif // __TESTS_RESOURCES_UTILS_HPP__
::mesos::Value::Range createRange(uint64_t begin, uint64_t end)
Resources allocatedResources(const Resources &resources, const std::string &role)
Try<::mesos::Value::Ranges > fragment(const ::mesos::Value::Range &bounds, size_t numRanges)
Definition: attributes.hpp:24
Resource createPorts(const ::mesos::Value::Ranges &ranges)