alertmanager/api/v2
gotjosh bc7b16d61a
API: Make conversion functions public (#2530)
* API: Make conversion functions public

All types are public so it makes sense to make these functions also
public for ease of downstream consumption.

Signed-off-by: gotjosh <josue@grafana.com>

* Add the license header to the new file

Signed-off-by: gotjosh <josue@grafana.com>

* Fix tests

Signed-off-by: gotjosh <josue@grafana.com>

* Make two more helper functions public

Signed-off-by: gotjosh <josue@grafana.com>
2021-03-31 13:28:06 +05:30
..
client Update go-openapi to latest 2021-03-10 19:00:22 +01:00
models Update go-openapi to latest 2021-03-10 19:00:22 +01:00
restapi Update go-openapi to latest 2021-03-10 19:00:22 +01:00
api.go API: Make conversion functions public (#2530) 2021-03-31 13:28:06 +05:30
api_test.go API: Make conversion functions public (#2530) 2021-03-31 13:28:06 +05:30
compat.go API: Make conversion functions public (#2530) 2021-03-31 13:28:06 +05:30
openapi.yaml api/v2: Add Matcher.IsEqual to support all types 2021-02-16 14:22:59 +02:00