kubectl/pkg/cmd
Stephen Kitt cfd2169f88 cli: replace intstr.FromInt with intstr.FromInt32
This touches cases where FromInt() is used on numeric constants, or
values which are already int32s, or int variables which are defined
close by and can be changed to int32s with little impact.

Signed-off-by: Stephen Kitt <skitt@redhat.com>

Kubernetes-commit: 45836971f27ca70cd7742e8ee66e99e3c648cf9f
2023-03-14 16:17:48 +01:00
..
annotate Changing annotate PrintFlags from annotate to annotated 2023-05-16 14:39:15 +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 cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01:00
debug Fix: Restricted profile comply with PSS (#117543) 2023-05-24 20:16:49 +09: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 Remove repeated info 2023-04-24 10:22:08 +05:30
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 cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01: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 cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01: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 add no resources found message to rollout-status command (#117884) 2023-05-11 23:28:58 +00:00
run cli: replace intstr.FromInt with intstr.FromInt32 2023-03-14 16:17:48 +01: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 Simplify plugin resolution check function 2023-05-15 08:51:46 +03:00
cmd_test.go rename err to lookupErr 2023-05-15 16:41:54 +02: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