mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 09:33:52 +00:00
Change signature of MountDevice function and remove MountDeviceWithStatusTracking
This commit is contained in:
@@ -253,10 +253,7 @@ type DeviceMounter interface {
|
||||
// MountDevice mounts the disk to a global path which
|
||||
// individual pods can then bind mount
|
||||
// Note that devicePath can be empty if the volume plugin does not implement any of Attach and WaitForAttach methods.
|
||||
MountDevice(spec *Spec, devicePath string, deviceMountPath string) error
|
||||
|
||||
// MountDeviceWithStatusTracking is same as MountDevice except status of mount operation is also returned
|
||||
MountDeviceWithStatusTracking(spec *Spec, devicePath string, deviceMountPath string) (volumetypes.OperationStatus, error)
|
||||
MountDevice(spec *Spec, devicePath string, deviceMountPath string) (volumetypes.OperationStatus, error)
|
||||
}
|
||||
|
||||
type BulkVolumeVerifier interface {
|
||||
|
Reference in New Issue
Block a user