Abhishek Kr Srivastav
36d480f43c
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
Kubernetes-commit: 95860cff1c418ea6f5494e4a6168e7acd1c390ec
2024-09-12 18:15:22 +05:30
Arda Güçlü
3f05cfcd78
Migrate genericclioptions.IOStreams usage to genericiooptions
...
Kubernetes-commit: 00c30941260a27e6929aef84c7fdbc8f1508518c
2023-04-05 14:07:46 +03:00
inosato
8272d71ba6
Remove ioutil from kubectl
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
Kubernetes-commit: 774ab1349bfd553c97a99b992e9f38659f541c84
2022-07-30 22:31:16 +09:00
Arda Güçlü
81a25f37b5
Set validate functions requiring no parameters for all commands
...
Validate function is used to validate command options and should not get
any additional parameter. To preserve compatibility across all
kubectl commands, this PR removes all parameters in validate functions.
Kubernetes-commit: 8fb423bfabe0d53934cc94c154c7da2dc3ce1332
2022-05-17 11:38:20 +03:00
Maciej Szulik
fe89be9c6f
Use separate pathSpec for local and remote to properly handle cleaning paths
...
Kubernetes-commit: 0fb6815f08f39c8af814fa733d5235681a124b81
2020-08-21 19:24:19 +02:00
Bilal Amarni
aa373084bf
[kubectl] Fail when local source file doesn't exist
...
When trying to upload an unexisting file to a pod,
kubectl currently doesn't print any error message
and terminates with a zero exit code.
This adds a check and fails explicitly in such cases.
Kubernetes-commit: 3fa5b504423f169723b911547cd22ae85da168e0
2020-04-22 11:09:41 +02:00
knight42
0597d045eb
refactor: move kubectl-cp to staging
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
Kubernetes-commit: 1b32dfdafdcd6cce21415c75385970a9ae5b0f01
2020-06-15 12:20:14 +08:00
Maciej Szulik
b567e802b1
Move kubectl cp back to k/k
...
Kubernetes-commit: ab1c56ae87780a390bd31d50558e4e44bca551dc
2019-08-28 19:01:25 +02:00
Sean Sullivan
1483769081
Update gofmt
...
Kubernetes-commit: e2cae2344486af198f8ab38e4dd97d4f24dfd190
2019-08-01 13:14:06 -07:00
Sean Sullivan
5b48717f2d
Update import statements to reflect code move
...
Kubernetes-commit: acece3c2964115a4f29a43e368ad5de59dbbc258
2019-08-01 11:10:05 -07:00
Sean Sullivan
c6063dd846
Move pkg/kubectl/cmd/{command} to staging
...
Kubernetes-commit: 0e0ea523392f1121f61f99ac30a9bc2043eaed90
2019-08-01 11:01:40 -07:00