engines

package
v2.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: MIT Imports: 4 Imported by: 0

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, regardless of currently with or without workload (that is, alive containers).

Types

type EngineMeta

type EngineMeta struct {
	ID      string        `json:"id"`
	Type    string        `json:"type"`
	Version string        `json:"version"`
	PID     model.PIDType `json:"pid"`
}

EngineMeta contains meta-information about an individual container engine with active workload.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL