kubectl/pkg/cmd
Arda Güçlü 5de8e8f539 kubectl events: Support fully qualified names for --for flag
Users can pass resources into `kubectl events` command via `--for` flag,
if they have desire to only get events for the resource they specify.

However, current `kubectl events` does not support passing fully qualified
names(e.g. `replicasets.apps`, `cronjobs.v1.batch`, etc.). This PR adds support
for this.

Kubernetes-commit: 457bb58ebbf5a863ce30f51c53a84bc41c2380dc
2023-03-31 12:34:00 +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 Use standard *.kubernetes.io instead of *.k8s.io for ApplySet 2023-03-20 18:21:04 -04:00
attach Support cancelable SPDY executor stream 2022-08-24 10:21:35 +08:00
auth Promote whoami kubectl command 2023-03-12 15:24:31 +01: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 cmd/get: Remove cmd argument from Run() 2022-12-23 14:56:59 -05:00
create rolebinding often used for serviceaccount (#107124) 2023-03-07 16:59:35 +00:00
debug Not share process namespace if user explicitly disables it 2023-03-08 11:58:28 +03: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 kubectl diff: refactor tracker into a separate type 2023-03-14 12:06:44 +00: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 kubectl events: Support fully qualified names for --for flag 2023-03-31 12:34:00 +03:00
exec kubectl exec: return descriptive error message when multi resource passed 2022-12-02 14:05:11 +03:00
explain enable openapiv3 by default 2023-03-08 13:15:56 -08: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 Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05: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 Allow conformant CRDs to be ApplySet parents 2023-03-07 11:29:50 -05:00
top Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
util kubectl: Change subresource flag to beta 2023-03-14 21:44:32 +05:30
version Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05:00
wait kubectl wait: wire generic context (#114574) 2022-12-23 08:15:57 +00:00
alpha.go Promote whoami kubectl command 2023-03-12 15:24:31 +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