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

vendor update for CSI 0.3.0

This commit is contained in:
gman
2018-07-18 16:47:22 +02:00
parent 6f484f92fc
commit 8ea659f0d5
6810 changed files with 438061 additions and 193861 deletions
Gopkg.lockGopkg.toml
vendor
github.com
container-storage-interface
golang
protobuf
.gitignore.travis.ymlMake.protobufMakefileREADME.md
conformance
descriptor
jsonpb
proto
protoc-gen-go
ptypes
regenerate.sh
kubernetes-csi
golang.org
x
net
CONTRIBUTING.md
dns
html
http
http2
icmp
internal
ipv4
ipv6
netutil
proxy
publicsuffix
route
trace
webdav
websocket
sys
CONTRIBUTING.md
cpu
plan9
unix
asm_dragonfly_amd64.scap_freebsd.gocreds_test.godev_darwin_test.godev_dragonfly_test.godev_linux_test.godev_netbsd_test.godev_openbsd_test.godev_solaris_test.goexample_test.gofcntl.gofcntl_linux_32bit.gogccgo_c.cioctl.go
linux
mkerrors.shmkpost.gomksysctl_openbsd.plopenbsd_pledge.gosyscall.gosyscall_bsd.gosyscall_darwin.gosyscall_darwin_test.gosyscall_dragonfly.gosyscall_freebsd.gosyscall_freebsd_test.gosyscall_linux.gosyscall_linux_386.gosyscall_linux_amd64.gosyscall_linux_arm.gosyscall_linux_arm64.gosyscall_linux_gc_386.gosyscall_linux_gccgo_386.gosyscall_linux_gccgo_arm.gosyscall_linux_mips64x.gosyscall_linux_mipsx.gosyscall_linux_ppc64x.gosyscall_linux_s390x.gosyscall_linux_sparc64.gosyscall_linux_test.gosyscall_netbsd.gosyscall_openbsd.gosyscall_openbsd_amd64.gosyscall_solaris.gosyscall_solaris_amd64.gosyscall_unix.gosyscall_unix_test.gotypes_netbsd.goxattr_test.gozerrors_darwin_386.gozerrors_darwin_amd64.gozerrors_darwin_arm.gozerrors_darwin_arm64.gozerrors_dragonfly_amd64.gozerrors_freebsd_386.gozerrors_freebsd_amd64.gozerrors_freebsd_arm.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_s390x.gozerrors_linux_sparc64.gozerrors_netbsd_386.gozerrors_netbsd_amd64.gozerrors_netbsd_arm.gozerrors_openbsd_386.gozerrors_openbsd_amd64.gozerrors_openbsd_arm.gozerrors_solaris_amd64.gozsyscall_darwin_386.gozsyscall_darwin_amd64.gozsyscall_darwin_arm.gozsyscall_darwin_arm64.gozsyscall_dragonfly_amd64.gozsyscall_freebsd_386.gozsyscall_freebsd_amd64.gozsyscall_freebsd_arm.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_s390x.gozsyscall_linux_sparc64.gozsyscall_netbsd_386.gozsyscall_netbsd_amd64.gozsyscall_netbsd_arm.gozsyscall_openbsd_386.gozsyscall_openbsd_amd64.gozsyscall_openbsd_arm.gozsyscall_solaris_amd64.gozsysctl_openbsd_386.gozsysctl_openbsd_amd64.gozsysctl_openbsd_arm.gozsysnum_linux_ppc64.gozsysnum_linux_ppc64le.gozsysnum_linux_s390x.gozsysnum_linux_sparc64.gozsysnum_netbsd_386.gozsysnum_netbsd_amd64.gozsysnum_netbsd_arm.gozsysnum_openbsd_386.gozsysnum_openbsd_amd64.gozsysnum_openbsd_arm.goztypes_darwin_386.goztypes_darwin_amd64.goztypes_darwin_arm.goztypes_darwin_arm64.goztypes_dragonfly_amd64.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_s390x.goztypes_linux_sparc64.goztypes_netbsd_386.goztypes_netbsd_amd64.goztypes_netbsd_arm.goztypes_openbsd_amd64.goztypes_solaris_amd64.go
windows
google.golang.org
genproto
.travis.yml
googleapis
api
appengine
assistant
bigtable
bytestream
cloud
audit
automl
bigquery
billing
dataproc
dialogflow
functions
iot
kms
language
location
ml
oslogin
redis
resourcemanager
runtimeconfig
speech
support
tasks
texttospeech
videointelligence
vision
websecurityscanner
container
datastore
devtools
example
library
firestore
genomics
home
iam
logging
longrunning
monitoring
privacy
pubsub
rpc
spanner
storagetransfer
streetview
type
watcher
protobuf
regen.goregen.sh
grpc
.travis.ymlCONTRIBUTING.md
Documentation
MakefileREADME.mdbackoff.gobalancer.go
balancer
balancer_conn_wrappers.gobalancer_switching_test.gobalancer_test.gobalancer_v1_wrapper.go
benchmark
call.gocall_test.go
channelz
clientconn.goclientconn_test.go
codes
credentials
encoding
envconfig.go
examples
gotutorial.md
helloworld
greeter_client
helloworld
mock_helloworld
oauth
client
server
route_guide
client
mock_routeguide
routeguide
server
rpc_errors
client
server
go16.gogo17.go
grpclb
grpclog
health
interceptor.go
internal
interop
metadata
naming
picker_wrapper.gopicker_wrapper_test.gopickfirst_test.goproxy_test.go
reflection
resolver
resolver_conn_wrapper.goresolver_conn_wrapper_test.gorpc_util.gorpc_util_test.goserver.goserver_test.goservice_config.go
stats
status
stickiness_linkedmap.gostickiness_linkedmap_test.gostickiness_test.gostream.go
stress
client
grpc_testing
metrics_client
test
transport
version.govet.sh
k8s.io
kubernetes
.github
.gitignoreCHANGELOG-1.10.mdCHANGELOG-1.11.mdCHANGELOG.md
Godeps
OWNERSOWNERS_ALIASESSECURITY_CONTACTS
api
build
cluster
BUILD
addons
addon-manager
calico-policy-controller
cluster-loadbalancing
cluster-monitoring
dashboard
device-plugins
nvidia-gpu
dns-horizontal-autoscaler
dns
etcd-empty-dir-cleanup
fluentd-elasticsearch
fluentd-gcp
istio
kube-proxy
metadata-agent
metadata-proxy
metrics-server
node-problem-detector
prometheus
rbac
centos
clientbin.shcommon.sh
gce
get-kube-local.sh
images
juju
kube-down.shkube-up.shkube-util.shkubeadm.shkubectl.sh
kubemark
kubernetes-anywhere
local
log-dump
pre-existing
restore-from-backup.sh
skeleton
test-e2e.shtest-network.shtest-smoke.shupdate-storage-objects.shvalidate-cluster.sh
cmd
clicheck
cloud-controller-manager
controller-manager
gendocs
genkubedocs
genman
genyaml
hyperkube
importverifier
kube-apiserver
kube-controller-manager
kube-proxy
kube-scheduler
kubeadm
.import-restrictionsOWNERS
app
BUILD
apis
cmd
constants
discovery
features
images
kubeadm.go
phases
preflight
util
test
kubectl
kubelet
docs
.generated_docs
admin
api-reference
admissionregistration.k8s.io
apps
batch
certificates.k8s.io
extensions
networking.k8s.io
policy
rbac.authorization.k8s.io
scheduling.k8s.io
settings.k8s.io
storage.k8s.io
v1
man
user-guide
yaml
examples
BUILDOWNERSREADME.md
cloud-controller-manager
cluster-dns
cockroachdb
cpu-manager
elasticsearch
examples_test.go
explorer
guestbook-go
guestbook
guidelines.md
https-nginx
javaee
javaweb-tomcat-sidecar
job
expansions
work-queue-1
work-queue-2
kubectl-container
meteor
mysql-cinder-pd
mysql-wordpress-pd
newrelic-infrastructure
newrelic
nodesjs-mongodb
oms
openshift-origin
persistent-volume-provisioning
phabricator
podsecuritypolicy
runtime-constraints
scheduler-policy-config-with-extender.jsonscheduler-policy-config.json
selenium
sharing-clusters
simple-nginx.md
spark
storage
storm
sysdig-cloud
volumes
aws_ebs
azure_disk
azure_file
cephfs
cinder
fibre_channel
flexvolume
flocker
glusterfs
iscsi
nfs
portworx
quobyte
rbd
scaleio
storageos
vsphere
hack
.golint_failuresBUILDOWNERSbenchmark-go.sh
boilerplate
build-cross.shbuild-go.shbuild-ui.shcherry_pick_pull.sh
cmd
dev-build-and-push.shdev-build-and-up.sh
e2e-internal
e2e-node-test.she2e.goe2e_test.go
gen-swagger-doc
generate-bindata.shgenerate-docs.shget-build.shginkgo-e2e.shgodep-restore.shgodep-save.shgrab-profiles.shimport-restrictions.yamlinstall-etcd.sh
jenkins
lib
list-feature-tests.shlocal-up-cluster.shlookup_pull.py
make-rules
run-in-gopath.shtest-go.shtest-integration.shtest-update-storage-objects.sh
testdata
update-all.shupdate-api-reference-docs.shupdate-bazel.shupdate-cloudprovider-gce.shupdate-codegen.shupdate-generated-device-plugin-dockerized.shupdate-generated-device-plugin.shupdate-generated-docs.shupdate-generated-kms-dockerized.shupdate-generated-kms.shupdate-generated-kubelet-plugin-registration-dockerized.shupdate-generated-kubelet-plugin-registration.shupdate-generated-protobuf-dockerized.shupdate-generated-protobuf.shupdate-generated-runtime-dockerized.shupdate-generated-runtime.shupdate-generated-swagger-docs.shupdate-godep-licenses.shupdate-gofmt.shupdate-openapi-spec.shupdate-staging-godeps-dockerized.shupdate-staging-godeps.shupdate-swagger-spec.shupdate-translations.shupdate-workspace-mirror.shupdate_owners.pyverify-all.shverify-api-groups.shverify-api-reference-docs.shverify-bazel.shverify-boilerplate.shverify-cli-conventions.shverify-cloudprovider-gce.shverify-codegen.shverify-description.shverify-flags-underscore.pyverify-generated-device-plugin.shverify-generated-docs.shverify-generated-files-remake.shverify-generated-files.shverify-generated-kms.shverify-generated-kubelet-plugin-registration.shverify-generated-protobuf.shverify-generated-runtime.shverify-generated-swagger-docs.shverify-godeps.shverify-gofmt.shverify-golint.shverify-govet.shverify-import-boss.shverify-imports.shverify-linkcheck.shverify-no-vendor-cycles.shverify-openapi-spec.shverify-pkg-names.shverify-readonly-packages.shverify-spelling.shverify-staging-godeps.shverify-swagger-spec.shverify-symbols.shverify-test-images.shverify-typecheck.sh
pkg
BUILD
api
apis
abac
admission
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
componentconfig
core
events
extensions
imagepolicy
networking
policy
rbac
scheduling
settings
storage
auth
OWNERS
authorizer
client
clientset_generated
internalclientset
BUILDclientset.godoc.go
fake
scheme
typed
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
networking
policy
rbac
scheduling
settings
storage
informers
leaderelectionconfig
listers
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
extensions
imagepolicy
networking
policy
rbac
scheduling
settings
storage
tests
cloudprovider
OWNERScloud.goplugins.go
providers
aws
azure
cloudstack
fake
gce
openstack
ovirt
photon
vsphere
controller
BUILD
bootstrap
certificates
cloud
controller_ref_manager.gocontroller_ref_manager_test.gocontroller_utils.gocontroller_utils_test.go
cronjob
daemon
deployment
disruption
endpoint
garbagecollector
history
job
namespace
nodeipam
nodelifecycle
podautoscaler
replicaset
replication
resourcequota
route
service
serviceaccount
statefulset
testutil
util
volume
credentialprovider
features
generated
kubeapiserver
kubectl
.import-restrictionsBUILDapply.go
apply
autoscale_test.gobash_comp_utils.go
cmd
BUILDalpha.goannotate.goannotate_test.goapiresources.goapiversions.goapply.goapply_edit_last_applied.goapply_set_last_applied.goapply_test.goapply_view_last_applied.goattach.goattach_test.go
auth
autoscale.gocertificates.goclusterinfo.goclusterinfo_dump.goclusterinfo_dump_test.gocmd.gocmd_printing_test.gocmd_test.gocompletion.go
config
convert.goconvert_test.gocp.gocp_test.gocreate.go
create
create_job.godelete.godelete_flags.godelete_test.godescribe.godescribe_test.godiff.godiff_test.godrain.godrain_test.goedit.goedit_test.goexec.goexec_test.goexplain.goexpose.goexpose_test.go
get
label.golabel_test.gologs.gologs_test.gopatch.gopatch_test.goplugin.goplugin_test.goportforward.goportforward_test.goproxy.goreplace.goreplace_test.gorollingupdate.gorollingupdate_test.go
rollout
run.gorun_test.goscale.go
scalejob
set
taint.gotaint_test.go
templates
testdata
edit
record_editor.shrecord_testcase.shtest_editor.sh
testcase-apply-edit-last-applied-list-fail
testcase-apply-edit-last-applied-list
testcase-apply-edit-last-applied-syntax-error
testcase-apply-edit-last-applied
testcase-create-list-error
testcase-create-list
testcase-edit-error-reedit
testcase-edit-output-patch
testcase-list-errors
testcase-list-record
testcase-list
testcase-not-update-annotation
testcase-schemaless-list
testcase-single-service
testcase-syntax-error
testcase-unknown-field-known-group-kind
testcase-unknown-version-known-group-kind
testcase-update-annotation
testing
top.gotop_node.gotop_node_test.gotop_pod.gotop_pod_test.gotop_test.go
util
version.go
wait
conditions.godelete.godelete_test.godeployment.godeployment_test.go
explain
genericclioptions
history.gokubectl.go
plugins
polymorphichelpers
resource
resource_filter.goresource_filter_test.gorollback.gorolling_updater.gorolling_updater_test.gorollout_status.gorollout_status_test.gorun.goscale.goscale_test.go
scheme
secret.gosecret_for_docker_registry.gosecret_test.goservice_basic_test.gosorter.gosorter_test.go
util
kubelet
BUILD
apis
cadvisor
certificate
checkpoint
checkpointmanager
client
cm
config
configmap
container
dockershim
eviction
gpu
images
kubelet.gokubelet_getters.gokubelet_network.gokubelet_network_test.gokubelet_node_status.gokubelet_node_status_test.gokubelet_pods.gokubelet_pods_test.gokubelet_pods_windows_test.gokubelet_test.gokubelet_volumes.gokubelet_volumes_test.go
kubeletconfig
kuberuntime
lifecycle
logs
metrics
mountpod
network
pod
pod_container_deletor.gopod_workers.go
preemption
prober
remote
rkt
runonce.gorunonce_test.go
secret
server
stats
status
sysctl
token
types
util
volume_host.go
volumemanager
master
printers
proxy
quota
registry
BUILD
admissionregistration
initializerconfiguration
mutatingwebhookconfiguration
rest
validatingwebhookconfiguration
apps
authentication
authorization
localsubjectaccessreview
rest
selfsubjectaccessreview
selfsubjectrulesreview
subjectaccessreview
autoscaling
batch
certificates
core
events
extensions
networking
policy
rbac
registrytest
scheduling
settings
storage
scheduler
BUILDOWNERS
algorithm
algorithmprovider
api
cache
core
factory
metrics
scheduler.goscheduler_test.go
testing
util
volumebinder
security
securitycontext
serviceaccount
ssh
util
volume
BUILD
aws_ebs
azure_dd
azure_file
cephfs
cinder
configmap
csi
downwardapi
fc
flexvolume
flocker
gce_pd
git_repo
glusterfs
host_path
iscsi
local
metrics_du.go
nfs
photon_pd
plugins.go
portworx
projected
quobyte
rbd
scaleio
secret
storageos
testing
util
volume.govolume_linux.govolume_unsupported.go
vsphere_volume
windows
plugin
BUILD
pkg
admission
auth
staging
BUILD
src
k8s.io
api
BUILD
Godeps
SECURITY_CONTACTS
admission
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
imagepolicy
networking
policy
rbac
roundtrip_test.go
scheduling
settings
storage
apiextensions-apiserver
BUILD
Godeps
OWNERSSECURITY_CONTACTS
artifacts
example
examples
hack
main.go
pkg
apis
apiserver
client
cmd
server
controller
features
registry
test
apimachinery
Godeps
SECURITY_CONTACTS
pkg
api
apimachinery
apis
conversion
fields
labels
runtime
test
types
util
version
watch
third_party
forked
golang
apiserver
CONTRIBUTING.md
Godeps
OWNERSSECURITY_CONTACTS
pkg
admission
apis
audit
endpoints
features
registry
server
storage
util
plugin
client-go
.github
Godeps
OWNERSSECURITY_CONTACTS
deprecated-dynamic
discovery
dynamic
examples
create-update-delete-deployment
informers
BUILD
admissionregistration
apps
autoscaling
batch
certificates
core
events
extensions
factory.gogeneric.go
internalinterfaces
networking
policy
rbac
scheduling
settings
storage
kubernetes
BUILDclientset.godoc.go
fake
scheme
typed
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
networking
policy
rbac
scheduling
settings
storage
listers
admissionregistration
apps
authentication
authorization
autoscaling
batch
certificates
core
events
extensions
imagepolicy
networking
policy
rbac
scheduling
settings
storage
pkg
plugin
rest
restmapper
scale
testing
tools
transport
util
code-generator
Godeps
SECURITY_CONTACTS
_examples
apiserver
apis
clientset
informers
listers
crd
cmd
generate-groups.sh
hack
kube-aggregator
Godeps
SECURITY_CONTACTS
artifacts
hack
main.go
pkg
apis
apiserver
client
cmd
server
controllers
registry
metrics
sample-apiserver
BUILD
Godeps
README.mdSECURITY_CONTACTS
artifacts
example
hack
main.go
pkg
admission
plugin
banflunder
apis
apiserver
client
cmd
server
registry
sample-controller
test
BUILDOWNERS
conformance
e2e
BUILD
apimachinery
apps
auth
autoscaling
common
e2e.goexamples.go
framework
generated
gke_local_ssd.go
instrumentation
kubectl
lifecycle
manifest
network
node
scalability
scheduling
storage
testing-manifests
ui
upgrades
e2e_kubeadm
e2e_node
fixtures
pkg
kubectl
cmd
apply
plugins
plugins2
images
integration
kubemark
test_owners.csv
typecheck
utils
third_party
BUILD
forked
golang
shell2junit
htpasswd
translations
BUILD
kubectl
it_IT
LC_MESSAGES
ko_KR
LC_MESSAGES
zh_CN
LC_MESSAGES
utils

