kubectl/pkg/cmd
Will Daly bfae4f6bfd kubectl: add unit tests for kubectl debug profiles
Unit test netadmin profile preserves existing capabilities.
Unit test debug profiles in TestGenerateNodeDebugPod
Unit test debug profiles in TestGeneratePodCopyWithDebugContainer
Organize Go imports in unit tests

Signed-off-by: Will Daly <widaly@microsoft.com>

Kubernetes-commit: 21e8d2958190e9813fe1122d1e7a91e8143a5193
2023-02-16 06:38:12 -08: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 Removes kube-openapi dependency from Patcher 2023-01-09 19:13:30 -08:00
attach Support cancelable SPDY executor stream 2022-08-24 10:21:35 +08:00
auth Extend example to contain --as==... 2023-01-29 19:39:58 +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 kubectl: remove unnecessary TODO annotations 2022-11-17 09:39:30 +08:00
create Refactor to simplify factory Validator 2022-12-11 18:20:28 -08:00
debug kubectl: add unit tests for kubectl debug profiles 2023-02-16 06:38:12 -08: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 Use label selector for filtering out resources when pruning. 2023-01-05 13:55:39 -06: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 Unexport OpenAPIGetter factory method 2022-12-12 16:01:05 -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 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 Remove ioutil from kubectl 2022-07-30 22:31:16 +09: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 kubectl: use v2 for hpa 2023-01-06 23:45:54 -05:00
top Remove ioutil from kubectl 2022-07-30 22:31:16 +09:00
util Refactor validation files into openapi/validation 2023-01-09 15:59:41 -08: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 i18n: Fix bug where package-level variables are not translated. 2022-11-29 23:09:57 -05:00
cmd_test.go Remove ioutil from kubectl 2022-07-30 22:31:16 +09: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