Versions in this module Expand all Collapse all v0 v0.1.1 Sep 4, 2026 v0.1.0 Aug 30, 2026 Changes in this version + var PortsQueryTimeout = 5 * time.Second + var StatsQueryMaxRetries = 3 + var StatsQuerySleepPeriod = 3 * time.Second + type Node struct + Address string + Cores int + Disk int64 + Memory int64 + MemoryAllocated int64 + Role string + Stats stats.Stats + func New(address, role string) (*Node, error) + func (n *Node) ClearStats() + func (n *Node) GetPorts() (*worker.OccupiedPorts, error) + func (n *Node) GetStats() (*stats.Stats, error) + func (n *Node) HasStats() bool + func (n *Node) Reachable() bool + func (n *Node) Snapshot() Snapshot + type Snapshot struct + Cores int + CpuUsage float64 + DiskFreeB int64 + MemUsedKB int64 + MemoryAllocatedB int64 + MemoryTotalKB int64 + TaskCount int