Class: Synapse::EC2Watcher
- Inherits:
-
BaseWatcher
- Object
- BaseWatcher
- Synapse::EC2Watcher
- Defined in:
- lib/synapse/service_watcher/ec2tag.rb
Constant Summary
Constants inherited from BaseWatcher
BaseWatcher::LEADER_WARN_INTERVAL
Instance Attribute Summary
Attributes inherited from BaseWatcher
Instance Method Summary collapse
Methods inherited from BaseWatcher
#backends, #initialize, #ping?, #stop
Methods included from Logging
configure_logger_for, #log, logger_for
Constructor Details
This class inherits a constructor from Synapse::BaseWatcher
Instance Method Details
#start ⇒ Object
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 |