manager

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraLogWrapper

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

func (*InfraLogWrapper) Debug

func (l *InfraLogWrapper) Debug(args ...interface{})

func (*InfraLogWrapper) Debugf

func (l *InfraLogWrapper) Debugf(format string, args ...interface{})

func (*InfraLogWrapper) Error

func (l *InfraLogWrapper) Error(args ...interface{})

func (*InfraLogWrapper) Errorf

func (l *InfraLogWrapper) Errorf(format string, args ...interface{})

func (*InfraLogWrapper) Failuref

func (l *InfraLogWrapper) Failuref(format string, args ...interface{})

func (*InfraLogWrapper) Info

func (l *InfraLogWrapper) Info(args ...interface{})

func (*InfraLogWrapper) Infof

func (l *InfraLogWrapper) Infof(format string, args ...interface{})

func (*InfraLogWrapper) Successf

func (l *InfraLogWrapper) Successf(format string, args ...interface{})

func (*InfraLogWrapper) Warn

func (l *InfraLogWrapper) Warn(args ...interface{})

func (*InfraLogWrapper) Warnf

func (l *InfraLogWrapper) Warnf(format string, args ...interface{})

type PluginManager

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

func New

func New(cfg *plugins.Cfg, pluginSources []PluginSource, pluginLoader plugins.Loader) *PluginManager

func ProvideService

func ProvideService(grafanaCfg *setting.Cfg, pluginLoader plugins.Loader) (*PluginManager, error)

func (*PluginManager) Add

func (m *PluginManager) Add(ctx context.Context, pluginID, version string) error

func (*PluginManager) CallResource

func (*PluginManager) CheckHealth

func (*PluginManager) CollectMetrics

func (*PluginManager) Init

func (m *PluginManager) Init() error

func (*PluginManager) Plugin

func (m *PluginManager) Plugin(_ context.Context, pluginID string) (plugins.PluginDTO, bool)

func (*PluginManager) Plugins

func (m *PluginManager) Plugins(_ context.Context, pluginTypes ...plugins.Type) []plugins.PluginDTO

func (*PluginManager) PublishStream

func (*PluginManager) QueryData

func (*PluginManager) Remove

func (m *PluginManager) Remove(ctx context.Context, pluginID string) error

func (*PluginManager) Renderer

func (m *PluginManager) Renderer() *plugins.Plugin

func (*PluginManager) Routes

func (m *PluginManager) Routes() []*plugins.StaticRoute

func (*PluginManager) Run

func (m *PluginManager) Run(ctx context.Context) error

func (*PluginManager) RunStream

func (*PluginManager) SubscribeStream

type PluginSource

type PluginSource struct {
	Class plugins.Class
	Paths []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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