Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrBadQuery ¶
type ErrBadQuery struct {
Message string
}
ErrBadQuery returned whenever request is malformed and must contain a message suitable to return in API response.
func NewErrBadQuery ¶
func NewErrBadQuery(msg string) *ErrBadQuery
func (ErrBadQuery) Error ¶
func (e ErrBadQuery) Error() string
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func ProvideService ¶
func ProvideService( cfg *setting.Cfg, dataSourceCache datasources.CacheService, expressionService *expr.Service, pluginRequestValidator models.PluginRequestValidator, SecretsService secrets.Service, pluginClient plugins.Client, oAuthTokenService oauthtoken.OAuthTokenService, ) *Service
func (*Service) QueryData ¶
func (s *Service) QueryData(ctx context.Context, user *models.SignedInUser, skipCache bool, reqDTO dtos.MetricRequest, handleExpressions bool) (*backend.QueryDataResponse, error)
QueryData can process queries and return query responses.
Click to show internal directories.
Click to hide internal directories.