mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 19:54:10 -06:00
c2fb2dcfbe
* wire up search from the ui; add basic search support
28 lines
718 B
Go
28 lines
718 B
Go
package grafanads
|
|
|
|
const (
|
|
// QueryTypeRandomWalk returns a random walk series
|
|
queryTypeRandomWalk = "randomWalk"
|
|
|
|
// QueryTypeList will list the files in a folder
|
|
queryTypeSearch = "search"
|
|
|
|
// queryTypeSearchNext will perform a search query using the next generation search service
|
|
queryTypeSearchNext = "searchNext"
|
|
|
|
// QueryTypeList will list the files in a folder
|
|
queryTypeList = "list"
|
|
|
|
// QueryTypeRead will read a file and return it as data frames
|
|
// currently only .csv files are supported,
|
|
// other file types will eventually be supported (parquet, etc)
|
|
queryTypeRead = "read"
|
|
)
|
|
|
|
type listQueryModel struct {
|
|
Path string `json:"path"`
|
|
}
|
|
type readQueryModel struct {
|
|
Path string `json:"path"`
|
|
}
|