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.
Click to show internal directories.
Click to hide internal directories.