poller

package
v0.0.0-...-cc69b76 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SeparateDashboardsFolders

func SeparateDashboardsFolders(modified []string) (dashboardsModified []string, foldersModified []string)

func Setup

func Setup(cfg *config.Config, client *grafana.Client, delRemoved bool, singleShot bool) error

Setup loads (and synchronise if needed) the Git repository mentioned in the configuration file, then creates the poller that will pull from the Git repository on a regular basis and push all the changes to Grafana. Returns an error if the poller encountered one.

Types

This section is empty.

Jump to

Keyboard shortcuts

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