A lot of work on backend plugin model for frontend components, right now for data sources, will enable dropin plugins for data sources and panels, #1472

This commit is contained in:
Torkel Ödegaard
2015-02-27 22:29:00 +01:00
parent 5bd5713a52
commit c198242292
42 changed files with 159 additions and 249 deletions
+3 -4
View File
@@ -20,7 +20,6 @@ var (
ErrDataSourceNotFound = errors.New("Data source not found")
)
type DsType string
type DsAccess string
type DataSource struct {
@@ -29,7 +28,7 @@ type DataSource struct {
Version int
Name string
Type DsType
Type string
Access DsAccess
Url string
Password string
@@ -51,7 +50,7 @@ type DataSource struct {
type AddDataSourceCommand struct {
OrgId int64 `json:"-"`
Name string
Type DsType
Type string
Access DsAccess
Url string
Password string
@@ -67,7 +66,7 @@ type UpdateDataSourceCommand struct {
Id int64
OrgId int64
Name string
Type DsType
Type string
Access DsAccess
Url string
Password string