package
Version:
v1.0.33
Opens a new window with list of versions in this module.
Published: May 18, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetCloudService returns the backend registered for a particular type, it returns
an error if there is no registered backends for the given type.
func Register(name string, backendType string, init initFunc, getCoudService getCloudServiceFunc)
Register adds a typed backend to the registry
WithBackend set the active backend instance
Service aggregates the service interfaces
Current return the active backend instance
Get returns the backend registered for a particular type, it returns
an error if there is no registered backends for the given type.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.