kubernetes/pkg/controller/volume/persistentvolume
Kubernetes Submit Queue 198e83588b Merge pull request #46458 from jsafrane/mount-prep
Automatic merge from submit-queue (batch tested with PRs 46458, 50934, 50766, 50970, 47698)

Prepare VolumeHost for running mount tools in containers

This is the first part of implementation of https://github.com/kubernetes/features/issues/278 - running mount utilities in containers.

It updates `VolumeHost` interface:

*  `GetMounter()` now requires volume plugin name, as it is going to return different mounter to different volume plugings, because mount utilities for these plugins can be on different places.
* New `GetExec()` method that should volume plugins use to execute any utilities. This new `Exec` interface will execute them on proper place.
* `SafeFormatAndMount` is updated to the new `Exec` interface.

This is just a preparation, `GetExec` right now leads to simple `os.Exec` and mount utilities are executed on the same place as before. Also, the volume plugins will be updated in subsequent PRs (split into separate PRs, some plugins required lot of changes).

```release-note
NONE
```

@kubernetes/sig-storage-pr-reviews 
@rootfs @gnufied
2017-08-21 18:11:16 -07:00
..
options Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
binder_test.go run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles 2017-06-22 11:30:52 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
delete_test.go run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles 2017-06-22 11:30:52 -07:00
framework_test.go Migrate api.Scheme to scheme.Scheme 2017-07-17 15:05:38 -07:00
index_test.go Move pkg/api/v1/ref -> client-go/tools/reference 2017-07-18 22:45:43 +02:00
index.go run hack/update-all 2017-06-22 11:31:03 -07:00
OWNERS Update OWNERS approvers and reviewers: pkg/controller 2016-11-02 16:19:18 -07:00
provision_test.go Add ReclaimPolicy field to StorageClass 2017-08-14 13:34:32 -04:00
pv_controller_base.go Merge pull request #49016 from jsafrane/pv-controller-no-resync 2017-08-01 16:39:40 -07:00
pv_controller_test.go Merge pull request #49016 from jsafrane/pv-controller-no-resync 2017-08-01 16:39:40 -07:00
pv_controller.go Add ReclaimPolicy field to StorageClass 2017-08-14 13:34:32 -04:00
recycle_test.go run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles 2017-06-22 11:30:52 -07:00
volume_host.go Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00