Commit Graph

18 Commits

Author SHA1 Message Date
helen 3e774496cf New Factory global flags merge.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2022-11-09 10:43:15 +08:00
chen zechun f01e9bfa54 Add a description for the karmadactl subcommand
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-10-25 23:46:20 +08:00
Poor12 1414d7b9ba add gen-docs
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-10-20 15:35:46 +08:00
karmada-bot ac2e905356
Merge pull request #2471 from carlory/karmadactl-describe
karmadactl describe uses factory to access member cluster
2022-09-12 23:36:15 +08:00
carlory 682924be23 karmadactl describe uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-08 00:16:00 +08:00
carlory fea61dad3f disable flags in use line
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-09-06 11:10:45 +08:00
carlory eb31ff4740 karmadactl logs uses factory to access member cluster
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
2022-09-01 22:42:24 +08:00
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 4ee623c1e2 use kubectl logs to implement karmadactl logs
Signed-off-by: carlory <baofa.fan@daocloud.io>

Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>
2022-07-12 23:17:46 +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
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
karmada-bot 9a62ca140b
Merge pull request #1796 from lonelyCZ/pr-exec-describe-cmd
Add exec and describe function to karmadactl
2022-05-18 15:57:46 +08:00
changzhen 36e4bff38c modify karmadactl logs example
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-18 11:00:48 +08:00
lonelyCZ 36090a1bfa Make getclusterInfo function more general
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-15 22:03:57 +08:00
lonelyCZ 4908b313b7 Unify usage example template of karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-05-10 12:08:11 +08:00
lonelyCZ a52bfca0b8 Add logs function to karmadactl
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-04-22 13:52:12 +08:00