internal/

directory
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0

Directories

Path Synopsis
Package actions provides core logic for Watchtower's container update operations.
Package actions provides core logic for Watchtower's container update operations.
mocks
Package mocks provides mock implementations for testing Watchtower components.
Package mocks provides mock implementations for testing Watchtower components.
api
Package api provides Watchtower's HTTP API server, built on Fiber v3.
Package api provides Watchtower's HTTP API server, built on Fiber v3.
config
Package config defines the shared configuration types, validation functions, and sentinel errors used across the API packages.
Package config defines the shared configuration types, validation functions, and sentinel errors used across the API packages.
handlers/check
Package check provides the /v1/check endpoint for read-only update availability checks.
Package check provides the /v1/check endpoint for read-only update availability checks.
handlers/config
Package config provides the HTTP handler for the /v1/config endpoint.
Package config provides the HTTP handler for the /v1/config endpoint.
handlers/containers
Package containers provides the /v1/containers HTTP API endpoint, exposing the current image identity (name, local ID, and registry manifest digest) of each container Watchtower watches.
Package containers provides the /v1/containers HTTP API endpoint, exposing the current image identity (name, local ID, and registry manifest digest) of each container Watchtower watches.
handlers/containers/details
Package details provides the /v1/containers/details HTTP API endpoint, exposing detailed information about a single watched container including its image identity, digest, and update availability status.
Package details provides the /v1/containers/details HTTP API endpoint, exposing detailed information about a single watched container including its image identity, digest, and update availability status.
handlers/events
Package events provides the /v1/events HTTP API endpoint for real-time Server-Sent Events (SSE).
Package events provides the /v1/events HTTP API endpoint for real-time Server-Sent Events (SSE).
handlers/health
Package health provides HTTP health check handlers for Watchtower.
Package health provides HTTP health check handlers for Watchtower.
handlers/history
Package history provides the /v1/history HTTP API endpoint, exposing historical scan results from the in-memory ring buffer (up to 500 entries).
Package history provides the /v1/history HTTP API endpoint, exposing historical scan results from the in-memory ring buffer (up to 500 entries).
handlers/images
Package images provides the /v1/images HTTP API endpoint, exposing the current image identity (name, local ID, registry manifest digest) and container count for each image Watchtower tracks.
Package images provides the /v1/images HTTP API endpoint, exposing the current image identity (name, local ID, registry manifest digest) and container count for each image Watchtower tracks.
handlers/metrics
Package metrics provides the /v1/metrics HTTP API endpoint for serving Prometheus metrics.
Package metrics provides the /v1/metrics HTTP API endpoint for serving Prometheus metrics.
handlers/update
Package update provides an HTTP API handler for triggering Watchtower container updates.
Package update provides an HTTP API handler for triggering Watchtower container updates.
routes
Package routes registers all enabled API endpoints on a Fiber application.
Package routes registers all enabled API endpoints on a Fiber application.
swagger
Package swagger Code generated by swaggo/swag.
Package swagger Code generated by swaggo/swag.
Package config resolves process configuration into a single immutable Config.
Package config resolves process configuration into a single immutable Config.
api
Package api holds HTTP API transport and endpoint settings.
Package api holds HTTP API transport and endpoint settings.
client
Package client holds Docker client construction options derived from flags.
Package client holds Docker client construction options derived from flags.
compatibility
Package compatibility holds runtime compatibility settings (for example Podman).
Package compatibility holds runtime compatibility settings (for example Podman).
docker
Package docker holds Docker API connection settings.
Package docker holds Docker API connection settings.
filter
Package filter holds container selection inputs and the resolved filter.
Package filter holds container selection inputs and the resolved filter.
lifecycle
Package lifecycle holds pre/post update lifecycle hook settings.
Package lifecycle holds pre/post update lifecycle hook settings.
logging
Package logging holds console logging settings.
Package logging holds console logging settings.
mode
Package mode holds process entry-shape settings.
Package mode holds process entry-shape settings.
notify
Package notify holds notification settings for the config domain.
Package notify holds notification settings for the config domain.
registry
Package registry holds registry TLS settings.
Package registry holds registry TLS settings.
schedule
Package schedule holds poll interval and cron schedule settings.
Package schedule holds poll interval and cron schedule settings.
update
Package update holds container update policy settings.
Package update holds container update policy settings.
Package flags manages command-line flags and environment variables for Watchtower configuration.
Package flags manages command-line flags and environment variables for Watchtower configuration.
api
Package api registers HTTP API transport and endpoint flags.
Package api registers HTTP API transport and endpoint flags.
client
Package client registers Docker client construction flags.
Package client registers Docker client construction flags.
compat
Package compat registers runtime compatibility flags.
Package compat registers runtime compatibility flags.
docker
Package docker registers Docker API client flags.
Package docker registers Docker API client flags.
filter
Package filter registers container selection flags.
Package filter registers container selection flags.
lifecycle
Package lifecycle registers pre/post update lifecycle hook flags.
Package lifecycle registers pre/post update lifecycle hook flags.
logging
Package logging registers console logging flags.
Package logging registers console logging flags.
mode
Package mode registers process entry-shape flags.
Package mode registers process entry-shape flags.
notify
Package notify registers notification-related CLI and environment flags.
Package notify registers notification-related CLI and environment flags.
registry
Package registry registers registry TLS flags.
Package registry registers registry TLS flags.
schedule
Package schedule registers poll interval and cron schedule flags.
Package schedule registers poll interval and cron schedule flags.
spec
Package spec defines shared flag metadata used by domain registration and Viper bind.
Package spec defines shared flag metadata used by domain registration and Viper bind.
update
Package update registers container update policy flags.
Package update registers container update policy flags.
utils
Package utils provides shared helpers for flag registration and value parsing.
Package utils provides shared helpers for flag registration and value parsing.
Package logging provides zerolog construction and configuration helpers for Watchtower.
Package logging provides zerolog construction and configuration helpers for Watchtower.
Package meta provides centralized application metadata for Watchtower.
Package meta provides centralized application metadata for Watchtower.
Package metrics provides tracking and exposure of Watchtower scan metrics.
Package metrics provides tracking and exposure of Watchtower scan metrics.
Package scheduling provides functionality for scheduling and executing container updates in Watchtower.
Package scheduling provides functionality for scheduling and executing container updates in Watchtower.
Package util provides utility functions for Watchtower operations.
Package util provides utility functions for Watchtower operations.

Jump to

Keyboard shortcuts

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