mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-02 14:23:54 +00:00
Refactor GCE wrapper library to allow execution from E2E test suite
This reverts commit147b6911f5, reversing changes made to6fd986065b.
This commit is contained in:
@@ -93,6 +93,11 @@ func (vh *volumeHost) GetWriter() io.Writer {
|
||||
return vh.kubelet.writer
|
||||
}
|
||||
|
||||
// Returns the hostname of the host kubelet is running on
|
||||
func (vh *volumeHost) GetHostName() string {
|
||||
return vh.kubelet.hostname
|
||||
}
|
||||
|
||||
func (kl *Kubelet) newVolumeBuilderFromPlugins(spec *volume.Spec, pod *api.Pod, opts volume.VolumeOptions) (volume.Builder, error) {
|
||||
plugin, err := kl.volumePluginMgr.FindPluginBySpec(spec)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user