Commit Graph

15 Commits

Author SHA1 Message Date
Sean Sullivan
6c96a059dd Move pkg/kubectl/cmd/util and subdirs to staging 2019-07-29 13:08:41 -07:00
Sean Sullivan
70984d8385 Moves pkg/kubectl/util/i18n to staging 2019-07-25 23:09:34 -07:00
Sean Sullivan
67140f13fe Updated dependencies: BUILD/modules.txt 2019-07-18 15:43:26 -07:00
Sean Sullivan
140c62cd4c Update all imports to scheme in staging 2019-07-18 15:32:27 -07:00
Peter Swica
123fa89f21 Moved pkg/kubectl/util/term, pkg/kubectl/util/templates, pkg/kubectl/util/interrupt, and pkg/kubectl/util/interrupt to staging 2019-06-20 15:50:16 -04:00
Ahmad Nurus S
a59b476805 Remove kubectl exec deprecated -p/--pod flag 2019-05-23 20:43:36 +07:00
Quan Tian
efcca8f357 Fix missing pod name for kubectl attach and exec
The pod name is missing in suggested cmd usage when executing kubectl attach
and exec:
"Defaulting container name to master.
 Use 'kubectl describe pod/ -n default' to see all of the containers in this pod."

The PodName is empty in func Complete as the attached Pod isn't populated yet,
causing suggested cmd usage imcomplete. This patch renders PodName after it is
populated.
2019-05-17 09:58:57 -07:00
Maciej Szulik
c1cd89f5cd
Update kubectl exec use to put flags in the right place 2019-05-07 21:47:03 +02:00
Ahmad Nurus S
0c39d7d380 Kubectl exec support resource/name format 2019-04-25 17:44:01 +07:00
Sean Sullivan
2345831b82 kubectl: Removes dependency on util/interrupt by copying this code into kubectl 2019-03-20 11:39:57 -07:00
He Xiaoxi
4c8d0a3cd4 Fix duplicate container query param on exec pod command
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-02-19 15:58:43 +08:00
Yang Li
141d33a2a5 Fix some golint errors for packages in pkg/kubectl/cmd
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
Maciej Szulik
21789b85a6
Move pkg/kubectl/cmd/templates -> pkg/kubectl/util/temlpates 2018-10-11 22:01:03 +02:00
Maciej Szulik
55d5df8a36
React to moves 2018-10-06 18:44:05 +02:00
Maciej Szulik
33adf367f9
Move each kubectl command to a separate directory 2018-10-06 18:44:05 +02:00