config

package
v0.32.18 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DashboardsDirectoryPath string = "../../dashboards"
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Deploy             bool
	Datasources        []*Datasource
	DashboardProviders []*Provider
	Ini                map[string]interface{}
}

func New

func (*Config) AddDashboardProvider

func (c *Config) AddDashboardProvider(provider *Provider)

func (*Config) AddDatasourceURL

func (c *Config) AddDatasourceURL(name, datatype, url string)

type Datasource

type Datasource struct {
	Name      string
	Type      string
	Url       string
	Access    string
	IsDefault bool
}

type Provider

type Provider struct {
	ConfigMaps []string
	Folder     string
}

Jump to

Keyboard shortcuts

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