mirror of
https://github.com/grafana/grafana.git
synced 2025-09-27 14:23:55 +08:00
Update data sources now work, #8
This commit is contained in:
@ -31,7 +31,7 @@ type DataSource struct {
|
||||
|
||||
type GetDataSourcesQuery struct {
|
||||
AccountId int64
|
||||
Resp []*DataSource
|
||||
Result []*DataSource
|
||||
}
|
||||
|
||||
type AddDataSourceCommand struct {
|
||||
@ -43,3 +43,19 @@ type AddDataSourceCommand struct {
|
||||
Password string
|
||||
User string
|
||||
}
|
||||
|
||||
type UpdateDataSourceCommand struct {
|
||||
Id int64
|
||||
AccountId int64
|
||||
Name string
|
||||
Type DsType
|
||||
Access DsAccess
|
||||
Url string
|
||||
Password string
|
||||
User string
|
||||
}
|
||||
|
||||
type DeleteDataSourceCommand struct {
|
||||
Id int64
|
||||
AccountId int64
|
||||
}
|
||||
|
Reference in New Issue
Block a user