1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2025-06-14 18:53:35 +00:00

rebase: update kubernetes dep to 1.24.0

As kubernetes 1.24.0 is released, updating
kubernetes dependencies to 1.24.0

updates: 

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna
2022-05-05 08:17:06 +05:30
committed by mergify[bot]
parent fc1529f268
commit c4f79d455f
959 changed files with 80055 additions and 27456 deletions
go.modgo.sum
vendor
github.com
PuerkitoBio
bits-and-blooms
blang
cyphar
docker
distribution
emicklei
go-openapi
google
josharian
mailru
munnerz
opencontainers
spf13
golang.org
google.golang.org
genproto
googleapis
api
k8s.io
api
admission
admissionregistration
apiserverinternal
apps
authentication
authorization
autoscaling
batch
certificates
coordination
core
discovery
events
extensions
flowcontrol
networking
node
policy
rbac
scheduling
storage
apiextensions-apiserver
apimachinery
apiserver
client-go
applyconfigurations
admissionregistration
apiserverinternal
apps
autoscaling
batch
certificates
coordination
core
discovery
events
extensions
flowcontrol
internal
meta
networking
node
policy
rbac
scheduling
storage
discovery
informers
kubernetes
listers
openapi
pkg
plugin
pkg
client
auth
rest
tools
transport
util
cloud-provider
component-base
kube-openapi
kubelet
pkg
apis
stats
v1alpha1
kubernetes
pkg
test
e2e
framework
storage
testing-manifests
README.md
cluster-dns
embed.go
flexvolume
guestbook
kubectl
podrbd-storage-class.yamlsample-device-plugin.yaml
scheduling
statefulset
storage-csi
utils
mount-utils
pod-security-admission
utils
clock
pointer
strings
slices
modules.txt
sigs.k8s.io
json
internal

44
vendor/github.com/josharian/intern/intern.go generated vendored Normal file

@ -0,0 +1,44 @@
// Package intern interns strings.
// Interning is best effort only.
// Interned strings may be removed automatically
// at any time without notification.
// All functions may be called concurrently
// with themselves and each other.
package intern
import "sync"
var (
pool sync.Pool = sync.Pool{
New: func() interface{} {
return make(map[string]string)
},
}
)
// String returns s, interned.
func String(s string) string {
m := pool.Get().(map[string]string)
c, ok := m[s]
if ok {
pool.Put(m)
return c
}
m[s] = s
pool.Put(m)
return s
}
// Bytes returns b converted to a string, interned.
func Bytes(b []byte) string {
m := pool.Get().(map[string]string)
c, ok := m[string(b)]
if ok {
pool.Put(m)
return c
}
s := string(b)
m[s] = s
pool.Put(m)
return s
}