mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 04:59:15 -06:00
d665306ad1
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
25 lines
588 B
Go
25 lines
588 B
Go
package grafanads
|
|
|
|
const (
|
|
// QueryTypeRandomWalk returns a random walk series
|
|
queryTypeRandomWalk = "randomWalk"
|
|
|
|
// QueryTypeList will list the files in a folder
|
|
queryTypeSearch = "search"
|
|
|
|
// 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"`
|
|
}
|