Sha256: 860ade267ba13c7319bdde76ef6d5102b704f64449fcd3ad2dfd9e83d07aaae1

Contents?: true

Size: 350 Bytes

Versions: 14

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module Orchestration
  module Services
    module NginxProxy
      class Healthcheck
        include HealthcheckBase

        def connect
          Net::HTTP.start('localhost', @configuration.local_port)
        end

        def connection_errors
          [Errno::ECONNREFUSED]
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
orchestration-0.3.8 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.7 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.6 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.5 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.4 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.3 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.2 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.1 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.3.0 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.2.8 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.2.7 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.2.6 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.2.5 lib/orchestration/services/nginx_proxy/healthcheck.rb
orchestration-0.2.4 lib/orchestration/services/nginx_proxy/healthcheck.rb