zones: introduce Machine.PublicAddresses()
Signed-off-by: Alejandro Mery <amery@jpi.io>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package zones
|
||||
|
||||
import (
|
||||
"net/netip"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
@@ -13,6 +14,8 @@ type Machine struct {
|
||||
zone *Zone
|
||||
id int
|
||||
Name string
|
||||
|
||||
PublicAddresses []netip.Addr
|
||||
}
|
||||
|
||||
func (m *Machine) String() string {
|
||||
|
||||
Reference in New Issue
Block a user