Documentation ¶ Overview ¶ Package nodeinfo provides information about current node. Index ¶ type NodeInfo func Get() *NodeInfo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type NodeInfo ¶ type NodeInfo struct { Container bool Distro string MachineID string // Public/external address that can be used for scraping by Prometheus. PublicAddress string } NodeInfo contains node information. func Get ¶ func Get() *NodeInfo Get returns node information for current node. Source Files ¶ View all Source files nodeinfo.go Click to show internal directories. Click to hide internal directories.