Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Ahmad Nurus S
69ad3dbeb7
Add kubectl config set example
2019-01-25 20:21:24 +07: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
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
WanLinghao
771882bbba
clean unused variables
2018-04-30 16:39:12 +08:00
Di Xu
1c715d51c4
some code change
...
fix wrong required flags
disable the addition of [flags] to the usage, use customized useline
fix function rename
2017-12-25 16:23:38 +08:00
zhengjiajin
56930674c9
bug(cli)fix kubectl config unset unexist map key will add this key, should tell user this key not exist
2017-09-24 22:23:13 +08:00
zhengjiajin
e62bc0b7c8
fix issue(11233)enhance kubectl config command
2017-09-14 17:14:42 +08:00
ymqytw
b776df8a20
move i18n to kubectl/util
2017-08-16 12:27:36 -07:00
shiywang
917a0b6f1b
fix kubectl config return 0 on error
2017-03-16 08:34:51 +08:00
Brendan Burns
25ba561702
Extract strings for translation for the kubectl config family.
2017-01-27 20:31:49 -08:00
Dr. Stefan Schimanski
82826ec273
pkg/util/flag: move to k8s.io/apiserver
2017-01-24 20:56:03 +01:00
deads2k
335ef747d6
mechanical
2017-01-23 10:03:55 -05:00
Klaus Ma
fec8793b5f
Set non-zero exit code on failures for kubectl.
2016-11-12 07:40:54 -05:00
Fabiano Franz
f6d1ac72a0
Use our own normalizers for cmd examples and descriptions
2016-10-17 11:49:55 -02:00
Andrey Kurilin
91cace347d
Fix various typos in kubectl
2016-08-02 19:51:51 +03:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Michael Rubin
760b04e294
Use dedent for the kubectl commands
...
The one side effect is that for the "kubectl help" commands a newline
is prepended to output, which will alter the yaml output.
Here we use dedent to format the code to match the output.
hack/update-generated-docs.sh has been run and the affected files have
been added.
Note: for describe.go we added a period to the end of an output message.
2016-06-26 22:51:14 -07:00
CJ Cullen
86293810af
Move ModifyConfig (and some related functions) into the clientcmd pkg.
2016-05-07 18:15:18 -07:00
petervo
4f9d3ace5d
kubectl: Allow []byte config fields to be set by the cli
...
Allows []byte config fields such as 'certificate-authority-data'
to be set using `kubectl config set` commands.
2016-04-22 15:53:24 -07:00
hurf
c4dc056105
Improve message from kubectl config
...
1.use Fprintf instead of Printf
2.output simple success messages
3.lowercase all error messages
2015-09-23 16:10:21 +08:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
deads2k
c5ef83b29b
relativize paths in kubeconfig files
2015-07-30 14:57:38 -04:00
deads2k
55f574c267
switch kubeconfig types to internal map[string]*struct
2015-07-30 14:57:38 -04:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
deads2k
de4be5422c
change kubeconfig loading order
2015-04-16 13:05:09 -04:00
deads2k
b2e3f2185e
make kubectl config behave more expectedly
2015-04-09 15:43:57 -04:00
Jeff Lowdermilk
a5746c9a0e
Fix md generation for kubectl docs
...
Display usage string, not long help, as code, remove angle brackets from
output (.md interprets as tags and hides).
2015-03-11 16:42:40 -07:00
deads2k
2dcaab75f5
allow dots in config set
2015-02-13 13:11:42 -05:00
fabianofranz
de14a6ff08
Fix typos
2015-02-02 14:25:00 -02:00
deads2k
b51a717f6e
add kubectl config
2015-01-13 16:19:57 -05:00