Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
// contains filtered or unexported fields
}
func (*Backend) GetDatasources ¶
func (b *Backend) GetDatasources() (dsSettings []DatasourceSettings, err error)
type DatasourceSettings ¶
type DatasourceSettings struct {
ID int64 `json:"id"`
OrgID int64 `json:"orgID"`
Name string `json:"name"`
Type string `json:"type"`
Access string `json:"access"`
URL string `json:"url"`
Password string `json:"password"`
User string `json:"user"`
BasicAuth bool `json:"basicAuth"`
BasicAuthUser string `json:"basicAuthUser,omitempty"`
BasicAuthPassword string `json:"basicAuthPassword,omitempty"`
WithCredentials bool `json:"withCredentials,omitempty"`
IsDefault bool `json:"isDefault"`
JSONData map[string]interface{} `json:"jsonData"`
}
Click to show internal directories.
Click to hide internal directories.