Class: Synapse::EC2Watcher

Inherits:
BaseWatcher show all
Defined in:
lib/synapse/service_watcher/ec2tag.rb

Instance Attribute Summary

Attributes inherited from BaseWatcher

#backends, #listen, #local_port, #name, #server_options

Instance Method Summary collapse

Methods inherited from BaseWatcher

#initialize

Constructor Details

This class inherits a constructor from Synapse::BaseWatcher

Instance Method Details

#startObject



5
6
7
8
9
# File 'lib/synapse/service_watcher/ec2tag.rb', line 5

def start
  # connect to ec2
  # find all servers whose @discovery['tag_name'] matches @discovery['tag_value']
  # call @synapse.configure
end