Commit Graph

6 Commits

Author SHA1 Message Date
Boshi Lian
5be3cff425 Style fix final (#523)
* all net5

* var

* SA1310

* SA1310

* allow 1031

* SA1805

* fix SA1642

* remove unused code

* allow sa1405

* isempty

* fix CA1714

* fix CA1806

* remove always false if

* fix format

* fix CA1062

* allow SA0001

* fix CA1062

* allow ca1034 and temp allow ca1835

* fix 16XX doc related warnings

* elm SA16XX

* elm SA16XX

* fix CA2213

* revert to pass all test

* move unclear rule to ruleset

* follow up of moving ruleset

* remove this

* fix test flaky
2020-11-22 14:52:09 -08:00
Boshi Lian
8e7bf0b6f2 Stylecop (#428)
* add auto generate header

* run gen

* introduce first style analyizer

* fix tab
2020-04-22 13:41:45 -07:00
Boshi Lian
644cf76009 Gen v1.14.0 (#275)
* gen v1.14.0

* update watcher generator for 1.14
2019-03-28 11:51:58 -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
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