Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemory ¶
type InMemory struct {
// contains filtered or unexported fields
}
func NewInMemory ¶
func NewInMemory() *InMemory
func ProvideService ¶
func ProvideService() *InMemory
type Service ¶
type Service interface { // Plugin finds a plugin by its ID. Plugin(ctx context.Context, id string) (*plugins.Plugin, bool) // Plugins returns all plugins. Plugins(ctx context.Context) []*plugins.Plugin // Add adds the provided plugin to the registry. Add(ctx context.Context, plugin *plugins.Plugin) error // Remove deletes the requested plugin from the registry. Remove(ctx context.Context, id string) error }
Service is responsible for the internal storing and retrieval of plugins.
Click to show internal directories.
Click to hide internal directories.