Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrInfluxdbInvalidResponse = errors.Error("Influxdb invalid status")
)
Variables ¶
This section is empty.
Functions ¶
func NewInfluxdbExecutor ¶
func NewInfluxdbExecutor(datasource *tsdb.DataSource) (tsdb.TsdbQueryEndpoint, error)
Types ¶
type DefinitionParameters ¶
type InfluxdbExecutor ¶
type InfluxdbExecutor struct { QueryParser *InfluxdbQueryParser ResponseParser *ResponseParser }
type InfluxdbQueryParser ¶
type InfluxdbQueryParser struct{}
func (*InfluxdbQueryParser) Parse ¶
func (qp *InfluxdbQueryParser) Parse(model *tsdb.Query, dsInfo *tsdb.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
Click to show internal directories.
Click to hide internal directories.