Commit Graph

4 Commits

Author SHA1 Message Date
Boshi Lian
df3381607a run generate script for k8s 1.12 (#205)
* generate for 1.12

* run watch generator

* bump version
2018-10-03 13:38:37 -07:00
Boshi Lian
49bb82b15d generate v1.11.0 (#182)
* generate v1.11 -rc3

* add generated watcher

* regenrate with 1.11.0
2018-07-02 07:22:11 -07:00
Frederik Carlier
bc1cb6205c Watcher: notify the caller when the server closes the connection (#184)
* Watcher: Add onClosed event and callback

* Update the code generators to accept the onClose callback

* Re-generate API

* Update unit tests

* Fix unit test

* Watcher fixes/improvements:
- Run Task.Yield at the beginning to make sure we're running async
- Set Watching = false before invoking OnClosed, to make sure the callers see a consistent state.
2018-06-27 14:38:28 -07:00
Frederik Carlier
ebf8661641 Auto-generate Watcher code (for individual objects) (#148)
* Only keep WatchObjectAsync<T> in the manually-generated code

* Add a console application which can generate the various Watch methods

* Generate the Watch methods

* Use Nustache and templates to generate the watcher code

* Re-generate code
2018-04-30 15:07:27 -07:00