Commit Graph

13 Commits

Author SHA1 Message Date
zzxwill
c9cd323612 Refine README and delete commented lines 2020-07-17 13:40:50 +08:00
zzxwill
bdb8af9492 Fix issue and refine README
1) Fix the issue when there are more than one traitdefinitions
2) Refine README
3) lowercase workload metadata.name so it could be used as dns
2020-07-17 13:40:50 +08:00
zzxwill
be84103ce7 format go files 2020-07-17 13:40:50 +08:00
zzxwill
20fe71ccb3 Implement rudr bind
Implement trait binding based on `rudr run`
2020-07-17 13:40:50 +08:00
zzxwill
5bced27bd0 Fix run issue
Remove hard-coded type sting for image port convertion,
and make several parameter as optical. Fix issue #17
2020-07-16 14:11:13 +08:00
zzxwill
e58c4f6c72 check whether lastCommandParam is set 2020-07-14 17:52:11 +08:00
zzxwill
124a215a0a Make `lastCommandParam as a subcommand and enhance corner cases
Fix issue #4
- Make `lastCommandParam` like `image` as a subcommand instead of a flag.
- Validate whether `lastCommandParam` is set.
- check whether all flags are set.
2020-07-14 17:52:11 +08:00
zzxwill
4ca494c69c Support executing ContainerizedWorkload
Add metadata.name for workload and add deafult name
for spec.containers[].ports[].port.name
2020-07-14 14:37:38 +08:00
Sun Jianbo
f8e8f685a7 Merge pull request #8 from zzxwill/list-traits
List traits
2020-07-14 13:56:25 +08:00
zzxwill
fff36b6a5a List traits
Support `rudr traits` and `rudr traits --workload NAME`
2020-07-12 23:16:47 +08:00
zzxwill
ece0e76b65 No need to check the lenght of args
If the line is being executed, that means the lenght
of the args is zero.
2020-07-09 23:15:21 +08:00
zzxwill
a36e5e9051 Provide available workloads in help message
Print all available workloads, like containerized, deployments.apps,
statefulsets.apps to help user to choose one of them.
2020-07-09 16:32:28 +08:00
天元
4f13b58663 init rudrx 2020-07-07 00:12:13 +08:00