manager

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPluginOutdated added in v0.9.0

func IsPluginOutdated(err error) bool

IsPluginOutdated returns true if plugin it too old

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service re

func New

New represents a manager

func (*Service) Open

func (s *Service) Open(ctx context.Context, URL string) (*plugin.Plugin, error)

Open open plugin, if plugin is latest server SCN

func (*Service) OpenWithInfoURL added in v0.7.0

func (s *Service) OpenWithInfoURL(ctx context.Context, URL string) (*build.Info, *plugin.Plugin, error)

OpenWithInfoURL open plugin based on the plugin info URL

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL