Documentation ¶
Overview ¶
Package decorator defines the Decorator plug-in interface, where 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 ¶
const PluginGroup = "lxkns/plugingroup/decorator"
PluginGroup specifies the name of the plugger group (simple plugin manager) for decorator plugins.
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.
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 industrialedge decorates the composer-project flavor of Siemens Industrial Edge apps when an IE App project is detected.
|
Package industrialedge decorates the composer-project flavor of Siemens Industrial Edge 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. |
cricontainerd
Package cricontainerd decorates Kubernetes pod groups discovered from CRI-managed containers, based on their CRI-related labels.
|
Package cricontainerd 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. |