-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodify.proto
40 lines (30 loc) · 1 KB
/
modify.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
syntax = "proto3";
package modify.v1;
import "google/protobuf/descriptor.proto";
option go_package = "github.com/vngcloud/vngcloud-csi-volume-modifier/pkg/rpc";
service Modify {
rpc GetCSIDriverModificationCapability(GetCSIDriverModificationCapabilityRequest)
returns (GetCSIDriverModificationCapabilityResponse) {}
rpc ModifyVolumeProperties(ModifyVolumePropertiesRequest)
returns (ModifyVolumePropertiesResponse) {}
}
message GetCSIDriverModificationCapabilityRequest {
// Intentionally empty.
}
message GetCSIDriverModificationCapabilityResponse {
// Intentionally empty.
}
message ModifyVolumePropertiesRequest {
// Name of the volume.
// This field is REQUIRED.
string name = 1;
// New volume attributes.
// This field is REQUIRED.
map<string, string> parameters = 2;
// Contains additional information that
// may be required by driver.
map<string, string> context = 3;
}
message ModifyVolumePropertiesResponse {
// Intentionally empty.
}