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"` Plugins []string `json:"plugins,omitempty" yaml:"plugins,omitempty"` }
func ClearEmpty ¶
func (*Grafana) MarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.