kubectl/pkg/cmd
Arda Güçlü aa46caeecd Define NoOptDefVal for validate flag
validate flag does not have default value defined when there is no
parameter passed, therefore it tries to use next irrelevant flag.

This PR defines NoOptDefVal for validate flag which is set "strict".

Kubernetes-commit: 0245e74590a658ea911f1e5cacd270960883af2d
2022-05-06 10:25:40 +03:00
..
annotate Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
apiresources update kubectl api-resources help info 2022-06-06 10:21:17 +08:00
apply Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
attach Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
auth add a warning printer in cli-runtime to coordinate warning style 2022-02-18 20:33:38 +08:00
autoscale Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
certificates Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
clusterinfo fix defer in for loop, maybe resource leak 2022-02-20 11:39:11 +08:00
completion include powershell in short description for kubectl completion 2022-05-03 20:56:41 -05:00
config Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
cp Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
create Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
debug add a warning printer in cli-runtime to coordinate warning style 2022-02-18 20:33:38 +08:00
delete add a warning printer in cli-runtime to coordinate warning style 2022-02-18 20:33:38 +08:00
describe Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
diff Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
drain add a warning printer in cli-runtime to coordinate warning style 2022-02-18 20:33:38 +08:00
edit updates for kubectl generated ref docs 2022-03-25 12:31:12 -07:00
events 'kubectl events' command (#99557) 2021-10-29 17:13:38 +00:00
exec Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
explain Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
expose Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
get Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
help Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
kustomize Manually update kustomize attachment points. 2021-07-01 17:10:28 -07:00
label Do not raise an error proposing to use '--overwrite' when labeling with the same value (#105936) 2022-05-04 02:17:49 +02:00
logs Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
options cleanup: use i18n.T on all command descriptions 2020-10-09 13:16:13 +02:00
patch Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
plugin Adding an example for kubectl plugin list 2021-11-22 13:21:21 -05:00
portforward Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
proxy Minor adjustments to descriptions and example text 2021-07-06 15:05:26 -04:00
replace Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
rollout kubectl rollout: support recursive flag for rollout status 2022-03-17 15:41:10 -04:00
run kubectl: Remove deprecated flags 2022-03-19 15:32:06 +08:00
scale Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
set add a warning printer in cli-runtime to coordinate warning style 2022-02-18 20:33:38 +08:00
taint add server-side validation support to kubectl 2022-03-09 14:52:32 +00:00
testing Add unit tests for api-resources and api-versions commands 2022-05-14 11:06:49 -04:00
top Refactor completion code into its own package 2022-03-24 09:06:05 -04:00
util Define NoOptDefVal for validate flag 2022-05-06 10:25:40 +03:00
version Set validate functions requiring no parameters for all commands 2022-05-17 11:38:20 +03:00
wait Added JSONPath wait for kubectl wait 2021-10-04 16:19:08 -04:00
alpha.go 'kubectl events' command (#99557) 2021-10-29 17:13:38 +00:00
cmd.go update kubectl doc url 2022-05-05 21:27:52 +08:00
cmd_test.go Switch from arguments to an input structure for kubectl command 2021-11-04 16:29:08 +01:00
profiling.go Add Close() for profile 2021-12-15 21:03:34 +08:00