engines

package
v2.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 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 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.

Jump to

Keyboard shortcuts

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