Commit Graph

182 Commits

Author SHA1 Message Date
guoxudong
5cbd0bef98 add auto-completion command
Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-08-07 17:08:24 +08:00
天元
772ea69fa2 remove kube flags 2020-08-07 15:08:35 +08:00
天元
8418534a43 rename rudrx/rudr to vela 2020-08-07 13:40:20 +08:00
Herman Zhu
e6d4b85e39 feat(admin): support ruder admin:init and ruder admin:info (#75)
* feat(admin): support `ruder admin:init` and `ruder admin:info`

Support `ruder admin:init` and `ruder admin:info`

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(admin): support `ruder admin:init` and `ruder admin:info`

Support `ruder admin:init` and `ruder admin:info`

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-08-07 13:02:23 +08:00
Sun Jianbo
27d14c3fbb Merge pull request #96 from zzxwill/addon
Implement `addon:config` and `addon:ls`
2020-08-07 10:34:15 +08:00
天元
84d18e43af fix env init don't create namespace 2020-08-06 16:03:53 +08:00
zzxwill
d2fc983d30 Implement addon:config and addon:ls
Store addon center configuration in ~/.rudr/addon_config;
list workloaddefinitions and traitdefinitions, and check
wheter they are intalled.
2020-08-06 14:43:33 +08:00
天元
ae08333efa use cue template instead of parameter 2020-08-06 11:58:13 +08:00
Sun Jianbo
72ea2c8782 Merge pull request #73 from zzxwill/unbind
Detach trait
2020-08-06 00:16:54 +08:00
zzxwill
fda918ba39 Refine README and add command app:xxx 2020-08-05 21:33:46 +08:00
zzxwill
38b906c0f0 use command rudr <TraitType>:detach to detach a trait 2020-08-05 20:06:00 +08:00
zzxwill
7272069bff remove old detach command from main 2020-08-05 20:06:00 +08:00
zzxwill
0496bff6ea Detach trait
detach trait from an application
2020-08-05 20:06:00 +08:00
zzxwill
bd1fd83c20 address comments from @Wonderflow 2020-08-04 21:16:52 +08:00
zzxwill
01ade795e3 implement rudr status
Implement `rudr status <APPLICATION-NAME>` to show the status
of the application, its workloads and traits
2020-08-04 21:16:52 +08:00
天元
1b4e79eea6 refactor trait from rudr bind to rudr <trait-type> appname 2020-08-01 21:46:19 +08:00
天元
728ebb33b2 refactor rudr run to rudr <workload>:run 2020-08-01 13:14:06 +08:00
天元
dcf311cd4a clean up docs and test 2020-07-31 12:18:17 +08:00
天元
89601bee18 support rudr env 2020-07-31 10:34:17 +08:00
zzxwill
318f9e59ae Correct rebase issue and add e2e test 2020-07-30 23:31:01 +08:00
zzxwill
e91dceac4b Make modification for latest xxxdefinition.spec.extension 2020-07-29 22:40:39 +08:00
zzxwill
b4065b1174 Move template to definition Extension field
As we plan to deprecate template, move template
to workloaddefinition and traitdefinition respectively.
2020-07-29 22:33:40 +08:00
天元
bc52589ab6 init rudr workloads 2020-07-29 18:56:13 +08:00
Herman Zhu
a9f9bc055c feat(init): Add rudr init (#43)
* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into
cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): Add `rudr init`

Support `rudr init` which will check/install oam-k8s-runtime into cluster

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): add version flag

Add version flag

Fixes #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>

* feat(init): create native resource WorkloadDefinition

Create native resource WorkloadDefinition

Fixes: #12

Signed-off-by: zhuhuijun <zhuhuijunzhj@gmail.com>
2020-07-29 15:54:21 +08:00
guoxudong
51f9ff4c61 add delete cmd (#48)
* add delete cmd

Signed-off-by: guoxudong <sunnydog0826@gmail.com>
2020-07-27 10:43:47 +08:00
zzxwill
66d0bdb61b Implement list applications
List appliations and support --application/-a
to filter applicatin lists
2020-07-23 21:40:30 +08:00
erdun
76ad168ccf fix run bug 2020-07-23 13:08:09 +08:00
erdun
e625745604 add UT 2020-07-21 11:13:47 +08:00
erdun
4875cd2aab move init code to cobra 2020-07-20 00:17:39 +08:00
zzxwill
20fe71ccb3 Implement rudr bind
Implement trait binding based on `rudr run`
2020-07-17 13:40:50 +08:00
zzxwill
fff36b6a5a List traits
Support `rudr traits` and `rudr traits --workload NAME`
2020-07-12 23:16:47 +08:00
天元
4f13b58663 init rudrx 2020-07-07 00:12:13 +08:00