Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Resource Mgmt: RI15 Sp 48, Resource Mgmt: RI 15 Sp 49
-
5
Description
We should introduce:
struct Qutota
{ ResourceQuantities guarantees; ResourceLimits limits; }There are a couple of small hurdles. First, there is already a struct Quota wrapper in "include/mesos/quota/quota.hpp", we need to deprecate that first. Second, `ResourceQuantities` and `ResourceLimits` are right now only used in internal headers. We probably want to move them into public header, since this struct will also be used in allocator interface which is also in the public header. (Looking at this line, the boundary is alreayd breached: https://github.com/apache/mesos/blob/master/include/mesos/allocator/allocator.hpp#L41)