external-dns/source
Ian Smith f06fb65917 Fake source (#205)
* Expose inmemory provider to cli

So we can test `--source fake` without needing to touch AWS/Google.

* Add FakeSource

`external-dns --provider inmemory --source fake --dry-run --once`

OR

`external-dns --provider aws --source fake --fqdn-template <hostname suffix> --dry-run --once`

NB: `--fqdn-template` because otherwise we'll default to creating, e.g.,
`abcd.example.com`, which `--provider aws` filters out because you
likely don't have a Zone for `example.com.`  Could also be resolved by
removing the need to use a real provider; the inmemory provider,
perhaps, though it's not entirely hooked up.

Closes kubernetes-incubator/external-dns#22

* Style feedback from Travis CI

* Improve optionality of kubernetes client

* ref(sources): refactor source registration and lookup to be lazy.

* Revert "ref: refactor source registration/lookup to be lazily initialized"
2017-05-29 13:59:50 +02:00
..
compatibility.go Enhance compatibility and process molecule Services (#166) 2017-04-21 16:38:56 +02:00
dedup_source_test.go add and use a deduplicating source (#185) 2017-05-05 14:59:36 +02:00
dedup_source.go add and use a deduplicating source (#185) 2017-05-05 14:59:36 +02:00
fake_test.go Fake source (#205) 2017-05-29 13:59:50 +02:00
fake.go Fake source (#205) 2017-05-29 13:59:50 +02:00
ingress_test.go update and vendor all dependencies (#200) 2017-05-11 11:09:49 +02:00
ingress.go update and vendor all dependencies (#200) 2017-05-11 11:09:49 +02:00
mock_source_test.go use pointer to endpoint via NewEndpoint initializer (#125) 2017-04-04 16:41:49 +02:00
mock_source.go use pointer to endpoint via NewEndpoint initializer (#125) 2017-04-04 16:41:49 +02:00
multi_source_test.go cmd flags fixes, fix the bug with multi source (#149) 2017-04-12 18:13:03 +02:00
multi_source.go cmd flags fixes, fix the bug with multi source (#149) 2017-04-12 18:13:03 +02:00
service_test.go update and vendor all dependencies (#200) 2017-05-11 11:09:49 +02:00
service.go update and vendor all dependencies (#200) 2017-05-11 11:09:49 +02:00
shared_test.go use pointer to endpoint via NewEndpoint initializer (#125) 2017-04-04 16:41:49 +02:00
source.go endpoint sanitize dns in the init func (#131) 2017-04-07 10:18:52 +02:00
store_test.go cmd flags fixes, fix the bug with multi source (#149) 2017-04-12 18:13:03 +02:00
store.go cmd flags fixes, fix the bug with multi source (#149) 2017-04-12 18:13:03 +02:00