Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RepoCompatOpts ¶
func RepoCompatOpts(opts plugins.CompatOpts) (repo.CompatOpts, error)
Types ¶
type PluginInstaller ¶
type PluginInstaller struct {
// contains filtered or unexported fields
}
func New ¶
func New(pluginRegistry registry.Service, pluginLoader loader.Service, pluginRepo repo.Service, pluginStorage storage.ZipExtractor, pluginStorageDirFunc storage.DirNameGeneratorFunc, serviceRegistry auth.ExternalServiceRegistry) *PluginInstaller
func ProvideInstaller ¶
func ProvideInstaller(cfg *config.PluginManagementCfg, pluginRegistry registry.Service, pluginLoader loader.Service, pluginRepo repo.Service, serviceRegistry auth.ExternalServiceRegistry) *PluginInstaller
func (*PluginInstaller) Add ¶
func (m *PluginInstaller) Add(ctx context.Context, pluginID, version string, opts plugins.CompatOpts) error
Directories ¶
Path | Synopsis |
---|---|
termination
Package termination defines the Termination stage of the plugin loader pipeline.
|
Package termination defines the Termination stage of the plugin loader pipeline. |
Click to show internal directories.
Click to hide internal directories.