-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced ResourceConversion to represent conversion to Resources.
Currently, we couple offer operations with resource conversions. For instance, we have interfaces like `Resources::apply` that takes an offer operation. This becomes less ideal because an offer operation might not represent a `conversion` anymore with new offer operation like `CREATE_VOLUME` being introduced. This patch decoupled resource conversions from offer operations. `Resources::apply` will now take a `ResourceConversion` object. We also provide some helpers to get a `ResourceConversion` from an offer operation (if supported). Review: https://reviews.apache.org/r/63511
- Loading branch information
Showing
6 changed files
with
332 additions
and
548 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.