Our existing javascript k8sclient has some known shortcomings. Take the good parts of the existing client and use them reimplement it in a new version. Additionally this new version shall be a prototype for future libs in that it shall be written completely in Typescript.
[x] 1. Convert JavaScript code to TypeScript
[ ] 2. Refactor
[ ] 3. Bugfixing (watch and Reposne Status)
Fix the following known issues:
[ ] The watch function doesn't properly handle incorrect URLs
[ ] ...
ToDo:
[ ] create folder in packages "k8sclient"
[ ] implement the client using TypeScript and code from sapcc-k8sclient as template
[ ] add a note to sapcc-k8sclient readme and a link to the "new" repo
[ ] publish the new package on npmjs
Acceptance criteria:
[ ] Excellent test coverage
[ ] Use Typescript
[ ] Treat as new major version of existing k8sclient (i.e. breaking changes allowed, but try to be backwards compatilbe where possible). Document migration path for breaking changes
Our existing javascript k8sclient has some known shortcomings. Take the good parts of the existing client and use them reimplement it in a new version. Additionally this new version shall be a prototype for future libs in that it shall be written completely in Typescript.
Fix the following known issues:
ToDo:
Acceptance criteria:
k8sclient
(i.e. breaking changes allowed, but try to be backwards compatilbe where possible). Document migration path for breaking changes