Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProvider ¶
func RegisterProvider(name string, constructor ProviderConstructor) error
RegisterProvider registers a service provider constructor.
Types ¶
type Provider ¶
type Provider interface {
Query(ctx context.Context, query schema.ServiceQuery) ([]schema.Service, error)
}
Provider defines the capability surface for service adapters.
type ProviderConstructor ¶
ProviderConstructor builds a service provider from decrypted configuration.
func LookupProvider ¶
func LookupProvider(name string) (ProviderConstructor, bool)
LookupProvider returns a registered provider constructor by name.
Click to show internal directories.
Click to hide internal directories.