forked from julienschmidt/httprouter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swapping watch broadcaster channel behavior (julienschmidt#283)
* swapping watch broadcaster channel behavior Signed-off-by: Aaron Schlesinger <[email protected]> * small test refactor Signed-off-by: Aaron Schlesinger <[email protected]> * more comments in test Signed-off-by: Aaron Schlesinger <[email protected]> * more comments and interface implementation check for fake deployment cache Signed-off-by: Aaron Schlesinger <[email protected]> * adding comment to closeableWatcher Signed-off-by: Aaron Schlesinger <[email protected]> * forgot the beginning of comment Signed-off-by: Aaron Schlesinger <[email protected]> * adding error checking to the closeableWatcher Signed-off-by: Aaron Schlesinger <[email protected]> * removing resultCalls from the closeable watcher Signed-off-by: Aaron Schlesinger <[email protected]> * removing the closeableWatcher in favor of the fake watcher functionality in client-go Signed-off-by: Aaron Schlesinger <[email protected]> * closeableWatcher => reopeningWatcher The core functionality needed was automatic reopening of watch channels. This commit implements that while removing some ancillary things like specifying whether to reopen etc... Signed-off-by: Aaron <[email protected]> * fixing nil ptr exception Signed-off-by: Aaron <[email protected]> * clarifying comments Signed-off-by: Aaron <[email protected]>
- Loading branch information
Showing
4 changed files
with
146 additions
and
83 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
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