Documentation ¶
Overview ¶
Package containerizer provides the implementations to store data about Containers and ContainerEngines. Subpackages implement Containerizers that discover Containers from certain container engines.
Nota bene: the lxkns model defines only the Container and ContainerEngine interfaces instead of implementations in order to break import cycles that otherwise would invariably occur.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Containerizer ¶
type Containerizer interface { // Discover user-level "alive" containers. // // Please note that depending on the particular containerizer implementation // the context might be used or not used at all. Containers(ctx context.Context, procs model.ProcessTable, pidmap model.PIDMapper) []*model.Container // Close and release all resources allocated by this Containerizer. Close() }
Containerizer discovers containers and relates them to processes (and thus also to Linux-kernel namespaces). A Containerizer can optionally be passed to a namespace discovery via the discovery options; the containerizer then will be called in order to discover any "alive" containers.
Directories ¶
Path | Synopsis |
---|---|
Package whalefriend implements a Containerizer that discovers containers from container engines supported by the github.com/thediveo/whalewatcher module, such as Docker and containerd (moby & friends).
|
Package whalefriend implements a Containerizer that discovers containers from container engines supported by the github.com/thediveo/whalewatcher module, such as Docker and containerd (moby & friends). |