voldiscoverers

package
v0.0.0-...-b9b56e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2018 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCsiPluginDiscoverer

func NewCsiPluginDiscoverer(logger lager.Logger, pluginRegistry volman.PluginRegistry, pluginPaths []string, csiMountRootDir string) volman.Discoverer

func NewCsiPluginDiscovererWithShims

func NewCsiPluginDiscovererWithShims(logger lager.Logger, pluginRegistry volman.PluginRegistry, pluginPaths []string, filepathShim filepathshim.Filepath, grpcShim grpcshim.Grpc, csiShim csishim.Csi, osShim osshim.Os, csiMountRootDir string) volman.Discoverer

func NewDockerDriverDiscoverer

func NewDockerDriverDiscoverer(logger lager.Logger, driverRegistry volman.PluginRegistry, driverPaths []string) volman.Discoverer

func NewDockerDriverDiscovererWithDriverFactory

func NewDockerDriverDiscovererWithDriverFactory(logger lager.Logger, driverRegistry volman.PluginRegistry, driverPaths []string, factory DockerDriverFactory) volman.Discoverer

Types

type DockerDriverFactory

type DockerDriverFactory interface {
	// Given a driver id, path and config filename returns a remote client implementation of the voldriver.Driver interface
	DockerDriver(logger lager.Logger, driverId string, driverPath, driverFileName string) (voldriver.Driver, error)
}

DriverFactories are responsible for instantiating remote client implementations of the voldriver.Driver interface.

func NewDockerDriverFactory

func NewDockerDriverFactory() DockerDriverFactory

func NewDockerDriverFactoryWithOs

func NewDockerDriverFactoryWithOs(useOs osshim.Os) DockerDriverFactory

func NewDockerDriverFactoryWithRemoteClientFactory

func NewDockerDriverFactoryWithRemoteClientFactory(remoteClientFactory driverhttp.RemoteClientFactory) DockerDriverFactory

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL