class

Consul::Health

Inherits Consul::Transport / Reference / Object

Instance methods

get_checks_for_node(node : String, datacenter : String | Nil = nil, filter : String | Nil = nil) : Array(Consul::Types::Health::Check)

get_checks_for_node returns the checks specific to the node provided on the path

Source
get_checks_for_service(service : String, datacenter : String | Nil = nil, near : String | Nil = nil, node_meta : String | Nil = nil, filter : String | Nil = nil) : Array(Consul::Types::Health::Check)

get_checks_for_service returns the checks associated with the service provided on the path

Source
get_checks_in_state(state : String, datacenter : String | Nil = nil, near : String | Nil = nil, node_meta : String | Nil = nil, filter : String | Nil = nil) : Array(Consul::Types::Health::Check)

get_checks_in_state returns the checks in the state provided on the path

Source
get_connect_nodes(service : String) : Array(Consul::Types::Health::NodeService)

get_connect_nodes returns the nodes providing a Connect-capable service in a given datacenter. This will include both proxies and native integrations

Source
get_nodes_for_service(service : String, datacenter : String | Nil = nil, near : String | Nil = nil, tag : String | Nil = nil, node_meta : String | Nil = nil, passing : String | Nil = nil, filter : String | Nil = nil) : Array(Consul::Types::Health::NodeService)

get_nodes_for_service returns the nodes providing the service indicated on the path

Source