Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackgroundServiceRegistry ¶
type BackgroundServiceRegistry struct {
Services []registry.BackgroundService
}
BackgroundServiceRegistry provides background services.
func NewBackgroundServiceRegistry ¶
func NewBackgroundServiceRegistry(services ...registry.BackgroundService) *BackgroundServiceRegistry
func ProvideBackgroundServiceRegistry ¶
func ProvideBackgroundServiceRegistry( httpServer *api.HTTPServer, ng *ngalert.AlertNG, cleanup *cleanup.CleanUpService, live *live.GrafanaLive, pushGateway *pushhttp.Gateway, notifications *notifications.NotificationService, pm *manager.PluginManager, rendering *rendering.RenderingService, tokenService models.UserTokenBackgroundService, tracing tracing.Tracer, provisioning *provisioning.ProvisioningServiceImpl, alerting *alerting.AlertEngine, usageStats *uss.UsageStats, statsCollector *statscollector.Service, grafanaUpdateChecker *updatechecker.GrafanaService, pluginsUpdateChecker *updatechecker.PluginsService, metrics *metrics.InternalMetricsService, secretsService *secretsManager.SecretsService, remoteCache *remotecache.RemoteCache, thumbnailsService thumbs.Service, StorageService store.StorageService, _ *dashboardsnapshots.Service, _ *alerting.AlertNotificationService, _ serviceaccounts.Service, _ *guardian.Provider, _ *plugindashboardsservice.DashboardUpdater, ) *BackgroundServiceRegistry
func (*BackgroundServiceRegistry) GetServices ¶
func (r *BackgroundServiceRegistry) GetServices() []registry.BackgroundService
Click to show internal directories.
Click to hide internal directories.