kubectl/pkg/cmd
Chris Bandy facdb16b53 Replace os.Setenv with testing.T.Setenv in tests
T.Setenv ensures that the environment is returned to its prior state
when the test ends. It also panics when called from a parallel test to
prevent racy test interdependencies.

Kubernetes-commit: 2181eea48435310d1b6e366ea8db2968c4941b93
2023-04-15 10:09:47 -05:00
..
annotate Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
apiresources Fix typo in kubectl api-resources help text for --categories flag 2023-04-25 20:26:10 -04:00
apply Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
attach Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
auth KEP-3325: Promote SelfSubjectReview to GA 2023-05-02 01:26:20 +02:00
autoscale Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
certificates Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
clusterinfo Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
completion Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
config Replace uses of diff.ObjectDiff with cmp.Diff 2023-03-23 11:29:01 -07:00
cp Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
create Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
debug Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
delete Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
describe Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
diff Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
drain Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
edit Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
events Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
exec Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
explain Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
expose Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
get Replace uses of ObjectReflectDiff with cmp.Diff 2023-03-23 11:34:03 -07:00
help Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
kustomize Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
label Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
logs Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
options replace deprecated setoutput 2022-04-05 14:04:22 +08:00
patch Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
plugin Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
portforward Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
proxy Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
replace Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
rollout Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
run Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
scale Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
set Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
taint Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
testing Allow conformant CRDs to be ApplySet parents 2023-03-07 11:29:50 -05:00
top More migrations from genericclioptions to genericiooptions 2023-04-05 15:14:51 +03:00
util Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05:00
version Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
wait Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
alpha.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
cmd.go Migrate genericclioptions.IOStreams usage to genericiooptions 2023-04-05 14:07:46 +03:00
cmd_test.go Replace os.Setenv with testing.T.Setenv in tests 2023-04-15 10:09:47 -05: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