Last active
August 12, 2018 14:58
-
-
Save maniankara/5f72eb94b8da3ae4161726edc037107f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service Node { | |
// temporarily mount the volume to a staging path | |
rpc NodeStageVolume (NodeStageVolumeRequest) | |
returns (NodeStageVolumeResponse) {} | |
// unmount the volume from staging path | |
rpc NodeUnstageVolume (NodeUnstageVolumeRequest) | |
returns (NodeUnstageVolumeResponse) {} | |
// mount the volume from staging to target path | |
rpc NodePublishVolume (NodePublishVolumeRequest) | |
returns (NodePublishVolumeResponse) {} | |
// unmount the volume from staging path | |
rpc NodeUnpublishVolume (NodeUnpublishVolumeRequest) | |
returns (NodeUnpublishVolumeResponse) {} | |
// stats for the volume | |
rpc NodeGetVolumeStats (NodeGetVolumeStatsRequest) | |
returns (NodeGetVolumeStatsResponse) {} | |
// return a unique ID of the node | |
rpc NodeGetId (NodeGetIdRequest) | |
returns (NodeGetIdResponse) { | |
option deprecated = true; | |
} | |
// returns the capabilities of the Node plugin | |
rpc NodeGetCapabilities (NodeGetCapabilitiesRequest) | |
returns (NodeGetCapabilitiesResponse) {} | |
// Similar to NodeGetId | |
rpc NodeGetInfo (NodeGetInfoRequest) | |
returns (NodeGetInfoResponse) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment