dashboards

package
v0.0.0-...-e181591 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFolderNameMissing error = errors.New("Folder name missing")
)

Functions

func NewDashboardCache

func NewDashboardCache() *dashboardCache

func NewDashboardFileReader

func NewDashboardFileReader(cfg *DashboardsAsConfig, log log.Logger) (*fileReader, error)

Types

type DashboardProvisioner

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

func Provision

func Provision(ctx context.Context, configDirectory string) (*DashboardProvisioner, error)

func (*DashboardProvisioner) Provision

func (provider *DashboardProvisioner) Provision(ctx context.Context) error

type DashboardsAsConfig

type DashboardsAsConfig struct {
	Name     string                 `json:"name" yaml:"name"`
	Type     string                 `json:"type" yaml:"type"`
	OrgId    int64                  `json:"org_id" yaml:"org_id"`
	Folder   string                 `json:"folder" yaml:"folder"`
	Editable bool                   `json:"editable" yaml:"editable"`
	Options  map[string]interface{} `json:"options" yaml:"options"`
}

Jump to

Keyboard shortcuts

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