Files
karma/internal/alertmanager/mapper.go
Łukasz Mierzwa 5d4ae47888 Convert all packages to be internal
Internal packages are supported by Go 1.5+, any package in /internal/ dir is only importable from the same repo. This will cleanup main dir a bit and provide better namespace for unsee subpackages
2017-08-04 16:21:27 -07:00

20 lines
621 B
Go

package alertmanager
import (
"github.com/cloudflare/unsee/internal/mapper"
"github.com/cloudflare/unsee/internal/mapper/v04"
"github.com/cloudflare/unsee/internal/mapper/v05"
"github.com/cloudflare/unsee/internal/mapper/v061"
"github.com/cloudflare/unsee/internal/mapper/v062"
)
// initialize all mappers
func init() {
mapper.RegisterAlertMapper(v04.AlertMapper{})
mapper.RegisterAlertMapper(v05.AlertMapper{})
mapper.RegisterAlertMapper(v061.AlertMapper{})
mapper.RegisterAlertMapper(v062.AlertMapper{})
mapper.RegisterSilenceMapper(v04.SilenceMapper{})
mapper.RegisterSilenceMapper(v05.SilenceMapper{})
}