Documentation ¶
Index ¶
- Variables
- func GetDiscoveryProvider(name string, input *provider.PluginCreationInput) (discovery.Provider, error)
- func GetIdentityProvider(name string, input *provider.PluginCreationInput) (identity.Provider, error)
- func RegisterDiscoveryPlugin(registration *DiscoveryPluginRegistration) error
- func RegisterIdentityPlugin(registration *IdentityPluginRegistration) error
- type DiscoveryPluginRegistration
- type IdentityPluginRegistration
- type PluginRegistration
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDuplicatePlugin = errors.New("plugin already registered with same name") ErrPluginNotFound = errors.New("plugin not found") )
Functions ¶
func GetDiscoveryProvider ¶
func GetIdentityProvider ¶
func RegisterDiscoveryPlugin ¶
func RegisterDiscoveryPlugin(registration *DiscoveryPluginRegistration) error
func RegisterIdentityPlugin ¶
func RegisterIdentityPlugin(registration *IdentityPluginRegistration) error
Types ¶
type DiscoveryPluginRegistration ¶
type DiscoveryPluginRegistration struct { PluginRegistration SupportedIdentityProviders []string CreateFunc discovery.ProviderCreatorFun }
func GetDiscoveryProviderRegistration ¶
func GetDiscoveryProviderRegistration(name string) (*DiscoveryPluginRegistration, error)
func ListDiscoveryPluginRegistrations ¶
func ListDiscoveryPluginRegistrations() []*DiscoveryPluginRegistration
type IdentityPluginRegistration ¶
type IdentityPluginRegistration struct { PluginRegistration CreateFunc identity.ProviderCreatorFun }
func GetIdentityProviderRegistration ¶
func GetIdentityProviderRegistration(name string) (*IdentityPluginRegistration, error)
func ListIdentityPluginRegistrations ¶
func ListIdentityPluginRegistrations() []*IdentityPluginRegistration
type PluginRegistration ¶
type PluginRegistration struct { Name string UsageExample string ConfigurationItemsFunc provider.ConfigurationItemsFunc }
Click to show internal directories.
Click to hide internal directories.