decorator

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package decorator defines the Decorate plug-in interface, where the so-called “decorators” adorn the container information model with additional data, such as container grouping and unified pod-related container labels.

Sub-packages contain specific decorators for (Docker) composer groups, Kubernetes pod (groups), et cetera.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decorate

type Decorate func(engines []*model.ContainerEngine, labels map[string]string)

Decorate the discovered containers with groups, group-related container labels, et cetera. Instead of passing in all containers as a flat list, the containers are implicitly specified through their responsible container engines in order to allow decorators to apply engine-specific optimizations. The decoration can optionally be controlled for supporting decorators through labels (key-value pairs) specified as part of the discovery process.

This type doubles as an exposed plugin symbol type for use with plugger/v3.

Directories

Path Synopsis
Package all imports and activates all lxkns (container) decorator plugins, activating them during discoveries.
Package all imports and activates all lxkns (container) decorator plugins, activating them during discoveries.
Package composer decorates lxkns information models with (Docker) Composer project groups.
Package composer decorates lxkns information models with (Docker) Composer project groups.
Package dockerplugin decorates containerd containers that are represent managed Docker plugins.
Package dockerplugin decorates containerd containers that are represent managed Docker plugins.
Package industrialedge decorates the composer-project flavor of [Siemens Industrial Edge] apps (“IE apps”) when an IE App project is detected.
Package industrialedge decorates the composer-project flavor of [Siemens Industrial Edge] apps (“IE apps”) when an IE App project is detected.
Package kuhbernetes provides Decorators for “recovering” Kubernetes pods from the containers found.
Package kuhbernetes provides Decorators for “recovering” Kubernetes pods from the containers found.
cri
Package cri decorates Kubernetes pod groups discovered from CRI-managed containers, based on their CRI-related labels.
Package cri decorates Kubernetes pod groups discovered from CRI-managed containers, based on their CRI-related labels.
dockershim
Package dockershim decorates Kubernetes pod groups discovered from Docker container names managed by the (in)famous Docker shim.
Package dockershim decorates Kubernetes pod groups discovered from Docker container names managed by the (in)famous Docker shim.

Jump to

Keyboard shortcuts

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