Commit Graph

4 Commits

Author SHA1 Message Date
Boshi Lian
7f6043a075 generator cmd param (#252) 2019-03-06 16:18:57 -08:00
Frederik Carlier
9253eeb2eb Fix issue where the watcher URLs would be prefixed with a '/'. This would lead to URLs such as https://localhost:8443//api/..., and the double // after the port number would case a 404 NOT FOUND response. (#164) 2018-05-29 19:42:34 -07:00
Frederik Carlier
bf4a7040d4 Add a common IKubernetesObject interface, expose type metadata (#152)
* - Implement common interface across all Kubernetes elements
- Add ApiVersion, Kind and Group properties

* Add IKubernetesObject interface

* Regenerate code

* Fixup after rebase

* Fixes after rebase, make method names consistent
2018-05-02 22:04:47 -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