package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Aug 11, 2020
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Slack Slack `yaml:"slack"`
Grafana Grafana `yaml:"grafana"`
Dashboards []Dashboard `yaml:"dashboards"`
}
type Dashboard struct {
Name string `yaml:"name"`
DashboardName string `yaml:"dashboardName"`
OrgID string `yaml:"orgId"`
PanelID string `yaml:"panelId"`
}
type Grafana struct {
UseClientAuth bool `yaml:"use_client_auth"`
ClientAuthP12 string `yaml:"client_auth_p12"`
Endpoint string `yaml:"endpoint"`
ApiKey string `yaml:"apikey"`
}
type Slack struct {
Token string `yaml:"token"`
Channel string `yaml:"channel"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.