updatechecker

package
v0.0.0-cloud Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaService

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

func ProvideGrafanaService

func ProvideGrafanaService(cfg *setting.Cfg, tracer tracing.Tracer) (*GrafanaService, error)

func (*GrafanaService) IsDisabled

func (s *GrafanaService) IsDisabled() bool

func (*GrafanaService) LatestVersion

func (s *GrafanaService) LatestVersion() string

func (*GrafanaService) Run

func (s *GrafanaService) Run(ctx context.Context) error

func (*GrafanaService) UpdateAvailable

func (s *GrafanaService) UpdateAvailable() bool

type PluginsService

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

func ProvidePluginsService

func ProvidePluginsService(cfg *setting.Cfg, pluginStore plugins.Store, tracer tracing.Tracer) (*PluginsService, error)

func (*PluginsService) HasUpdate

func (s *PluginsService) HasUpdate(ctx context.Context, pluginID string) (string, bool)

func (*PluginsService) IsDisabled

func (s *PluginsService) IsDisabled() bool

func (*PluginsService) Run

func (s *PluginsService) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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