mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
Changes to accommodate client-go changes and kube vendor update
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
4c96ad3c85
commit
34fc1d847e
go.modgo.summodules.txt
pkg
vendor
github.com
BurntSushi
toml
cespare
xxhash
evanphx
json-patch
golang
protobuf
proto
protoc-gen-go
descriptor
ptypes
any
duration
timestamp
wrappers
google
grpc-ecosystem
go-grpc-middleware
hashicorp
golang-lru
imdario
kubernetes-csi
csi-lib-utils
onsi
ginkgo
gomega
prometheus
client_golang
prometheus
client_model
common
procfs
go.uber.org
atomic
multierr
tools
zap
golang.org
x
crypto
lint
net
sys
cpu
unix
README.mderrors_freebsd_386.goerrors_freebsd_amd64.goerrors_freebsd_arm64.gomkall.shmkerrors.shsyscall_freebsd.gosyscall_freebsd_386.gosyscall_freebsd_amd64.gosyscall_freebsd_arm.gosyscall_freebsd_arm64.gosyscall_illumos.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_amd64.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_mips64x.gosyscall_linux_mipsx.gosyscall_linux_ppc64x.gosyscall_linux_riscv64.gosyscall_linux_s390x.gosyscall_linux_sparc64.gosyscall_openbsd.gosyscall_unix.gozerrors_freebsd_386.gozerrors_freebsd_amd64.gozerrors_freebsd_arm.gozerrors_freebsd_arm64.gozerrors_linux.gozerrors_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_mips.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_mipsle.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_riscv64.gozerrors_linux_s390x.gozerrors_linux_sparc64.gozsyscall_freebsd_386.gozsyscall_freebsd_amd64.gozsyscall_freebsd_arm64.gozsyscall_illumos_amd64.gozsyscall_linux.gozsyscall_linux_386.gozsyscall_linux_amd64.gozsyscall_linux_arm.gozsyscall_linux_arm64.gozsyscall_linux_mips.gozsyscall_linux_mips64.gozsyscall_linux_mips64le.gozsyscall_linux_mipsle.gozsyscall_linux_ppc64.gozsyscall_linux_ppc64le.gozsyscall_linux_riscv64.gozsyscall_linux_s390x.gozsyscall_linux_sparc64.gozsyscall_openbsd_386.gozsyscall_openbsd_amd64.gozsyscall_openbsd_arm.gozsyscall_openbsd_arm64.gozsysnum_linux_386.gozsysnum_linux_amd64.gozsysnum_linux_arm.gozsysnum_linux_arm64.gozsysnum_linux_mips.gozsysnum_linux_mips64.gozsysnum_linux_mips64le.gozsysnum_linux_mipsle.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_riscv64.gozsysnum_linux_s390x.gozsysnum_linux_sparc64.goztypes_freebsd_386.goztypes_freebsd_amd64.goztypes_freebsd_arm.goztypes_freebsd_arm64.goztypes_linux.goztypes_linux_386.goztypes_linux_amd64.goztypes_linux_arm.goztypes_linux_arm64.goztypes_linux_mips.goztypes_linux_mips64.goztypes_linux_mips64le.goztypes_linux_mipsle.goztypes_linux_ppc64.goztypes_linux_ppc64le.goztypes_linux_riscv64.goztypes_linux_s390x.goztypes_linux_sparc64.go
tools
AUTHORSCONTRIBUTORSLICENSEPATENTS
go
analysis
ast
buildutil
gcexportdata
internal
gcimporter
bexport.gobimport.goexportdata.gogcimporter.goiexport.goiimport.gonewInterface10.gonewInterface11.go
packagesdriver
packages
types
internal
google.golang.org
genproto
googleapis
rpc
status
gopkg.in
honnef.co
go
tools
LICENSE-THIRD-PARTY
arg
cmd
staticcheck
config
deprecated
facts
functions
go
internal
lint
loader
printf
simple
ssa
LICENSEblockopt.gobuilder.goconst.gocreate.godoc.godom.goemit.gofunc.goidentical.goidentical_17.golift.golvalue.gomethods.gomode.goprint.gosanity.gosource.gossa.gostaticcheck.conftestmain.goutil.gowrappers.gowrite.go
ssautil
staticcheck
stylecheck
unused
version
k8s.io
api
admission
admissionregistration
apps
auditregistration
v1alpha1
authentication
authorization
autoscaling
v1
v2beta1
v2beta2
batch
certificates
coordination
core
v1
discovery
events
v1beta1
extensions
v1beta1
flowcontrol
networking
v1
v1beta1
node
policy
rbac
v1
v1alpha1
v1beta1
scheduling
settings
v1alpha1
storage
apiextensions-apiserver
pkg
features
apimachinery
pkg
api
apis
meta
conversion
runtime
util
clock
errors
httpstream
intstr
net
validation
wait
watch
apiserver
pkg
admission
apis
features
server
egressselector
storage
util
webhook
client-go
discovery
dynamic
informers
admissionregistration
v1
v1beta1
apps
v1
v1beta1
v1beta2
auditregistration
v1alpha1
autoscaling
batch
certificates
v1beta1
coordination
core
v1
discovery
events
v1beta1
extensions
flowcontrol
generic.gonetworking
node
policy
rbac
v1
v1alpha1
v1beta1
scheduling
settings
v1alpha1
storage
kubernetes
clientset.go
typed
admissionregistration
v1
v1beta1
apps
v1
v1beta1
v1beta2
auditregistration
v1alpha1
authentication
v1
v1beta1
authorization
v1
generated_expansion.golocalsubjectaccessreview.golocalsubjectaccessreview_expansion.goselfsubjectaccessreview.goselfsubjectaccessreview_expansion.goselfsubjectrulesreview.goselfsubjectrulesreview_expansion.gosubjectaccessreview.gosubjectaccessreview_expansion.go
v1beta1
autoscaling
batch
certificates
coordination
core
v1
componentstatus.goconfigmap.goendpoints.goevent.goevent_expansion.gogenerated_expansion.golimitrange.gonamespace.gonamespace_expansion.gonode.gonode_expansion.gopersistentvolume.gopersistentvolumeclaim.gopod.gopod_expansion.gopodtemplate.goreplicationcontroller.goresourcequota.gosecret.goservice.goserviceaccount.goserviceaccount_expansion.go
discovery
events
v1beta1
extensions
v1beta1
flowcontrol
networking
node
policy
rbac
v1
v1alpha1
v1beta1
scheduling
settings
v1alpha1
storage
listers
apps
core
extensions
networking
storage
metadata
plugin
pkg
client
auth
rest
scale
tools
cache
controller.godelta_fifo.goexpiration_cache.gofifo.goindex.golistwatch.gomutation_detector.goreflector.goshared_informer.gostore.gothread_safe_store.go
clientcmd
metrics
pager
record
transport
util
cloud-provider
component-base
config
metrics
cri-api
csi-translation-lib
kube-scheduler
kubectl
pkg
scale
kubernetes
pkg
apis
controller
.import-restrictionsBUILDclient_builder.goclient_builder_dynamic.gocontroller_utils.go
deployment
nodelifecycle
util
volume
persistentvolume
util
scheduling
features
kubelet
apis
config
container
dockershim
metrics
events
lifecycle
metrics
sysctl
types
scheduler
algorithm
apis
framework
plugins
helper
nodeaffinity
nodename
nodeports
noderesources
v1alpha1
listers
metrics
nodeinfo
util
volumebinder
serviceaccount
util
node
volume
BUILDOWNERSplugins.go
util
volume.govolume_linux.govolume_unsupported.gotest
e2e
framework
.import-restrictionsBUILDOWNERS
auth
exec_util.goexpect.goframework.goget-kubemark-resource-usage.goginkgowrapper
google_compute.gokubectl
log.golog
metrics
node
nodes_util.gopod
pods.goprofile_gatherer.gopsp.gopv
rc_util.goresource
resource_usage_gatherer.goskipper
ssh
suites.gotest_context.goutil.goutils
utils
sigs.k8s.io
apiserver-network-proxy
konnectivity-client
structured-merge-diff
v3
yaml
6
vendor/github.com/golang/protobuf/proto/text.go
generated
vendored
6
vendor/github.com/golang/protobuf/proto/text.go
generated
vendored
@ -456,6 +456,8 @@ func (tm *TextMarshaler) writeStruct(w *textWriter, sv reflect.Value) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var textMarshalerType = reflect.TypeOf((*encoding.TextMarshaler)(nil)).Elem()
|
||||
|
||||
// writeAny writes an arbitrary field.
|
||||
func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Properties) error {
|
||||
v = reflect.Indirect(v)
|
||||
@ -519,8 +521,8 @@ func (tm *TextMarshaler) writeAny(w *textWriter, v reflect.Value, props *Propert
|
||||
// mutating this value.
|
||||
v = v.Addr()
|
||||
}
|
||||
if etm, ok := v.Interface().(encoding.TextMarshaler); ok {
|
||||
text, err := etm.MarshalText()
|
||||
if v.Type().Implements(textMarshalerType) {
|
||||
text, err := v.Interface().(encoding.TextMarshaler).MarshalText()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user