voldiscoverers

package
v0.0.0-...-bcd8266 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 17 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 dockerdriver.Driver interface
	DockerDriver(logger lager.Logger, driverId string, driverPath, driverFileName string) (dockerdriver.Driver, error)
}

DriverFactories are responsible for instantiating remote client implementations of the dockerdriver.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