Skip to content

Commit f4bc410

Browse files
feat(oncall): use selectors where required, raise Shift functions, and set required defaults (#29)
* fix(oncall): refer to EscalationChains using selectors * fix(oncall)!: require namespace for Escalation Chain references BREAKING CHANGE: Escalation Chain constructor now requires a `namespace` argument. * fix(oncall): fix docs argument mishap * fix(oncall): remove stray matchProvider * fix(oncall): use selectors for Integration references in Routes * fix(oncall): use selectors for Escalations * fix(oncall): reference Schedules with selectors * fix(oncall)!: require namespace for Schedule creation BREAKING CHANGE: Schedule constructor now requires a `namespace` argument. * fix(oncall): remove default value for required argument * feat(oncall): raise some raw shift functions * fix(oncall): set required Shift fields to defaults * docs(oncall): regenerate docs * fix(oncall): use selectors to reference shifts * refactor: tweak the changes a bit * chore: bump version --------- Co-authored-by: Duologic <[email protected]>
1 parent dca5099 commit f4bc410

File tree

15 files changed

+704
-508
lines changed

15 files changed

+704
-508
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LIBRARY_VERSION:=0.11.0
1+
LIBRARY_VERSION:=0.12.0
22
PROVIDER_VERSION:=0.38.0
33
JSONNET_BIN:=jrsonnet
44
CROSSPLANE?=crossplane

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Most of this library is generated: the Compositions/XRDs packages, Configuration
1111
## Install
1212

1313
```
14-
jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.11.0-0.38.0
14+
jb install github.com/grafana/grafana-crossplane-libsonnet/grafanaplane@0.12.0-0.38.0
1515
```
1616

1717
## Usage
@@ -27,7 +27,7 @@ local grafanaplane = import 'github.com/grafana/grafana-crossplane-libsonnet/gra
2727
* [cloud](cloud.md)
2828
* [configurations](configurations.md)
2929
* [global](global.md)
30-
* [oncall](oncall.md)
30+
* [oncall](oncall/index.md)
3131
* [oss](oss/index.md)
3232
* [raw](raw/index.md)
3333
* [sm](sm/index.md)

docs/oncall.md

Lines changed: 0 additions & 367 deletions
This file was deleted.

0 commit comments

Comments
 (0)