|
|
|
@ -10,8 +10,8 @@ import (
|
|
|
|
|
// A Machine is a machine on a Zone
|
|
|
|
|
type Machine struct { |
|
|
|
|
zone *Zone |
|
|
|
|
ID int |
|
|
|
|
Name string `toml:"name" json:"-" yaml:"-"` |
|
|
|
|
ID int `toml:"id"` |
|
|
|
|
Name string `toml:"-" json:"-" yaml:"-"` |
|
|
|
|
|
|
|
|
|
PublicAddresses []netip.Addr `toml:"public,omitempty" json:"public,omitempty" yaml:"public,omitempty"` |
|
|
|
|
Rings []*RingInfo `toml:"rings,omitempty" json:"rings,omitempty" yaml:"rings,omitempty"` |
|
|
|
|