Commit Graph

1857 Commits

Author SHA1 Message Date
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