Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDiscoveryBackend ¶ added in v0.3.0
func CreateDiscoveryBackend(config *configuration.Configuration, overlay external.Overlay, client external.Caravela, resourcesMap *resources.Mapping, maxResources resources.Resources) backend.Discovery
CreateDiscoveryBackend is used to obtain a discovery backend based on the configurations.
func RegisterDiscoveryBackend ¶ added in v0.3.0
func RegisterDiscoveryBackend(discBackendName string, factory BackendFactory)
RegisterOffersStrategy can be used to register a discovery backend in order to be available.
Types ¶
type BackendFactory ¶ added in v0.3.0
type BackendFactory func(config *configuration.Configuration, overlay external.Overlay, client external.Caravela, resourcesMap *resources.Mapping, maxResources resources.Resources) (backend.Discovery, error)
DiscoveryBackendFactory represents a method that creates a new discovery backend.
Click to show internal directories.
Click to hide internal directories.