@ -109,15 +109,6 @@ func equalStruct(v1, v2 reflect.Value) bool {
// set/unset mismatch
return false
}
b1, ok := f1.Interface().(raw)
if ok {
b2 := f2.Interface().(raw)
// RawMessage
if !bytes.Equal(b1.Bytes(), b2.Bytes()) {
return false
}
continue
}
f1, f2 = f1.Elem(), f2.Elem()
}
if !equalAny(f1, f2, sprop.Prop[i]) {
@ -146,11 +137,7 @@ func equalStruct(v1, v2 reflect.Value) bool {
u1 := uf.Bytes()
u2 := v2.FieldByName("XXX_unrecognized").Bytes()
if !bytes.Equal(u1, u2) {
return false
}
return true
return bytes.Equal(u1, u2)
}
// v1 and v2 are known to have the same type.
@ -261,6 +248,15 @@ func equalExtMap(base reflect.Type, em1, em2 map[int32]Extension) bool {
m1, m2 := e1.value, e2.value
if m1 == nil && m2 == nil {
// Both have only encoded form.
if bytes.Equal(e1.enc, e2.enc) {
continue
}
// The bytes are different, but the extensions might still be
// equal. We need to decode them to compare.
}
if m1 != nil && m2 != nil {
// Both are unencoded.
if !equalAny(reflect.ValueOf(m1), reflect.ValueOf(m2), nil) {
@ -276,8 +272,12 @@ func equalExtMap(base reflect.Type, em1, em2 map[int32]Extension) bool {
desc = m[extNum]
}
if desc == nil {
// If both have only encoded form and the bytes are the same,
// it is handled above. We get here when the bytes are different.
// We don't know how to decode it, so just compare them as byte
// slices.
log.Printf("proto: don't know how to compare extension %d of %v", extNum, base)
continue
return false
}
var err error
if m1 == nil {