Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalDatasourceProxyPath ¶
GlobalDatasourceProxyPath builds the Perses proxy sub-path for a global datasource. subPath is the datasource-relative endpoint path (e.g. /api/v1/query_range).
func NormalizeMethod ¶
func NormalizePath ¶
func ProjectDatasourceProxyPath ¶
ProjectDatasourceProxyPath builds the Perses proxy sub-path for a project-scoped datasource. subPath is the datasource-relative endpoint path (e.g. /api/v1/query_range).
Types ¶
type Helper ¶
type Helper struct {
// contains filtered or unexported fields
}
func New ¶
func New(client apiClient.ClientInterface) *Helper
func (*Helper) Do ¶
func (h *Helper) Do(ctx context.Context, input ProxyQuery) (*QueryResult, error)
type ProxyQuery ¶
Click to show internal directories.
Click to hide internal directories.