mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
just code files
This commit is contained in:
19
vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go
generated
vendored
19
vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go
generated
vendored
@ -73,11 +73,9 @@ type VolumeCapability_AccessMode_Mode int32
|
||||
|
||||
const (
|
||||
VolumeCapability_AccessMode_UNKNOWN VolumeCapability_AccessMode_Mode = 0
|
||||
// Can only be published once as read/write on a single node, at
|
||||
// any given time.
|
||||
// Can be published as read/write at one node at a time.
|
||||
VolumeCapability_AccessMode_SINGLE_NODE_WRITER VolumeCapability_AccessMode_Mode = 1
|
||||
// Can only be published once as readonly on a single node, at
|
||||
// any given time.
|
||||
// Can be published as readonly at one node at a 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
|
||||
@ -1346,8 +1344,6 @@ 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.
|
||||
@ -1466,6 +1462,10 @@ type NodeUnpublishVolumeRequest struct {
|
||||
// sensitive and MUST be treated as such (not logged, etc.) by the CO.
|
||||
// This field is OPTIONAL.
|
||||
UserCredentials map[string]string `protobuf:"bytes,4,rep,name=user_credentials,json=userCredentials" json:"user_credentials,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
// Attributes of the volume to publish. This field is OPTIONAL and
|
||||
// MUST match the attributes of the VolumeInfo identified by
|
||||
// `volume_id`.
|
||||
VolumeAttributes map[string]string `protobuf:"bytes,5,rep,name=volume_attributes,json=volumeAttributes" json:"volume_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
|
||||
}
|
||||
|
||||
func (m *NodeUnpublishVolumeRequest) Reset() { *m = NodeUnpublishVolumeRequest{} }
|
||||
@ -1501,6 +1501,13 @@ func (m *NodeUnpublishVolumeRequest) GetUserCredentials() map[string]string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *NodeUnpublishVolumeRequest) GetVolumeAttributes() map[string]string {
|
||||
if m != nil {
|
||||
return m.VolumeAttributes
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type NodeUnpublishVolumeResponse struct {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user