provider

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPluginsForPattern added in v1.5.6

func LoadPluginsForPattern(pattern ...string) ([]server.Plugin, error)

LoadPluginsForPattern will load plugins from filesystem for a given glob pattern

func New added in v1.4.9

func New(resolver ResolverFunc, plugins ...server.Plugin) (*provider, error)

Types

type ResolverFunc added in v1.5.0

type ResolverFunc func(context.Context, string, server.Plugin) (server.Plugin, error)

ResolverFunc is a function that resolves a plugin from label and plugin

Jump to

Keyboard shortcuts

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