grafana

package
v0.21.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datasource

type Datasource struct {
	Name      string `json:"name,omitempty" yaml:"name,omitempty"`
	Type      string `json:"type,omitempty" yaml:"type,omitempty"`
	Url       string `json:"url,omitempty" yaml:"url,omitempty"`
	Access    string `json:"access,omitempty" yaml:"access,omitempty"`
	IsDefault bool   `json:"isDefault,omitempty" yaml:"isDefault,omitempty"`
}

type Grafana

type Grafana struct {
	Deploy             bool             `json:"deploy" yaml:"deploy"`
	Admin              *admin.Admin     `json:"admin,omitempty" yaml:"admin,omitempty"`
	Datasources        []*Datasource    `json:"datasources,omitempty" yaml:"datasources,omitempty"`
	DashboardProviders []*Provider      `json:"dashboardproviders,omitempty" yaml:"dashboardproviders,omitempty"`
	Storage            *storage.Spec    `json:"storage,omitempty" yaml:"storage,omitempty"`
	Network            *network.Network `json:"network,omitempty" yaml:"network,omitempty"`
	Auth               *auth.Auth       `json:"auth,omitempty" yaml:"auth,omitempty"`
}

func ClearEmpty

func ClearEmpty(x *Grafana) *Grafana

func (*Grafana) MarshalYAML

func (x *Grafana) MarshalYAML() (interface{}, error)

type Provider

type Provider struct {
	ConfigMaps []string `json:"configMaps,omitempty" yaml:"configMaps,omitempty"`
	Folder     string   `json:"folder,omitempty" yaml:"folder,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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