Ta-Ching Chen and GitHub
0e16586f13
Add --dry option to view the generated spec without saving ( #1504 )
2020-01-24 20:43:42 +08:00
Ta-Ching Chen and GitHub
6379559c78
Follow kubernetes APIs directory structure ( #1497 )
2020-01-20 17:06:46 +08:00
Ta-Ching Chen and GitHub
308ba054a9
Use code-generator to generate clientset/informer/lister ( #1492 )
...
To reduce maintenance effort and avoid writing duplicate informer code,
use code-generator to generate clientset/informer/lister code.
2020-01-16 15:18:38 +08:00
Ta-Ching Chen and GitHub
0bda15c2b0
Add controller API client interface ( #1467 )
...
This PR adds an interface for controller API client, it allows us to
implement mock API client for unit testing with ease and we are
able to generate spec file without accessing the real Fission server.
2019-12-16 23:14:14 +08:00
Ta-Ching Chen and GitHub
45929a7737
Show warning when referencing nonexistent resources in spec ( #1415 )
2019-11-18 13:46:28 +08:00
Ta-Ching Chen and GitHub
871a332811
Reorder command flag and add missing flags ( #1394 )
2019-11-10 14:58:29 +08:00
Ta-Ching Chen and GitHub
29793665f6
Replace flag text with const ( #1391 )
2019-11-09 22:13:35 +08:00
Ta-Ching Chen and GitHub
d30dbbfaa2
Migrate from urfave/cli to cobra ( #1385 )
2019-11-08 21:22:00 +08:00
Ta-Ching Chen and GitHub
68f4c276ab
Make CLI functions return error instead of fatal out ( #1379 )
...
Before this PR, CLI functions fatal out when encountering error
instead of returning it. Such behavior makes it hard to reuse
the functions nor writing unit tests. This PR aims to make functions
return errors instead of error out.
2019-11-05 16:50:13 +08:00
Ta-Ching Chen and GitHub
f5e67ad5da
Refactor record command ( #1378 )
2019-11-05 10:30:16 +08:00
Ta-Ching Chen and GitHub
3d32d9614e
Refactor HTTP trigger command ( #1367 )
2019-10-31 23:40:37 +08:00