Commit Graph
10 Commits
Author SHA1 Message Date
Bryan Boreham d868d27263 Look up by IP 2014-10-24 14:47:49 +01:00
Bryan Boreham 5ee60a0003 Extend tests slightly 2014-10-24 13:37:32 +01:00
Michael Bridgen ad44a8816f Remove subnets from API, since we don't use them 2014-10-23 16:43:41 +01:00
Michael Bridgen 840c0b9f86 Renamed variables for consistency 2014-10-23 16:23:55 +01:00
Bryan Boreham 94a812d98f Factor out error type checks 2014-10-22 18:24:02 +01:00
Bryan Boreham d84226cc31 Factor out testing error checks 2014-10-22 16:52:35 +01:00
Michael Bridgen 1d5a55ea75 Factored out more (but different) err != nil code 2014-10-21 17:06:46 +01:00
Michael Bridgen 0749460652 Moved updater into server
While we're only reacting to containers going away, it's more
convenient to bundle the docker events watcher into the server.

I've added a flag to switch it on; and switched it on by default in
the container.

I also implemented `Zone.DeleteRecordsFor(ident)`, which removes all
records for a particular container.

One minor change to the structure of the code is that the Zone is now
constructed *outside* the server, and given to it and the updater.
2014-10-16 15:38:32 +01:00
Bryan Boreham 6e3e7dcd68 Support DELETE function 2014-10-14 17:01:13 +01:00
Bryan Boreham bc87c7c94b Initial Zone tests 2014-10-14 16:06:25 +01:00