From 13a30bfcd957e4b9729fa2734c517b18e9475d8b Mon Sep 17 00:00:00 2001 From: NickrenREN Date: Tue, 9 Jan 2018 13:35:30 +0800 Subject: [PATCH] Update spec dependency to point to 0.1 tag --- Godeps/Godeps.json | 2 +- .../container-storage-interface/spec/lib/go/csi/csi.pb.go | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 691bd76f46e..db5c7aa66f0 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -438,7 +438,7 @@ }, { "ImportPath": "github.com/container-storage-interface/spec/lib/go/csi", - "Rev": "ec298903f94e1d6d954de121b28044a2e1fdbf48" + "Rev": "9e88e4bfabeca1b8e4810555815f112159292ada" }, { "ImportPath": "github.com/containerd/containerd/api/services/containers/v1", diff --git a/vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go b/vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go index 6158a4870cc..7f53a1cb436 100644 --- a/vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go +++ b/vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go @@ -73,9 +73,11 @@ type VolumeCapability_AccessMode_Mode int32 const ( VolumeCapability_AccessMode_UNKNOWN VolumeCapability_AccessMode_Mode = 0 - // Can be published as read/write at one node at a time. + // Can only be published once as read/write on a single node, at + // any given time. VolumeCapability_AccessMode_SINGLE_NODE_WRITER VolumeCapability_AccessMode_Mode = 1 - // Can be published as readonly at one node at a time. + // Can only be published once as readonly on a single node, at + // any given time. VolumeCapability_AccessMode_SINGLE_NODE_READER_ONLY VolumeCapability_AccessMode_Mode = 2 // Can be published as readonly at multiple nodes simultaneously. VolumeCapability_AccessMode_MULTI_NODE_READER_ONLY VolumeCapability_AccessMode_Mode = 3 @@ -1344,6 +1346,8 @@ type NodePublishVolumeRequest struct { // The path to which the volume will be published. It MUST be an // absolute path in the root filesystem of the process serving this // request. The CO SHALL ensure uniqueness of target_path per volume. + // The CO SHALL ensure that the path exists, and that the process + // serving the request has `read` and `write` permissions to the path. // This is a REQUIRED field. TargetPath string `protobuf:"bytes,4,opt,name=target_path,json=targetPath" json:"target_path,omitempty"` // The capability of the volume the CO expects the volume to have.