moby

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package moby implements the engine detector for Docker “dockerd” processes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detector

type Detector struct{}

Detector implements the detect.Detector interface. This is automatically type-checked by the previous plugin registration (Generics can be sweet, sometimes *snicker*).

func (*Detector) EngineNames

func (d *Detector) EngineNames() []string

EngineNames returns the process name of the Docker/moby engine process.

func (*Detector) NewWatchers

func (d *Detector) NewWatchers(ctx context.Context, pid model.PIDType, apis []string) []watcher.Watcher

NewWatchers returns a single watcher for tracking alive Docker containers.

Jump to

Keyboard shortcuts

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