Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StatsQueryMaxRetries = 3 StatsQuerySleepPeriod = 3 * time.Second PortsQueryTimeout = 5 * time.Second )
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
Address string // host:port
Cores int // logical CPUs reported by the worker
Memory int64 // total memory in KB
Disk int64 // total disk in bytes
MemoryAllocated int64 // bytes reserved by the worker's running tasks
Stats stats.Stats
Role string
// contains filtered or unexported fields
}
func (*Node) ClearStats ¶
func (n *Node) ClearStats()
Click to show internal directories.
Click to hide internal directories.