Skip to content

Commit 1a31fdc

Browse files
committed
Fix formatting issues in the proto files for smb and volume
1 parent faf7450 commit 1a31fdc

File tree

8 files changed

+40
-0
lines changed

8 files changed

+40
-0
lines changed

client/api/smb/v1/api.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ message NewSmbGlobalMappingRequest {
2424
// UNC specifications to local paths or prefix: \\?\ is not allowed.
2525
// Characters: + [ ] " / : ; | < > , ? * = $ are not allowed.
2626
string remote_path = 1;
27+
2728
// Optional local path to mount the smb on
2829
string local_path = 2;
2930

client/api/smb/v1beta2/api.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ message NewSmbGlobalMappingRequest {
2424
// UNC specifications to local paths or prefix: \\?\ is not allowed.
2525
// Characters: + [ ] " / : ; | < > , ? * = $ are not allowed.
2626
string remote_path = 1;
27+
2728
// Optional local path to mount the smb on
2829
string local_path = 2;
2930

client/api/volume/v1/api.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,31 @@ service Volume {
88
// ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for all volumes from a
99
// given disk number and partition number (optional)
1010
rpc ListVolumesOnDisk(ListVolumesOnDiskRequest) returns (ListVolumesOnDiskResponse) {}
11+
1112
// MountVolume mounts the volume at the requested global staging path.
1213
rpc MountVolume(MountVolumeRequest) returns (MountVolumeResponse) {}
14+
1315
// UnmountVolume flushes data cache to disk and removes the global staging path.
1416
rpc UnmountVolume(UnmountVolumeRequest) returns (UnmountVolumeResponse) {}
17+
1518
// IsVolumeFormatted checks if a volume is formatted.
1619
rpc IsVolumeFormatted(IsVolumeFormattedRequest) returns (IsVolumeFormattedResponse) {}
20+
1721
// FormatVolume formats a volume with NTFS.
1822
rpc FormatVolume(FormatVolumeRequest) returns (FormatVolumeResponse) {}
23+
1924
// ResizeVolume performs resizing of the partition and file system for a block based volume.
2025
rpc ResizeVolume(ResizeVolumeRequest) returns (ResizeVolumeResponse) {}
26+
2127
// GetVolumeStats gathers total bytes and used bytes for a volume.
2228
rpc GetVolumeStats(GetVolumeStatsRequest) returns (GetVolumeStatsResponse) {}
29+
2330
// GetDiskNumberFromVolumeID gets the disk number of the disk where the volume is located.
2431
rpc GetDiskNumberFromVolumeID(GetDiskNumberFromVolumeIDRequest) returns (GetDiskNumberFromVolumeIDResponse ) {}
32+
2533
// GetVolumeIDFromTargetPath gets the volume id for a given target path.
2634
rpc GetVolumeIDFromTargetPath(GetVolumeIDFromTargetPathRequest) returns (GetVolumeIDFromTargetPathResponse) {}
35+
2736
// WriteVolumeCache write volume cache to disk.
2837
rpc WriteVolumeCache(WriteVolumeCacheRequest) returns (WriteVolumeCacheResponse) {}
2938
}

client/api/volume/v1beta3/api.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,31 @@ service Volume {
88
// ListVolumesOnDisk returns the volume IDs (in \\.\Volume{GUID} format) for all volumes from a
99
// given disk number and partition number (optional)
1010
rpc ListVolumesOnDisk(ListVolumesOnDiskRequest) returns (ListVolumesOnDiskResponse) {}
11+
1112
// MountVolume mounts the volume at the requested global staging path.
1213
rpc MountVolume(MountVolumeRequest) returns (MountVolumeResponse) {}
14+
1315
// UnmountVolume flushes data cache to disk and removes the global staging path.
1416
rpc UnmountVolume(UnmountVolumeRequest) returns (UnmountVolumeResponse) {}
17+
1518
// IsVolumeFormatted checks if a volume is formatted.
1619
rpc IsVolumeFormatted(IsVolumeFormattedRequest) returns (IsVolumeFormattedResponse) {}
20+
1721
// FormatVolume formats a volume with NTFS.
1822
rpc FormatVolume(FormatVolumeRequest) returns (FormatVolumeResponse) {}
23+
1924
// ResizeVolume performs resizing of the partition and file system for a block based volume.
2025
rpc ResizeVolume(ResizeVolumeRequest) returns (ResizeVolumeResponse) {}
26+
2127
// GetVolumeStats gathers total bytes and used bytes for a volume.
2228
rpc GetVolumeStats(GetVolumeStatsRequest) returns (GetVolumeStatsResponse) {}
29+
2330
// GetDiskNumberFromVolumeID gets the disk number of the disk where the volume is located.
2431
rpc GetDiskNumberFromVolumeID(GetDiskNumberFromVolumeIDRequest) returns (GetDiskNumberFromVolumeIDResponse ) {}
32+
2533
// GetVolumeIDFromTargetPath gets the volume id for a given target path.
2634
rpc GetVolumeIDFromTargetPath(GetVolumeIDFromTargetPathRequest) returns (GetVolumeIDFromTargetPathResponse) {}
35+
2736
// WriteVolumeCache write volume cache to disk.
2837
rpc WriteVolumeCache(WriteVolumeCacheRequest) returns (WriteVolumeCacheResponse) {}
2938
}

vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1/api.proto

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/kubernetes-csi/csi-proxy/client/api/smb/v1beta2/api.proto

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1/api.proto

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/kubernetes-csi/csi-proxy/client/api/volume/v1beta3/api.proto

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)