Commit Graph

9 Commits

Author SHA1 Message Date
Karl Isenberg ee6c5a7fe4 Return error & send error event on cancel/timeout 2021-10-19 11:07:14 -07:00
Karl Isenberg d83ce93efd Add ObjMetadataSet to encapsulate set functions
- Refactor usages of []ObjMetadata to use ObjMetadataSet
- Move Union, Diff, Contains, Hash, Remove, and Equal into
  ObjMetadataSet
- Add ToStringMap and FromStringMap for inventory serialization
2021-10-06 14:25:12 -07:00
Karl Isenberg d964b0397b Merge Collector and ResourceCache
- Make ResourceCache thread-safe
- Make ResourceCache store status and messagei
- Add ResourceCache to baseRunner and TaskContext
- Make Mutator compute resource status for uncached resources
- Share cache between StatusPoller and Mutator
- Move Condition and conditionMet() to its own file
- Simplify WaitTask.checkCondition
- Simplify baseRunner.amendTimeoutError
2021-09-30 12:01:19 -07:00
Haiyan Meng 9da829eb5a Include the resource ids in the timeout error msg 2021-09-24 12:26:28 -07:00
Morten Torkildsen ae80e561e2 Improve the event hierarchy 2021-05-18 14:58:41 -07:00
Morten Torkildsen 9135af4218 Improve error handling 2020-08-16 20:10:17 -07:00
Morten Torkildsen 260f419d8b Add TaskContext to be passed between tasks 2020-04-17 14:04:58 -07:00
Morten Torkildsen 0d8186ce96 Only send status events if we are waiting for reconcile 2020-04-15 13:51:17 -07:00
Morten Torkildsen a8a3e0d034 Implement the applier as a queue of tasks 2020-03-23 14:47:40 -07:00