kubernetes/pkg/volume
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
..
aws_ebs SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
azure_dd SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
azure_file Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
cephfs Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
cinder SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
configmap Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
downwardapi Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
empty_dir Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
fc SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
flexvolume SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
flocker Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
gce_pd SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
git_repo Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
glusterfs Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
host_path Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
iscsi SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
local Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
nfs Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
photon_pd SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
portworx SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
projected Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
quobyte Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
rbd SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
scaleio SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
secret Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
storageos SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
testing Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
util SafeFormatAndMount should use volume.Exec provided by VolumeHost 2017-08-14 12:16:27 +02:00
validation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
vsphere_volume Merge pull request #46458 from jsafrane/mount-prep 2017-08-21 18:11:16 -07:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
doc.go
metrics_cached.go
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_errors.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
plugins_test.go Check volumespec is nil in FindPluginBySpec 2017-07-26 13:45:32 -07:00
plugins.go Add pluginName to VolumeHost.GetMouter 2017-08-14 12:16:26 +02:00
util_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
util.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
volume_linux.go Remove all references to types.UnixUserID and types.UnixGroupID 2017-06-21 04:09:07 -07:00
volume_unsupported.go Remove all references to types.UnixUserID and types.UnixGroupID 2017-06-21 04:09:07 -07:00
volume.go run hack/update-all 2017-06-22 11:31:03 -07:00