k3s/pkg/volume/util
Kubernetes Submit Queue 0b90c414c5
Merge pull request #64094 from vladimirvivien/block-MapDeviceFunc-Refactor
Automatic merge from submit-queue (batch tested with PRs 64276, 64094, 64719, 64766, 64750). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Delegate map operation to BlockVolumeMapper plugin 

**What this PR does / why we need it**:
This PR refactors the volume controller's operation generator, for block mapping, to delegate core block mounting sequence to the `volume.BlockVolumeMapper` plugin instead of living in the operation generator.  This is to ensure better customization of block volume logic for existing internal volume plugins.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #64093

```release-note
NONE
```
/sig storage
2018-06-05 11:35:13 -07:00
..
fs Rename Du() to DiskUsage() for more expressive 2018-05-22 10:52:06 +08:00
nestedpendingoperations Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
operationexecutor Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
recyclerclient Prevent virtual infinite loop in volume controller 2018-04-13 21:19:45 -06:00
types refactored mount, attach, resize operation's so that all failures generate events and event generation is more consistent. 2017-12-14 11:09:12 -08:00
volumepathhandler update bazel 2018-02-27 20:23:36 +08:00
BUILD Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
atomic_writer.go Fix use visible files creation for windows 2018-04-16 11:12:17 +08:00
atomic_writer_test.go Use filepath.Clean() instead of path.Clean() 2018-04-17 10:44:30 +08:00
attach_limit.go Implement volume plugin changes for volume limits 2018-06-01 19:17:30 -04:00
device_util.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_linux.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_linux_test.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
device_util_unsupported.go Update detach logic for block volume if devicePath is empty 2017-12-15 11:56:14 -05:00
doc.go
error.go Fix dangling attach errors 2017-11-16 08:43:36 -05:00
finalizer.go reuse PVC protection admission plugin for PV protection 2018-01-31 20:02:01 +08:00
io_util.go
metrics.go refactored mount, attach, resize operation's so that all failures generate events and event generation is more consistent. 2017-12-14 11:09:12 -08:00
nested_volumes.go Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
nested_volumes_test.go Fix nested volume mounts for read-only API data volumes 2018-02-27 07:41:39 -07:00
resize_util.go Improve messaging on resize 2018-01-29 15:07:51 -05:00
resize_util_test.go Improve messaging on resize 2018-01-29 15:07:51 -05:00
util.go Refactor of GenerateMapDeviceFunc to delegate Map call to volume plugin. 2018-06-03 17:25:37 -04:00
util_test.go Merge pull request #62556 from msau42/fix-node-selector-term 2018-04-16 01:57:04 -07:00