4f534f7cf1
Signed-off-by: Alejandro Mery <amery@jpi.io>
31 lines
560 B
Go
31 lines
560 B
Go
// Package dns manages DNS entries for the cluster
|
|
package dns
|
|
|
|
//// A Config defines a Region
|
|
//type Config struct {
|
|
// // Name is the identifier of this Region
|
|
// Name string
|
|
// // Regions are a list of (sub)regions that belong to this Region
|
|
// Regions []string
|
|
// // Zones are a list of Zones that directly belong to this Region
|
|
// Zones []string
|
|
//}
|
|
//
|
|
//type Region struct {
|
|
// Name string
|
|
//}
|
|
//
|
|
//type Zone struct {
|
|
// Name string
|
|
//
|
|
// Machines map[int]*Machine
|
|
//}
|
|
//
|
|
//type Machine struct {
|
|
// ID int
|
|
//
|
|
// Active bool
|
|
// Addrs []netip.Addr
|
|
//}
|
|
//
|