Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsLocalMachineID ¶
IsLocalMachineID returns whether the given machine ID is equal to that of the local machine
Types ¶
type Machine ¶
type Machine interface {
ID() string
ShortID() string
MatchID(ID string) bool
Status() *MachineStatus
Monitor(<-chan struct{})
}
type MachineInfo ¶
type MachineStat ¶
type MachineStatus ¶
type MachineStatus struct {
MachID string
IsAlive bool
MachInfo MachineInfo
MachStat MachineStat
}
Click to show internal directories.
Click to hide internal directories.