Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Err error Reg *Registration }
Error is passed down the plugins error chan
type Plugins ¶
type Plugins struct { Errchan chan Error // contains filtered or unexported fields }
Plugins represents an initialized plugin system
func Start ¶
func Start(cfg Config, srv v1.PiroServiceServer, uisrv v1.PiroUIServer) (*Plugins, error)
Start starts all configured plugins
func (*Plugins) AuthProvider ¶
func (p *Plugins) AuthProvider() auth.AuthenticationProvider
func (*Plugins) RepositoryProvider ¶
func (p *Plugins) RepositoryProvider() piro.RepositoryProvider
RepositoryProvider provides access to all repo providers contributed via plugins
Click to show internal directories.
Click to hide internal directories.