Documentation ¶
Index ¶
- type PluginManager
- func (pl *PluginManager) DispenseClients(pluginClients map[string]*plugin.Client) (map[string]plugins.ProviderV1beta1, error)
- func (pl *PluginManager) InitClients() map[string]*plugin.Client
- func (pl *PluginManager) InitConfigs(ctx context.Context, providerPlugins map[string]plugins.ProviderV1beta1, ...) error
- func (pl *PluginManager) Stop()
- type UnimplementedService
- func (s *UnimplementedService) SetConfig(ctx context.Context, configRaw string) error
- func (s *UnimplementedService) SyncRuntimeConfig(ctx context.Context, namespaceID uint64, namespaceURN string, ...) error
- func (s *UnimplementedService) TransformToAlerts(ctx context.Context, providerID uint64, namespaceID uint64, ...) ([]alert.Alert, int, error)
- func (s *UnimplementedService) UpsertRule(ctx context.Context, ns namespace.Namespace, prov provider.Provider, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluginManager ¶ added in v0.6.7
type PluginManager struct {
// contains filtered or unexported fields
}
func NewPluginManager ¶ added in v0.6.7
func NewPluginManager(logger log.Logger, cfg plugins.Config) *PluginManager
func (*PluginManager) DispenseClients ¶ added in v0.6.7
func (pl *PluginManager) DispenseClients(pluginClients map[string]*plugin.Client) (map[string]plugins.ProviderV1beta1, error)
func (*PluginManager) InitClients ¶ added in v0.6.7
func (pl *PluginManager) InitClients() map[string]*plugin.Client
func (*PluginManager) InitConfigs ¶ added in v0.6.7
func (pl *PluginManager) InitConfigs(ctx context.Context, providerPlugins map[string]plugins.ProviderV1beta1, logLevel string) error
func (*PluginManager) Stop ¶ added in v0.6.7
func (pl *PluginManager) Stop()
type UnimplementedService ¶ added in v0.6.7
type UnimplementedService struct{}
UnimplementedService is a base receiver provider service layer
func (*UnimplementedService) SetConfig ¶ added in v0.6.7
func (s *UnimplementedService) SetConfig(ctx context.Context, configRaw string) error
func (*UnimplementedService) SyncRuntimeConfig ¶ added in v0.6.7
func (*UnimplementedService) TransformToAlerts ¶ added in v0.6.7
Click to show internal directories.
Click to hide internal directories.