Commit Graph

9 Commits

Author SHA1 Message Date
karmada-bot 6bd9f68a0d
Merge pull request #2164 from carlory/iostreams
take iostreams as a func parameter
2022-07-28 08:54:53 +08:00
carlory dfa793f229 take iostreams as a func parameter that can be used by logs, get, describe and exec.
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-23 08:30:18 +08:00
chen zechun 6dffaf5e0f print example by templates like kubectl
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-07-22 15:46:08 +08:00
carlory af8b7c86f8 enable addition of [flags] to the usage line of a command when printing help or generating docs
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-13 13:09:30 +08:00
lonelyCZ da2868bc42 karmadactl exec: check if --cluster specify
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-12 14:34:41 +08:00
carlory a31315c0e9 use kubectl exec to implement karmadactl exec
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-10 22:47:40 +08:00
hanweisen b8abd537fb delete unused parameter
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-05-29 23:36:52 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
lonelyCZ 8cae9be548 Add exec function to karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-16 10:53:33 +08:00