Commit graph

39 commits

Author SHA1 Message Date
Vincent Demeester
de0a57ec76 Refactor traefik with package
Split a bit traefik into package. The idea behind this refactor is to
start move inter-dependencies away and do some DRY or SRP.

- Adds a `provider` package, with providers except `web.go`
- Adds a `types` package with common struct.
- Move `gen.go` to an `autogen` package

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-02 18:35:55 +01:00
emile
1e99ecf583 Add passHostHeader in frontend configuration, added traefik.frontend.passHostHeader label 2015-11-02 08:40:54 +01:00
emile
d390f86de2 Code review corrections 2015-10-27 00:26:35 +01:00
emile
aaeb7cdffd Correct BoltDB backend. Fixes #68 2015-10-23 22:21:16 +02:00
emile
d671cc3821 Adds traefik.frontend. rule and value labels in Docker and Marathon. Fixes #64. Fixes #73 2015-10-23 17:46:50 +02:00
emile
5dea2e7902 Remove providerTemplates dir, moved in templates 2015-10-23 17:46:50 +02:00
emile
27eae04e87 Added traefik.domain label. Corrects https://github.com/EmileVauge/traefik/issues/50 2015-10-08 21:21:51 +02:00
emile
93b5410987 libkv support https://github.com/EmileVauge/traefik/issues/25 https://github.com/EmileVauge/traefik/issues/9 2015-10-02 11:36:16 +02:00
Thorhallur Sverrisson
f534d8817f Adding caching and merging of configurations
Configurations are now cached from each provider separately so that
we can merge them together when one provider has changed config.

The Web module also returns full config info through the HTML call,
but REST API is working on a separate web configuration that is
sent in just like any other.
2015-09-23 11:25:11 +00:00
Vincent Demeester
c038dfbd54 Fix some typos, fmt and imports :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-09-24 17:16:13 +02:00
emile
f5ddbcbcde Logrus logging backend https://github.com/EmileVauge/traefik/issues/15 2015-09-24 14:53:51 +02:00
emile
d8e8815ad1 Consul Backend 2015-09-21 18:05:56 +02:00
Vincent Demeester
fd835e1fcd Format some file using gofmt
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-09-15 22:32:32 +02:00
emile
07b520fe23 docker backoff, routes middleware 2015-09-12 19:22:44 +02:00
emile
36847f671f Negroni middlewares 2015-09-12 15:10:03 +02:00
emile
d209467b5a Metrics, rules join, docker partial recovery 2015-09-12 13:20:54 +02:00
emile
4232cccd75 Dockerfile 2015-09-12 01:30:28 +02:00
emile
0ed748f5f6 Check Docker connection 2015-09-12 01:00:30 +02:00
emile
388a7f6ab5 Partial default values 2015-09-11 19:32:23 +02:00
emile
95557a8dba go-bindata static files and templates 2015-09-11 19:25:49 +02:00
emile
4a83136970 go-bindata static files and templates 2015-09-11 18:47:54 +02:00
emile
85e1af878a Logging 2015-09-11 16:37:13 +02:00
emile
de592ed6b8 Filters in Docker & Marathon 2015-09-10 22:54:37 +02:00
emile
0ae325c080 traefik.enable label 2015-09-10 17:31:52 +02:00
emile
e2d2f1f1d1 Traefik 2015-09-10 16:46:27 +02:00
emile
4dc5b34122 Weights 2015-09-10 16:14:08 +02:00
emile
e60e955f90 Docker corrections with long hostnames 2015-09-10 15:12:28 +02:00
emile
f5ea23ed2b Is Watching? 2015-09-10 09:06:37 +02:00
emile
3dd168b465 Marathon provider listener 2015-09-09 23:09:16 +02:00
emile
9a840d1904 Marathon provider 2015-09-09 22:39:08 +02:00
emile
4a96f19221 Added configurations 2015-09-09 17:50:02 +02:00
emile
c5a91e7d22 docker domain 2015-09-09 17:10:43 +02:00
emile
730fbfe9c5 docker override port, host, backend
reuse loadbalancer
2015-09-09 16:49:51 +02:00
emile
cef926379c service -> configuration 2015-09-08 00:15:14 +02:00
emile
4558270c42 Watch bool 2015-09-07 18:10:33 +02:00
emile
0a09a78cac Global configration toml 2015-09-07 17:39:22 +02:00
emile
921952c1b9 Providers file & docker
Sleep between restart
Check same service
2015-09-07 15:30:14 +02:00
emile
afb4286b20 Providers file & docker
Sleep between restart
Check same service
2015-09-07 15:25:13 +02:00
emile
bf37869b8f Providers refactoring 2015-09-07 10:38:58 +02:00