Documentation ¶
Overview ¶
Package registry is the central hub for Drivers and other types that follow the init-time registration.
Index ¶
- func ClientDrivers() <-chan types.ClientDriver
- func IntegrationDrivers() <-chan types.IntegrationDriver
- func NewClientDriver(name string) (types.ClientDriver, error)
- func NewIntegrationDriver(name string) (types.IntegrationDriver, error)
- func NewIntegrationDriverManager(d types.IntegrationDriver) types.IntegrationDriver
- func NewOSDriver(name string) (types.OSDriver, error)
- func NewOSDriverManager(d types.OSDriver) types.OSDriver
- func NewStorageDriver(name string) (types.StorageDriver, error)
- func NewStorageDriverManager(d types.StorageDriver) types.StorageDriver
- func NewStorageExecutor(name string) (types.StorageExecutor, error)
- func OSDrivers() <-chan types.OSDriver
- func RegisterClientDriver(name string, ctor types.NewClientDriver)
- func RegisterIntegrationDriver(name string, ctor types.NewIntegrationDriver)
- func RegisterOSDriver(name string, ctor types.NewOSDriver)
- func RegisterRouter(router types.Router)
- func RegisterStorageDriver(name string, ctor types.NewStorageDriver)
- func RegisterStorageExecutor(name string, ctor types.NewStorageExecutor)
- func Routers() <-chan types.Router
- func StorageDrivers() <-chan types.StorageDriver
- func StorageExecutors() <-chan types.StorageExecutor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientDrivers ¶
func ClientDrivers() <-chan types.ClientDriver
ClientDrivers returns a channel on which new instances of all registered remote local drivers can be received.
func IntegrationDrivers ¶
func IntegrationDrivers() <-chan types.IntegrationDriver
IntegrationDrivers returns a channel on which new instances of all registered integration drivers can be received.
func NewClientDriver ¶
func NewClientDriver( name string) (types.ClientDriver, error)
NewClientDriver returns a new instance of the driver specified by the driver name.
func NewIntegrationDriver ¶
func NewIntegrationDriver(name string) (types.IntegrationDriver, error)
NewIntegrationDriver returns a new instance of the driver specified by the driver name.
func NewIntegrationDriverManager ¶
func NewIntegrationDriverManager( d types.IntegrationDriver) types.IntegrationDriver
NewIntegrationDriverManager returns a new integration driver manager.
func NewOSDriver ¶
NewOSDriver returns a new instance of the driver specified by the driver name.
func NewOSDriverManager ¶
NewOSDriverManager returns a new OS driver manager.
func NewStorageDriver ¶
func NewStorageDriver(name string) (types.StorageDriver, error)
NewStorageDriver returns a new instance of the driver specified by the driver name.
func NewStorageDriverManager ¶
func NewStorageDriverManager( d types.StorageDriver) types.StorageDriver
NewStorageDriverManager returns a new storage driver manager.
func NewStorageExecutor ¶
func NewStorageExecutor(name string) (types.StorageExecutor, error)
NewStorageExecutor returns a new instance of the executor specified by the executor name.
func OSDrivers ¶
OSDrivers returns a channel on which new instances of all registered OS drivers can be received.
func RegisterClientDriver ¶
func RegisterClientDriver( name string, ctor types.NewClientDriver)
RegisterClientDriver registers a ClientDriver.
func RegisterIntegrationDriver ¶
func RegisterIntegrationDriver(name string, ctor types.NewIntegrationDriver)
RegisterIntegrationDriver registers a IntegrationDriver.
func RegisterOSDriver ¶
func RegisterOSDriver(name string, ctor types.NewOSDriver)
RegisterOSDriver registers a OSDriver.
func RegisterStorageDriver ¶
func RegisterStorageDriver( name string, ctor types.NewStorageDriver)
RegisterStorageDriver registers a StorageDriver.
func RegisterStorageExecutor ¶
func RegisterStorageExecutor(name string, ctor types.NewStorageExecutor)
RegisterStorageExecutor registers a StorageExecutor.
func Routers ¶
Routers returns a channel on which new instances of all registered routers can be received.
func StorageDrivers ¶
func StorageDrivers() <-chan types.StorageDriver
StorageDrivers returns a channel on which new instances of all registered remote storage drivers can be received.
func StorageExecutors ¶
func StorageExecutors() <-chan types.StorageExecutor
StorageExecutors returns a channel on which new instances of all registered storage executors can be received.
Types ¶
This section is empty.