config

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 3 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
	KubeVersion        string
}

func New

func New(kubeVersion string, spec *toolsetsv1beta1.ToolsetSpec) *Config

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