Documentation ¶
Index ¶
- func NewDatasource() datasource.ServeOpts
- type OwntracksDatasource
- func (owntracksDatasource *OwntracksDatasource) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
- func (ds *OwntracksDatasource) Client(pluginctx backend.PluginContext) (client.Client, error)
- func (owntracksDatasource *OwntracksDatasource) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
- func (ds *OwntracksDatasource) Settings(pluginctx backend.PluginContext) (*datasourceSettings, error)
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatasource ¶
func NewDatasource() datasource.ServeOpts
Types ¶
type OwntracksDatasource ¶
type OwntracksDatasource struct {
// contains filtered or unexported fields
}
OwntracksDatasource implements a datasource with Owntracks' Recorder as its backend
func (*OwntracksDatasource) CheckHealth ¶
func (owntracksDatasource *OwntracksDatasource) CheckHealth(ctx context.Context, req *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
func (*OwntracksDatasource) Client ¶
func (ds *OwntracksDatasource) Client(pluginctx backend.PluginContext) (client.Client, error)
func (*OwntracksDatasource) QueryData ¶
func (owntracksDatasource *OwntracksDatasource) QueryData(ctx context.Context, req *backend.QueryDataRequest) (*backend.QueryDataResponse, error)
func (*OwntracksDatasource) Settings ¶
func (ds *OwntracksDatasource) Settings(pluginctx backend.PluginContext) (*datasourceSettings, error)
Click to show internal directories.
Click to hide internal directories.