Apache Mesos
|
Represents a resource conversion, usually as a result of an offer operation. More...
#include <resources.hpp>
Public Types | |
typedef lambda::function< Try< Nothing >const Resources &)> | PostValidation |
Public Member Functions | |
ResourceConversion (const Resources &_consumed, const Resources &_converted, const Option< PostValidation > &_postValidation=None()) | |
Try< Resources > | apply (const Resources &resources) const |
Public Attributes | |
Resources | consumed |
Resources | converted |
Option< PostValidation > | postValidation |
Represents a resource conversion, usually as a result of an offer operation.
See more details in Resources::apply
method.
typedef lambda::function<Try<Nothing>const Resources&)> mesos::v1::ResourceConversion::PostValidation |
|
inline |
Resources mesos::v1::ResourceConversion::consumed |
Resources mesos::v1::ResourceConversion::converted |
Option<PostValidation> mesos::v1::ResourceConversion::postValidation |