zones: introduce RingInfo and Machine.Rings
RingInfo includes Wireguard ring related details Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -16,9 +16,10 @@ type Machine struct {
|
||||
|
||||
zone *Zone
|
||||
id int
|
||||
Name string
|
||||
Name string `toml:"name"`
|
||||
|
||||
PublicAddresses []netip.Addr
|
||||
PublicAddresses []netip.Addr `toml:"public,omitempty"`
|
||||
RingAddresses []*RingInfo `toml:"rings,omitempty"`
|
||||
}
|
||||
|
||||
func (m *Machine) String() string {
|
||||
|
||||
Reference in New Issue
Block a user