Documentation ¶
Overview ¶
Package engines implements a metadata plugin returning information about the container engines for which containers were discovered. Container engines without any workload won't be listed.
The (JSON) metadata is structured (inside “metadata”) as follows:
- “container-engines”: object
- “id”: string
- “type”: string
- “version”: string
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 about the container engines currently with workload (that is, alive containers).
Types ¶
type EngineMeta ¶
type EngineMeta struct { ID string `json:"id"` Type string `json:"type"` Version string `json:"version"` }
EngineMeta contains meta-information about an individual container engine with active workload.
Click to show internal directories.
Click to hide internal directories.