Documentation
¶
Index ¶
- func GetDefaults(name string) (config.ProviderSettings, bool)
- func Has(name string) bool
- func Names() []string
- func Register(name string, f Factory)
- func RegisterDefaults(name string, ps config.ProviderSettings)
- func RequiresAPIKey(name string) bool
- func SetRequiresAPIKey(name string, req bool)
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefaults ¶
func GetDefaults(name string) (config.ProviderSettings, bool)
GetDefaults returns defaults for a provider if registered.
func RegisterDefaults ¶
func RegisterDefaults(name string, ps config.ProviderSettings)
RegisterDefaults sets the default settings for a provider.
func RequiresAPIKey ¶
RequiresAPIKey reports whether the provider requires an API key.
func SetRequiresAPIKey ¶
SetRequiresAPIKey marks whether a provider requires an API key.
Types ¶
Click to show internal directories.
Click to hide internal directories.