-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20: feat(watcher): add new watcher agent r=tiagolobocastro a=tiagolobocastro The watcher is currently part of the core agent and it processes get/create/delete calls On creation it makes use of the store to create a watch on the specified resource notifying the requester of changes everytime the resource changes. At the moment the only supported type of watch are http callbacks. This is meant to allow the operator to watch for changes without polling. Our own agents will also be using this method (eg, the control loop) might also need to watch for changes so that it can reconcile though that will likely not be notified via http (maybe via nats or even same binary callback). Co-authored-by: Tiago Castro <[email protected]>
- Loading branch information
Showing
37 changed files
with
1,786 additions
and
299 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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.