updater

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrafanaDashboardUpdater

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

func (*GrafanaDashboardUpdater) Init

func (u *GrafanaDashboardUpdater) Init() error

func (*GrafanaDashboardUpdater) OnModify

func (u *GrafanaDashboardUpdater) OnModify() error

type GrafanaDatasourceUpdater

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

func (*GrafanaDatasourceUpdater) Init

func (u *GrafanaDatasourceUpdater) Init() error

func (*GrafanaDatasourceUpdater) OnModify

func (u *GrafanaDatasourceUpdater) OnModify() error

type Updater

type Updater interface {
	Init() error
	OnModify() error
}

func NewGrafanaDashboardUpdater

func NewGrafanaDashboardUpdater(c grafana.DashboardsInterface, g string) Updater

func NewGrafanaDatasourceUpdater

func NewGrafanaDatasourceUpdater(c grafana.DatasourcesInterface, g string) Updater

Jump to

Keyboard shortcuts

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