Documentation ¶
Overview ¶
Package iecore implements a metadata plugin that returns information about the Industrial Edge (“core”) runtime container, if present.
The (JSON) metadata is structured (inside “metadata”) as follows:
- “industrial-edge”: object
- “semversion"” string, semantic version
The IE core/runtime version is read from the container's /etc/os-release-container file, and its VERSION_ID variable in particular. Please note that this plugin silently fixes the broken “-e VERSION_ID” variable name present in some versions of the runtime container.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Metadata ¶
func Metadata(r gostwire.DiscoveryResult) map[string]interface{}
Metadata returns metadata describing certain aspects of the host the discovery was run on.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.