|
|
|
@ -9,10 +9,10 @@ import (
|
|
|
|
|
type Machine struct { |
|
|
|
|
zone *Zone |
|
|
|
|
ID int |
|
|
|
|
Name string `toml:"name"` |
|
|
|
|
Name string `toml:"name" yaml:"-"` |
|
|
|
|
|
|
|
|
|
PublicAddresses []netip.Addr `toml:"public,omitempty"` |
|
|
|
|
Rings []*RingInfo `toml:"rings,omitempty"` |
|
|
|
|
PublicAddresses []netip.Addr `toml:"public,omitempty" yaml:"public,omitempty"` |
|
|
|
|
Rings []*RingInfo `toml:"rings,omitempty" yaml:"rings,omitempty"` |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (m *Machine) String() string { |
|
|
|
|