Documentation ¶
Index ¶
- type Group
- type Provider
- type ProviderRegistry
- func (r *ProviderRegistry) AddProvider(name, description string, svgIcon []byte) actions.Provider
- func (r *ProviderRegistry) GetAction(provider, group, action string) (actions.Action, error)
- func (p *ProviderRegistry) LoadProviderConfigs() error
- func (r *ProviderRegistry) Provider(name string) *Provider
- func (r *ProviderRegistry) Providers() []actions.Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { actions.BaseInfo Requirements map[string]actions.Requirement OAuth2Endpoint oauth2.Endpoint // contains filtered or unexported fields }
func (*Provider) AddRequirement ¶
func (p *Provider) AddRequirement(req actions.Requirement)
type ProviderRegistry ¶
type ProviderRegistry struct {
// contains filtered or unexported fields
}
var GlobalRegistry *ProviderRegistry
func NewRegistry ¶
func NewRegistry() *ProviderRegistry
func (*ProviderRegistry) AddProvider ¶
func (r *ProviderRegistry) AddProvider(name, description string, svgIcon []byte) actions.Provider
func (*ProviderRegistry) GetAction ¶
func (r *ProviderRegistry) GetAction(provider, group, action string) (actions.Action, error)
func (*ProviderRegistry) LoadProviderConfigs ¶
func (p *ProviderRegistry) LoadProviderConfigs() error
func (*ProviderRegistry) Provider ¶
func (r *ProviderRegistry) Provider(name string) *Provider
func (*ProviderRegistry) Providers ¶
func (r *ProviderRegistry) Providers() []actions.Provider
Click to show internal directories.
Click to hide internal directories.