Add pluginName to VolumeHost.GetMouter

Different plugins can get different mounter, depending where the mount
utilities are.
This commit is contained in:
Jan Safranek
2017-08-14 12:16:26 +02:00
parent 282404cbc9
commit bc0e170d9c
39 changed files with 86 additions and 86 deletions

View File

@@ -224,7 +224,7 @@ type VolumeHost interface {
GetCloudProvider() cloudprovider.Interface
// Get mounter interface.
GetMounter() mount.Interface
GetMounter(pluginName string) mount.Interface
// Get writer interface for writing data to disk.
GetWriter() io.Writer