docker

package
v0.0.0-...-aca2af5 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(labels map[string]string, interval time.Duration, config check.Config) (check.Check, error)

Check creates a health check that periodically ensures all containers with the given labels are running. The check uses the local Docker socket and verifies that every matching container is in the "running" state. It fails if no containers match, if any matched container is not running, or if the background result is stale.

Types

This section is empty.

Jump to

Keyboard shortcuts

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