Documentation ¶
Index ¶
- Variables
- func NewInfluxDBExecutor(datasource *models.DataSource) (tsdb.TsdbQueryEndpoint, error)
- type DefinitionParameters
- type InfluxDBExecutor
- type InfluxdbQueryParser
- type Message
- type Query
- type QueryDefinition
- type QueryPart
- type Response
- type ResponseParser
- type Result
- type Row
- type Select
- type Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidHttpMode error = errors.New("'httpMode' should be either 'GET' or 'POST'")
Functions ¶
func NewInfluxDBExecutor ¶
func NewInfluxDBExecutor(datasource *models.DataSource) (tsdb.TsdbQueryEndpoint, error)
Types ¶
type DefinitionParameters ¶
type InfluxDBExecutor ¶
type InfluxDBExecutor struct { // *models.DataSource QueryParser *InfluxdbQueryParser ResponseParser *ResponseParser }
type InfluxdbQueryParser ¶
type InfluxdbQueryParser struct{}
func (*InfluxdbQueryParser) Parse ¶
func (qp *InfluxdbQueryParser) Parse(model *simplejson.Json, dsInfo *models.DataSource) (*Query, error)
type Query ¶
type QueryDefinition ¶
type QueryPart ¶
type QueryPart struct { Def QueryDefinition Type string Params []string }
type ResponseParser ¶
type ResponseParser struct{}
func (*ResponseParser) Parse ¶
func (rp *ResponseParser) Parse(response *Response, query *Query) *tsdb.QueryResult
Source Files ¶
Click to show internal directories.
Click to hide internal directories.