Class: Dryad::Consul::Service
- Inherits:
-
Dryad::Core::Service
- Object
- Dryad::Core::Service
- Dryad::Consul::Service
- Defined in:
- lib/dryad/consul/service.rb
Instance Method Summary collapse
Instance Method Details
#to_registers ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/dryad/consul/service.rb', line 4 def to_registers portals.map do |portal| { ID: portal.id, Name: Service.full_name(portal.schema, name), Address: address, Port: portal.port, EnableTagOverride: true, Tags: (portal), Checks: checks(portal) } end end |