Example #1
0
func TestMain(m *testing.M) {
	bridge.Register(new(skydns.Factory), "skydns2")
	os.Exit(m.Run())
}
Example #2
0
// InitConsulAdapter registers as a new bridge
func init() {
	log.Debugf("Calling consul init")
	bridge.Register(new(Factory), "consul")
}
Example #3
0
func init() {
	log.Debugf("Calling skydns2 init")
	bridge.Register(new(Factory), "etcd")
}