Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateGlobalDatasourceInput ¶
type CreateGlobalDatasourceInput struct {
Name string `json:"name" jsonschema:"Global Datasource name"`
Type string `json:"type" jsonschema:"Type of datasource"`
URL string `json:"url" jsonschema:"Datasource URL"`
DisplayName string `json:"display_name,omitempty" jsonschema:"Display name for the datasource (optional, defaults to name)"`
ProxyType string `` /* 152-byte string literal not displayed */
}
type DeleteGlobalDatasourceInput ¶
type DeleteGlobalDatasourceInput struct {
Name string `json:"name" jsonschema:"Global Datasource name to delete"`
}
type GetGlobalDatasourceByNameInput ¶
type GetGlobalDatasourceByNameInput struct {
Name string `json:"name" jsonschema:"Global Datasource name"`
}
type QueryGlobalDatasourceInput ¶ added in v0.2.0
type QueryGlobalDatasourceInput struct {
DatasourceName string `json:"datasource_name" jsonschema:"Datasource name"`
Method string `json:"method,omitempty" jsonschema:"HTTP method (default GET)"`
Path string `json:"path,omitempty" jsonschema:"Datasource endpoint path (e.g. /api/v1/query_range)"`
QueryParams map[string]string `json:"query_params,omitempty" jsonschema:"Query string parameters"`
Body string `json:"body,omitempty" jsonschema:"Raw request body (JSON or form payload)"`
Headers map[string]string `json:"headers,omitempty" jsonschema:"Optional additional request headers"`
}
type UpdateGlobalDatasourceInput ¶
type UpdateGlobalDatasourceInput struct {
Name string `json:"name" jsonschema:"Global Datasource name"`
Type string `json:"type" jsonschema:"Type of datasource"`
URL string `json:"url" jsonschema:"Datasource URL"`
DisplayName string `json:"display_name,omitempty" jsonschema:"Display name for the datasource (optional, defaults to name)"`
ProxyType string `` /* 152-byte string literal not displayed */
}
Click to show internal directories.
Click to hide internal directories.