kubectl/pkg/cmd
Arda Güçlü d3f76f431e Enable plugin resolution as subcommand for selected builtin commands (#116293)
* Enable plugin resolution as subcommand for selected builtin commands

This PR adds external plugin resolution as subcommand for selected builtin
commands if subcommand does not exist as builtin.

In it's alpha stage, this will only be enabled for create command and
this feature is hidden behind `KUBECTL_ENABLE_CMD_SHADOW` environment variable.

* Rename parameter to exactMatch to better reflect

Kubernetes-commit: a901bb630b5a353898c1b35df582a7faeef160a0
2023-03-09 16:16:01 +03:00
..
annotate Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
apiresources (kubectl apiresources): Use restclientgetter instead cmdutil.Factory 2022-08-24 09:52:10 +03:00
apply Feedback and linter 2023-03-03 11:50:16 -05:00
attach Support cancelable SPDY executor stream 2022-08-24 10:21:35 +08:00
auth KEP-3325: Promote SelfSubjectReview to Beta (#116274) 2023-03-09 04:56:40 +00:00
autoscale Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
certificates Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
clusterinfo Clean up testing code of kubectl cmd section 2022-10-27 22:18:42 -04:00
completion Enable shell completion descriptions for bash 2022-11-04 16:57:24 -04:00
config Update redacting functionality to redact all sensitive info in config when printing with view (#109189) 2022-11-08 18:06:48 +00:00
cp kubectl: remove unnecessary TODO annotations 2022-11-17 09:39:30 +08:00
create rolebinding often used for serviceaccount (#107124) 2023-03-07 16:59:35 +00:00
debug staging: fix "go vet" issues 2023-02-28 21:22:40 +01:00
delete Exports WarningPrinter field in DeleteOptions 2023-01-09 17:14:16 -08:00
describe Refactors describe command to split flags from options 2022-09-23 12:16:43 +05:30
diff cleanup: replace deprecated sets.String 2023-03-01 09:05:59 -05:00
drain Exports WarningPrinter field in DeleteOptions 2023-01-09 17:14:16 -08:00
edit Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
events Move events command to top level 2022-11-10 14:32:14 +01:00
exec kubectl exec: return descriptive error message when multi resource passed 2022-12-02 14:05:11 +03:00
explain Introduce CLI for ApplySet-based pruning (#115979) 2023-02-27 12:20:40 -05:00
expose Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
get Removes deprecated kubectl openapi column printing 2023-01-10 15:30:04 -08: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 Unexport OpenAPIGetter factory method 2022-12-12 16:01:05 -08:00
logs Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
options replace deprecated setoutput 2022-04-05 14:04:22 +08:00
patch Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
plugin Enable plugin resolution as subcommand for selected builtin commands (#116293) 2023-03-09 16:16:01 +03: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 Refactor to simplify factory Validator 2022-12-11 18:20:28 -08:00
rollout Fix shadowing lint error 2023-01-17 12:09:24 -05:00
run Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
scale Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
set Exports WarningPrinter field in DeleteOptions 2023-01-09 17:14:16 -08:00
taint Removes unnecessary dry run verifier 2022-12-05 16:25:12 -08:00
testing Introduce CLI for ApplySet-based pruning (#115979) 2023-02-27 12:20:40 -05:00
top Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
util Enable plugin resolution as subcommand for selected builtin commands (#116293) 2023-03-09 16:16:01 +03:00
version Update kubectl kustomize to kyaml/v0.13.9, cmd/config/v0.10.9, api/v0.12.1, kustomize/v4.5.7 (#111606) 2022-08-03 04:48:50 +00:00
wait kubectl wait: wire generic context (#114574) 2022-12-23 08:15:57 +00:00
alpha.go Move events command to top level 2022-11-10 14:32:14 +01:00
cmd.go Enable plugin resolution as subcommand for selected builtin commands (#116293) 2023-03-09 16:16:01 +03:00
cmd_test.go Enable plugin resolution as subcommand for selected builtin commands (#116293) 2023-03-09 16:16:01 +03:00
profiling.go Add Close() for profile 2021-12-15 21:03:34 +08:00
skiplookerr_go118.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00
skiplookerr_go119.go Adjust for os/exec changes in 1.19 2022-07-22 17:42:11 -04:00