Skip to content

Commit e0142e6

Browse files
github-actions[bot]K-Phoen
authored andcommitted
Prepare v0.0.10 release
1 parent 6c690da commit e0142e6

26 files changed

Lines changed: 4392 additions & 4386 deletions

File tree

.release/tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.0.9
1+
v0.0.10

go/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ A set of tools, types and *builder libraries* for building and manipulating Graf
55
## Installing
66

77
```shell
8-
go get github.com/grafana/grafana-foundation-sdk/go@v0.0.9
8+
go get github.com/grafana/grafana-foundation-sdk/go@v0.0.10
99
```
1010

1111
## Example usage

go/docs/Examples.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ Each example showcases different aspects of building dashboards as code:
3030
* [`red-method`](https://github.com/grafana/grafana-foundation-sdk/blob/main/examples/go/red-method):
3131
* example of a dashboard following
3232
the [RED method](https://grafana.com/blog/2018/08/02/the-red-method-how-to-instrument-your-services/#the-red-method)
33+
* [`dashboardv2beta1-with-tabs-and-rows`](https://github.com/grafana/grafana-foundation-sdk/blob/main/examples/go/dashboardv2beta1-with-tabs-and-rows):
34+
* example of a dashboard using the Dashboard.v2beta1 schema
35+
* uses tabs and rows in its layout

go/docs/Installing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Installing
22

33
```shell
4-
go get github.com/grafana/grafana-foundation-sdk/go@v0.0.9
4+
go get github.com/grafana/grafana-foundation-sdk/go@v0.0.10
55
```

go/docs/Reference/alerting/index.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -187,22 +187,6 @@ NewMonthRange creates a new MonthRange object.
187187
func NewMonthRange() *MonthRange
188188
```
189189

190-
### <span class="badge function"></span> QueryConverter
191-
192-
QueryConverter accepts a `Query` object and generates the Go code to build this object using builders.
193-
194-
```go
195-
func QueryConverter(input Query) string
196-
```
197-
198-
### <span class="badge function"></span> RuleGroupConverter
199-
200-
RuleGroupConverter accepts a `RuleGroup` object and generates the Go code to build this object using builders.
201-
202-
```go
203-
func RuleGroupConverter(input RuleGroup) string
204-
```
205-
206190
### <span class="badge function"></span> NotificationSettingsConverter
207191

208192
NotificationSettingsConverter accepts a `NotificationSettings` object and generates the Go code to build this object using builders.
@@ -243,14 +227,6 @@ NotificationTemplateConverter accepts a `NotificationTemplate` object and genera
243227
func NotificationTemplateConverter(input NotificationTemplate) string
244228
```
245229

246-
### <span class="badge function"></span> RuleConverter
247-
248-
RuleConverter accepts a `Rule` object and generates the Go code to build this object using builders.
249-
250-
```go
251-
func RuleConverter(input Rule) string
252-
```
253-
254230
### <span class="badge function"></span> RecordRuleConverter
255231

256232
RecordRuleConverter accepts a `RecordRule` object and generates the Go code to build this object using builders.
@@ -315,3 +291,27 @@ MonthRangeConverter accepts a `MonthRange` object and generates the Go code to b
315291
func MonthRangeConverter(input MonthRange) string
316292
```
317293

294+
### <span class="badge function"></span> RuleGroupConverter
295+
296+
RuleGroupConverter accepts a `RuleGroup` object and generates the Go code to build this object using builders.
297+
298+
```go
299+
func RuleGroupConverter(input RuleGroup) string
300+
```
301+
302+
### <span class="badge function"></span> RuleConverter
303+
304+
RuleConverter accepts a `Rule` object and generates the Go code to build this object using builders.
305+
306+
```go
307+
func RuleConverter(input Rule) string
308+
```
309+
310+
### <span class="badge function"></span> QueryConverter
311+
312+
QueryConverter accepts a `Query` object and generates the Go code to build this object using builders.
313+
314+
```go
315+
func QueryConverter(input Query) string
316+
```
317+

go/docs/Reference/dashboard/index.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -514,22 +514,6 @@ DashboardMetaConverter accepts a `DashboardMeta` object and generates the Go cod
514514
func DashboardMetaConverter(input DashboardMeta) string
515515
```
516516

517-
### <span class="badge function"></span> DashboardConverter
518-
519-
DashboardConverter accepts a `Dashboard` object and generates the Go code to build this object using builders.
520-
521-
```go
522-
func DashboardConverter(input Dashboard) string
523-
```
524-
525-
### <span class="badge function"></span> TimePickerConverter
526-
527-
TimePickerConverter accepts a `TimePicker` object and generates the Go code to build this object using builders.
528-
529-
```go
530-
func TimePickerConverter(input TimePickerConfig) string
531-
```
532-
533517
### <span class="badge function"></span> TimeOptionConverter
534518

535519
TimeOptionConverter accepts a `TimeOption` object and generates the Go code to build this object using builders.
@@ -538,22 +522,6 @@ TimeOptionConverter accepts a `TimeOption` object and generates the Go code to b
538522
func TimeOptionConverter(input TimeOption) string
539523
```
540524

541-
### <span class="badge function"></span> PanelConverter
542-
543-
PanelConverter accepts a `Panel` object and generates the Go code to build this object using builders.
544-
545-
```go
546-
func PanelConverter(input Panel) string
547-
```
548-
549-
### <span class="badge function"></span> DashboardLinkConverter
550-
551-
DashboardLinkConverter accepts a `DashboardLink` object and generates the Go code to build this object using builders.
552-
553-
```go
554-
func DashboardLinkConverter(input DashboardLink) string
555-
```
556-
557525
### <span class="badge function"></span> ThresholdsConfigConverter
558526

559527
ThresholdsConfigConverter accepts a `ThresholdsConfig` object and generates the Go code to build this object using builders.
@@ -602,14 +570,6 @@ ActionVariableConverter accepts a `ActionVariable` object and generates the Go c
602570
func ActionVariableConverter(input ActionVariable) string
603571
```
604572

605-
### <span class="badge function"></span> RowConverter
606-
607-
RowConverter accepts a `Row` object and generates the Go code to build this object using builders.
608-
609-
```go
610-
func RowConverter(input RowPanel) string
611-
```
612-
613573
### <span class="badge function"></span> AnnotationQueryConverter
614574

615575
AnnotationQueryConverter accepts a `AnnotationQuery` object and generates the Go code to build this object using builders.
@@ -698,6 +658,46 @@ DashboardActionStyleConverter accepts a `DashboardActionStyle` object and genera
698658
func DashboardActionStyleConverter(input DashboardActionStyle) string
699659
```
700660

661+
### <span class="badge function"></span> TimePickerConverter
662+
663+
TimePickerConverter accepts a `TimePicker` object and generates the Go code to build this object using builders.
664+
665+
```go
666+
func TimePickerConverter(input TimePickerConfig) string
667+
```
668+
669+
### <span class="badge function"></span> PanelConverter
670+
671+
PanelConverter accepts a `Panel` object and generates the Go code to build this object using builders.
672+
673+
```go
674+
func PanelConverter(input Panel) string
675+
```
676+
677+
### <span class="badge function"></span> DashboardConverter
678+
679+
DashboardConverter accepts a `Dashboard` object and generates the Go code to build this object using builders.
680+
681+
```go
682+
func DashboardConverter(input Dashboard) string
683+
```
684+
685+
### <span class="badge function"></span> RowConverter
686+
687+
RowConverter accepts a `Row` object and generates the Go code to build this object using builders.
688+
689+
```go
690+
func RowConverter(input RowPanel) string
691+
```
692+
693+
### <span class="badge function"></span> DashboardLinkConverter
694+
695+
DashboardLinkConverter accepts a `DashboardLink` object and generates the Go code to build this object using builders.
696+
697+
```go
698+
func DashboardLinkConverter(input DashboardLink) string
699+
```
700+
701701
### <span class="badge function"></span> QueryVariableConverter
702702

703703
QueryVariableConverter accepts a `QueryVariable` object and generates the Go code to build this object using builders.

0 commit comments

Comments
 (0)