INNER CODE UNIT · Go

containerLookupTimeout

nicholas-fedor/watchtower · cmd/root.go:47

	containerLookupTimeout = 5 * time.Second
)

var (
	// appCfg is the resolved process configuration from appconfig.Load.
	//
	// It is the single source of operational policy for run-once, schedule, and API paths.
	// Values originate from CLI flags and environment variables registered in internal/flags
	// and are resolved once at startup (and again in run when positional container names apply).
	appCfg appConfig.Config

	// client is the Docker client instance used to interact with container operations in Watchtower.
	//
	// It provides an interface for listing, stopping, starting, and managing containers, initialized during
	// the preRun phase with options derived from appCfg.ClientOptions() (DOCKER_HOST, TLS, API version, and
	// related client flags/environment variables).
	client container.Client

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…