Class: Dash::Cli::Doctor::EndpointChecks
- Inherits:
-
Object
- Object
- Dash::Cli::Doctor::EndpointChecks
- Defined in:
- lib/dash/cli/doctor/endpoint_checks.rb
Overview
Local (no SSH) readiness checks for the domains dash-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/dash/cli/doctor/endpoint_checks.rb', line 12 def run dns_results + certificate_results end |