Documentation
¶
Index ¶
- func Label(ctx context.Context) string
- func Logger(ctx context.Context) server.Logger
- func NewProvider(tasks ...server.Task) server.Provider
- func WithLabel(ctx context.Context, label string) context.Context
- func WithLogger(ctx context.Context, logger server.Logger) context.Context
- type PluginMeta
- type ProviderContextKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
Create a new provider with tasks in the order they have been created.
Types ¶
type PluginMeta ¶ added in v1.4.2
func NewMeta ¶ added in v1.4.2
func NewMeta(v server.Plugin) (*PluginMeta, error)
NewMeta returns metadata for a plugin
func (*PluginMeta) Get ¶ added in v1.4.2
func (m *PluginMeta) Get(v server.Plugin, key string) any
func (*PluginMeta) Set ¶ added in v1.4.2
func (m *PluginMeta) Set(v server.Plugin, key string, value any)
type ProviderContextKey ¶ added in v1.4.2
type ProviderContextKey int
Click to show internal directories.
Click to hide internal directories.