Commit graph

15 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
0b3928dafb Add /api/providers API 2015-10-03 16:50:53 +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
36847f671f Negroni middlewares 2015-09-12 15:10:03 +02:00
emile
388a7f6ab5 Partial default values 2015-09-11 19:32:23 +02:00
emile
85e1af878a Logging 2015-09-11 16:37:13 +02:00
emile
cef926379c service -> configuration 2015-09-08 00:15:14 +02:00
emile
7fcc4761da Embedded configuration 2015-09-07 23:25:07 +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