Skip to content

irwaters/consul_syncer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sync remote services into consul

  • cleaned up removed
  • updates changed
  • adds new

Install

gem install consul_syncer

Usage

syncer = ConsulSyncer.new('http://localhost:8500', logger: Logger.new(STDOUT))
syncer.sync(
  [
    {node: 'N', address: 'A', service: 'S', service_id: 'ID', service_address: 'A', port: 123, tags: ['abc']},
    # ...
  ], 
  ['managed-by-consul-syncer']
)  

Author

Michael Grosser
[email protected]
License: MIT
Build Status

About

Sync remote services into consul

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%