Merge pull request #120008 from skitt/drop-intstr-ptr-wrappers

Use ptr.To to retrieve intstr addresses

Kubernetes-commit: 33c5bd631d990f907f89f66cdf8088d252ab251b
This commit is contained in:
Kubernetes Publisher 2023-09-09 07:24:09 -07:00
commit 6498c292a2
2 changed files with 19 additions and 19 deletions

18
go.mod
View File

@ -5,10 +5,10 @@ module k8s.io/sample-controller
go 1.20 go 1.20
require ( require (
k8s.io/api v0.0.0-20230907022840-7f63b7b88cb6 k8s.io/api v0.0.0-20230909181734-5e9982075c8d
k8s.io/apimachinery v0.0.0-20230907021858-82362bc34ae0 k8s.io/apimachinery v0.0.0-20230909181434-fd8daa85285e
k8s.io/client-go v0.0.0-20230908182338-a52e8a122e1b k8s.io/client-go v0.0.0-20230909182134-a73949f10aab
k8s.io/code-generator v0.0.0-20230907021158-6699f387e934 k8s.io/code-generator v0.0.0-20230909142409-71364b5549ac
k8s.io/klog/v2 v2.100.1 k8s.io/klog/v2 v2.100.1
) )
@ -51,15 +51,15 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d // indirect k8s.io/gengo v0.0.0-20220902162205-c0856e24416d // indirect
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect sigs.k8s.io/yaml v1.3.0 // indirect
) )
replace ( replace (
k8s.io/api => k8s.io/api v0.0.0-20230907022840-7f63b7b88cb6 k8s.io/api => k8s.io/api v0.0.0-20230909181734-5e9982075c8d
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230907021858-82362bc34ae0 k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20230909181434-fd8daa85285e
k8s.io/client-go => k8s.io/client-go v0.0.0-20230908182338-a52e8a122e1b k8s.io/client-go => k8s.io/client-go v0.0.0-20230909182134-a73949f10aab
k8s.io/code-generator => k8s.io/code-generator v0.0.0-20230907021158-6699f387e934 k8s.io/code-generator => k8s.io/code-generator v0.0.0-20230909142409-71364b5549ac
) )

20
go.sum
View File

@ -143,14 +143,14 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
k8s.io/api v0.0.0-20230907022840-7f63b7b88cb6 h1:W8rAlNcUN4dlFStbEcb4bBL6q3fiGpaASwBIrB8z0j0= k8s.io/api v0.0.0-20230909181734-5e9982075c8d h1:NhFYigU6iHooWyRcpezQ458G/u/tOb484+06DGAmUOw=
k8s.io/api v0.0.0-20230907022840-7f63b7b88cb6/go.mod h1:rqX2Br9C/FTnJUAHBfcHaCFVHzuegfzLBgxB8VTEhrI= k8s.io/api v0.0.0-20230909181734-5e9982075c8d/go.mod h1:eD/xLPFoKmk38TsdSoZjgMTIqBBIquVFCBF/vDMzAbw=
k8s.io/apimachinery v0.0.0-20230907021858-82362bc34ae0 h1:tzU1AperxkpvBJuXbU9F1az4/HfUXiMUIYBYeBfAml0= k8s.io/apimachinery v0.0.0-20230909181434-fd8daa85285e h1:6zC7lfpiLOlGxE9qAFnwTcJ3bEqlKKWWaVxAZr6edYo=
k8s.io/apimachinery v0.0.0-20230907021858-82362bc34ae0/go.mod h1:IBT3vBDYP6iFVwc5TyswcA1EzJ75ia8ZvP1xinRgUNo= k8s.io/apimachinery v0.0.0-20230909181434-fd8daa85285e/go.mod h1:PdcNQGTeFDzS6zavrEgNmA2CJm+g27ZPKhnUpRfaNek=
k8s.io/client-go v0.0.0-20230908182338-a52e8a122e1b h1:zZ/Nt9GD5wQKoHXxk1RL4LtX9IJXJpOBYd6HC2LxnLU= k8s.io/client-go v0.0.0-20230909182134-a73949f10aab h1:w/MUuxYXPL9bVZmAswHDagqxQF/6jgY1XjADHBMSEQs=
k8s.io/client-go v0.0.0-20230908182338-a52e8a122e1b/go.mod h1:+5WKx21hGhpg/Ng+BER5EUbLQaAqsKTfFCn7Owe4GhQ= k8s.io/client-go v0.0.0-20230909182134-a73949f10aab/go.mod h1:qaThK3dAVeHJKxb7mjB7U3EbGaaGzemzRYp4Fm8ZFKI=
k8s.io/code-generator v0.0.0-20230907021158-6699f387e934 h1:zdYyuCh5AUsPeaamyEPstLx/rRxswD5LE3i3j63e6TE= k8s.io/code-generator v0.0.0-20230909142409-71364b5549ac h1:lEsW7XnFHBq1pgQRZqv5IaTus0XJ12ahqqL/sDykqFI=
k8s.io/code-generator v0.0.0-20230907021158-6699f387e934/go.mod h1:C8qWJMcjl73O6WdU+XlD6tibOvogaO7ux7oA2FSrwfw= k8s.io/code-generator v0.0.0-20230909142409-71364b5549ac/go.mod h1:C8qWJMcjl73O6WdU+XlD6tibOvogaO7ux7oA2FSrwfw=
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d h1:U9tB195lKdzwqicbJvyJeOXV7Klv+wNAWENRnXEGi08= k8s.io/gengo v0.0.0-20220902162205-c0856e24416d h1:U9tB195lKdzwqicbJvyJeOXV7Klv+wNAWENRnXEGi08=
k8s.io/gengo v0.0.0-20220902162205-c0856e24416d/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= k8s.io/gengo v0.0.0-20220902162205-c0856e24416d/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y= k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
@ -158,8 +158,8 @@ k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ=
k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9/go.mod h1:wZK2AVp1uHCp4VamDVgBP2COHZjqD1T68Rf0CM3YjSM=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 h1:qY1Ad8PODbnymg2pRbkyMT/ylpTrCM8P2RJ0yroCyIk= k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSnlTLKgpAAttJvpI=
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 h1:UZbZAZfX0wV2zr7YZorDz6GXROfDFj6LvqCRm4VUVKk= sigs.k8s.io/structured-merge-diff/v4 v4.3.0 h1:UZbZAZfX0wV2zr7YZorDz6GXROfDFj6LvqCRm4VUVKk=