Class: Consul::Client::HealthCheck

Inherits:
Base
  • Object
show all
Defined in:
lib/consul/client/health_check.rb

Overview

Represents Consul Health Check

www.consul.io/docs/agent/http/health.html

Instance Method Summary collapse

Methods inherited from Base

#initialize, #is_reachable

Constructor Details

This class inherits a constructor from Consul::Client::Base

Instance Method Details

#checks(service, opts = {}) ⇒ Object



17
18
19
# File 'lib/consul/client/health_check.rb', line 17

def checks(service, opts = {})

end

#node(node, opts = {}) ⇒ Object

Public return the health checks that correspond to



13
14
15
# File 'lib/consul/client/health_check.rb', line 13

def node(node, opts = {})

end