module

HoundDog

Inherits Habitat::SettingsHelpers < Habitat::TempConfig

Transparently manage service discovery through consistent hashing and ETCD

Constants

HABITAT_SETTINGS = [{decl: service_namespace : String = ENV["HD_SERVICE_NAMESPACE"]? || "service", example: nil, validation: nil}, {decl: etcd_host : String = ENV["ETCD_HOST"]? || "127.0.0.1", example: nil, validation: nil}, {decl: etcd_port : Int32 = (ENV["ETCD_PORT"]? || 2379).to_i, example: nil, validation: nil}, {decl: etcd_ttl : Int64 = (ENV["ETCD_TTL"]? || 15).to_i64, example: nil, validation: nil}] of Nil
Log = ::Log.for(self)

Class methods

configure
Source
etcd_client

Single connection

Source
etcd_client

Yield etcd connection, closing after block returns

Source
settings
Source

Instance methods

settings
Source

Nested types