Documentation
¶
Index ¶
Constants ¶
View Source
const AppID = "railyard"
View Source
const Name = "railyard"
View Source
const Version = "0.1.0"
Variables ¶
This section is empty.
Functions ¶
func MonitorContainerd ¶
Types ¶
type DaemonState ¶
type DaemonState struct {
Status Status `json:"status,omitempty"`
MACAddress string `json:"mac-address,omitempty"`
MachineID []byte `json:"machine-id,omitempty"`
ControlSocket string `json:"control-socket,omitempty"`
IPv4Address string `json:"ipv4-address,omitempty"`
}
VirtualMachineState... stores persistent information across VM restarts.
func OpenDaemonState ¶
func OpenDaemonState(path string, status Status, ch <-chan DaemonState) (DaemonState, chan struct{}, error)
type GuestPort ¶
type GuestPort struct {
Proto ListenerProto
Port int
}
type Listener ¶
type Listener struct {
VM *VirtualMachine
// contains filtered or unexported fields
}
func NewListener ¶
type ListenerProto ¶
type ListenerProto string
const ( ListenerProtoTCP ListenerProto = "tcp" ListenerProtoUDP ListenerProto = "udp" )
Source Files
¶
Click to show internal directories.
Click to hide internal directories.