Class: EtcdTools::Watchdog::HAproxy

Inherits:
Init
  • Object
show all
Defined in:
lib/etcd-tools/watchdog/haproxy.rb

Instance Method Summary collapse

Methods inherited from Init

#initialize, #setup

Methods included from Threads

#thread_etcd, #thread_icmp

Methods included from Util::Etcd

#etcd_connect!, #leader?

Methods included from Util::Helpers

#arp, #arping, #hostname, #iproute

Methods included from Util::Logger

#debug, #err, #info

Constructor Details

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

Instance Method Details

#generate_configObject



15
16
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 15

def generate_config
end

#reload_haproxyObject



18
19
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 18

def reload_haproxy
end

#runObject



9
10
11
12
13
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 9

def run
  while @etcd.watch(@config[:haproxy_cfg]) do

  end
end