DataQueryKind🔗
Definition🔗
type DataQueryKind struct {
Kind string `json:"kind"`
Group string `json:"group"`
Version string `json:"version"`
// New type for datasource reference
// Not creating a new type until we figure out how to handle DS refs for group by, adhoc, and every place that uses DataSourceRef in TS.
Datasource *dashboardv2beta1.Dashboardv2beta1DataQueryKindDatasource `json:"datasource,omitempty"`
Spec any `json:"spec"`
}
Methods🔗
UnmarshalJSON🔗
UnmarshalJSON implements a custom JSON unmarshalling logic to decode DataQueryKind from JSON.
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode DataQueryKind from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
Equals🔗
Equals tests the equality of two DataQueryKind objects.
Validate🔗
Validate checks all the validation constraints that may be defined on DataQueryKind fields for violations and returns them.
See also🔗
- athena.QueryBuilder
- azuremonitor.QueryBuilder
- bigquery.QueryBuilder
- cloudwatch.QueryBuilder
- DataQueryKindBuilder
- datasource.QueryBuilder
- elasticsearch.QueryBuilder
- expr.QueryBuilder
- googlecloudmonitoring.QueryBuilder
- grafanapyroscope.QueryBuilder
- loki.QueryBuilder
- parca.QueryBuilder
- prometheus.QueryBuilder
- tempo.QueryBuilder
- testdata.QueryBuilder