Class: EtcdTools::Watchdog::HAproxy

Inherits:
Init
  • Object
show all
Includes:
HAproxy
Included in:
HAproxy
Defined in:
lib/etcd-tools/etcd_watchdog_haproxy.rb

Instance Method Summary collapse

Methods inherited from Init

#initialize

Methods included from Threads

#thread_etcd, #thread_icmp

Methods included from Etcd

#etcd_connect!, #leader?

Methods included from Helpers

#arp, #arping, #hostname, #iproute

Methods included from Logger

#debug, #err, #info

Constructor Details

This class inherits a constructor from EtcdTools::Watchdog::Init

Instance Method Details

#runObject



11
12
13
14
15
16
# File 'lib/etcd-tools/etcd_watchdog_haproxy.rb', line 11

def run
  @thread = {
    etcd: thread_etcd
  }
  @status_etcd = false
end