Class: Kamal::Cli::Doctor::EndpointChecks
- Inherits:
-
Object
- Object
- Kamal::Cli::Doctor::EndpointChecks
- Defined in:
- lib/kamal/cli/doctor/endpoint_checks.rb
Overview
Local (no SSH) readiness checks for the domains kamal-proxy will serve: DNS resolution against the configured hosts and TLS certificate expiry.
Constant Summary collapse
- CERTIFICATE_EXPIRY_WARN_DAYS =
14- SECONDS_PER_DAY =
86_400- TLS_CONNECT_TIMEOUT =
5
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
12 13 14 |
# File 'lib/kamal/cli/doctor/endpoint_checks.rb', line 12 def run dns_results + certificate_results end |