rename volumeid to volumeID

This commit is contained in:
Hemant Kumar
2020-03-16 16:41:24 -04:00
parent 75e13e370e
commit 69613da0ae
8 changed files with 30 additions and 22 deletions

View File

@@ -174,14 +174,15 @@ type CustomBlockVolumeMapper interface {
// For most in-tree plugins, attacher.Attach() and attacher.WaitForAttach()
// will do necessary works.
// This may be called more than once, so implementations must be idempotent.
SetUpDevice() (string, error)
// SetUpDevice returns stagingPath if device setup was successful
SetUpDevice() (stagingPath string, err error)
// MapPodDevice maps the block device to a path and return the path.
// Unique device path across kubelet node reboot is required to avoid
// unexpected block volume destruction.
// If empty string is returned, the path retuned by attacher.Attach() and
// attacher.WaitForAttach() will be used.
MapPodDevice() (string, error)
MapPodDevice() (publishPath string, err error)
}
// BlockVolumeUnmapper interface is an unmapper interface for block volume.