Vincent Demeester
7fcb7b86d3
Extract some code in packages
...
- This will help split stuff in smaller, better tested packages
- This moves some stuff like the traefik command to package `cmd`
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-04-20 10:06:41 +02:00
tcoupin
c5125cee71
Add path parameter for web provider
2017-03-24 17:51:53 +01:00
enxebre
175659a3dd
Support for Metrics and Prometheus.
2017-01-16 15:00:16 +01:00
Emile Vauge
3ebfd729cf
Refactor StatsRecorder
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-12-19 15:24:00 +01:00
Emile Vauge
dca08af003
Merge v1.1.1 into master
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-12-06 08:44:23 +01:00
Emile Vauge
c9cc3c9895
Fix contraint store/read from KV
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-11-09 21:08:37 +01:00
Nathan Osman
05f6b79e29
Add optional statistics to API and web UI.
...
A new option (--web.statistics) enables the collection of some basic
information about requests and responses. This currently consists of
the most recent 10 requests that resulted in HTTP 4xx or 5xx errors.
2016-10-25 15:36:23 -07:00
Victor Felder
4a43273ee5
Show current version in web UI
2016-10-02 20:46:10 +02:00
Emile Vauge
e72e65858f
Challenge certs PEM encoding
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:25 +02:00
Emile Vauge
a42845502e
Add ACME store
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:17 +02:00
Emile Vauge
1b6af2045e
Clean web authentication
2016-09-27 21:45:29 +02:00
Manuel Laufenberg
d5a15d6756
add basic auth support
...
implemented requested changes
fix docs
remove struct tag
2016-09-19 09:40:43 +02:00
Bruce Lee
d35c6e77d7
add PING handler to dashboard API
2016-08-24 21:37:12 -04:00
Emile Vauge
208998972a
Add routes priorities
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-07 09:17:39 +02:00
Samuel BERTHE
1de5434e1a
refacto(constraints): Migration to Flaeg cli library
2016-06-01 10:30:34 +02:00
Samuel BERTHE
ac087921d8
feat(constraints): Implementation of constraint filtering (cmd + toml + matching functions), implementation proposal with consul
2016-06-01 10:30:34 +02:00
Martin
ab138e7df1
update to new version go-bindata-assetfs
2016-05-27 10:06:19 +02:00
Martin
fe0a8f3363
Flaeg integration
2016-05-27 10:06:19 +02:00
Emile Vauge
0f23581f64
Fix k8s memory leak
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-05-24 23:37:17 +02:00
Emile Vauge
dc404b365f
Add expvar endpoint
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-05-24 23:31:35 +02:00
Emile Vauge
c1078c4374
Fix races
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-04-14 15:27:42 +02:00
Emile Vauge
1881d5eeed
Transfer emilevauge/traefik to containous/traefik
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-02-24 17:38:36 +01:00
emile
35070f7c1c
Use of Viper and cobra
2016-01-27 13:56:46 +01:00
emile
a0b15a0efd
Main file refactoring, extract a Server object
2016-01-27 13:55:40 +01:00
PierreZ
f6b5684a5b
adding read only mode
2016-01-03 20:42:09 +01:00
Vincent Demeester
40391c57c2
Add validate-golint target and script …
...
… and *lint* the latest piece of code.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-06 18:11:57 +01:00
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
5dea2e7902
Remove providerTemplates dir, moved in templates
2015-10-23 17:46:50 +02:00
Fernandez Ludovic
781c6aaafa
feat(api): add api routes for Frontend Routes
...
- add `/api/providers/{provider}/frontends/{frontend}/routes`
- add `/api/providers/{provider}/frontends/{frontend}/routes/{route}`
2015-10-08 21:44:29 +02:00
Fernandez Ludovic
a7a942fbeb
feat: API REST endpoint review
2015-10-05 23:23:08 +02:00
emile
ffbfc2d901
libkv docs
2015-10-04 18:50:54 +02: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
cc795b917a
Removing debug Printf statements
2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson
cfa232741d
Adding error checks to REST calls
2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson
a07e395181
Refactoring REST API to handle multiple providers.
...
I changed what I think is needed and I have done manual testing on this.
I tried to keep the changes to a minimun.
The changes are approx:
* HTML output now includes the provider name in parenthesis.
* I'm not versed in bootstrap, should the output group providers in a
* table?
* PUT is only enabled on /api/web.
* GET on /api returns a map containing all providers configuration
* GET on /api/{provider} will return the config as before on that
* provider.
2015-09-23 11:45:18 +00:00
Thorhallur Sverrisson
55a50c5ab7
Setting webConfiguration on REST PUT to /api
2015-09-23 11:25:11 +00: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
cffa74f9cf
Exit on permission denied
2015-09-24 13:05:44 +02:00
emile
e4159564ca
SSL for web backend
2015-09-22 21:00:29 +02:00
emile
2d956da3e1
Docs
2015-09-22 10:33:37 +02:00
emile
7b96decf17
note found handler
2015-09-16 22:41:14 +02:00
emile
2d645c83a6
api enhancements
2015-09-16 19:08:01 +02:00
emile
1cc294872b
refactor rules, api enhancements
2015-09-15 18:41:55 +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
7d4675f542
refactoring
2015-09-11 18:55:38 +02:00
emile
4a83136970
go-bindata static files and templates
2015-09-11 18:47:54 +02:00