Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func New ¶
func New(discovery discovery.Discoverer, bootstrap bootstrap.Bootstrapper, validation validation.Validator, initializer initialization.Initializer, termination termination.Terminator) *Loader
type Service ¶
type Service interface { // Load will return a list of plugins found in the provided file system paths. Load(ctx context.Context, src plugins.PluginSource) ([]*plugins.Plugin, error) // Unload will unload a specified plugin from the file system. Unload(ctx context.Context, p *plugins.Plugin) (*plugins.Plugin, error) }
Service is responsible for loading plugins from the file system.
Click to show internal directories.
Click to hide internal directories.