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
Vincent Demeester
542c3673e4
Extract providers to their own package
...
This is just doing that and making it compile :)
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-04-18 13:24:17 +02:00
Emile Vauge
51f3f6ba9c
Removed unused log
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2017-04-11 22:36:55 +02:00
Guilhem Lettron
d5f9a80b6c
Remove web watchdog
2017-02-04 19:06:56 +01:00
Guilhem Lettron
d324040adc
Add systemd watchdog feature
2017-02-04 19:06:24 +01:00
enxebre
175659a3dd
Support for Metrics and Prometheus.
2017-01-16 15:00:16 +01:00
Emile Vauge
6adb346cee
Add bug command
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-12-19 15:23:59 +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
Yves Peter
15540764a0
Switched Kubernetes provider to new client implementation: https://github.com/kubernetes/client-go
2016-11-30 19:16:48 +01:00
Emile Vauge
3322e564fd
Add version check
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-11-03 11:30:00 +01:00
Guilhem Lettron
649cb548d0
Use sdnotify for systemd ( #768 )
...
* Use sdnotify for systemd
This is useful if a configuration is long to load.
Systemd will continue dependency chain only when server have finish to start.
https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=
* Extract the waiting behavior from Start()
2016-10-25 08:59:39 -07:00
Emile Vauge
4ad4b8e0b8
Add ACME account to storeconfig command
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 12:29:39 +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
bea5ad3f13
Add leadership election
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:05 +02:00
Emile Vauge
5a0440d6f8
Add KV datastore
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-09-30 11:26:05 +02:00
Emile Vauge
11297b38c5
Remove misused Fatal*
2016-08-19 10:36:54 +02:00
Martin
2815f80063
beautify help
...
and fixes
2016-08-05 14:26:36 +02:00
Stuart Clark
4a88cbde3a
Adjust formatting
2016-07-31 16:59:48 +01:00
Stuart Clark
4882519c0f
Add global InsecureSkipVerify option to disable certificate checking
...
Signed-off-by: Stuart Clark <stuart.clark@Jahingo.com>
2016-07-31 16:59:48 +01:00
Martin
1bb3d9be73
add command storeconfig
...
add test integration command storeconfig
update doc
2016-07-22 15:20:47 +02:00
Vincent Demeester
87a4d73556
Move version.go in its own package…
...
… making it possible to use in other packages ; and thus in the
User-Agent header for the docker client.
Also removing the dockerverion hack as it's not required anymore.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2016-07-21 16:33:49 +02:00
Martin
b153e90ec5
add createStore() funcs and skip consul TLS test
2016-07-21 09:22:35 +02:00
Martin
b83fb525a8
Add TLS support for etcd and consul
2016-07-21 09:22:35 +02:00
Martin
7ada80b619
Certificate can contain path or file contents
...
Signed-off-by: Martin <martin.piegay@zenika.com>
2016-07-21 09:22:35 +02:00
Martin
056e0fe2d9
Use KvStores as global config source
2016-07-21 09:22:35 +02:00
Emile Vauge
64243382cf
Add codename
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-07-05 21:03:37 +02:00
Emile Vauge
208998972a
Add routes priorities
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-07 09:17:39 +02:00
Emile Vauge
3f08bb4cdf
Fix panic on help, Better version
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-02 15:17:04 +02:00
Emile Vauge
423268f485
Fix default configuration
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-06-02 11:51:36 +02:00
Samuel BERTHE
1de5434e1a
refacto(constraints): Migration to Flaeg cli library
2016-06-01 10:30:34 +02:00
Emile Vauge
0e3c2ef10f
Fix log config file
...
Signed-off-by: Emile Vauge <emile@vauge.com>
2016-05-30 17:57:57 +02:00
Martin
d8ad30f38a
log info about TOML configuration file using
...
+glide update flaeg & staert
+fix README.md
+fix configFile flag description
Signed-off-by: Martin <martin.piegay@zenika.com>
2016-05-30 17:04:26 +02:00
Martin
c5084fd025
update staert + glide pin version
2016-05-27 10:06:19 +02:00
Martin
f64c2bc065
add flag on ACME
...
add flag on Retry
set Retry.MaxMem to 2 by default
rm useless import
rm useless structtag
add custom parser on []acme.Domain type
add commants + refactor
2016-05-27 10:06:19 +02:00
Martin
6752b49536
rm useless StrucTag
2016-05-27 10:06:19 +02:00
Martin
0821c7bdd9
Add version in logs
2016-05-27 10:06:19 +02:00
Martin
1a0f347023
update default value
2016-05-27 10:06:19 +02:00
Martin
414fb1f406
add kubernetes.Namespaces parser
2016-05-27 10:06:19 +02:00
Martin
fe0a8f3363
Flaeg integration
2016-05-27 10:06:19 +02:00
David Keijser
ae275c9e60
Consul catalog provider
...
Fixes #176
2016-02-24 09:23:27 +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
Jan Broer
d6e28a923c
Adds TLS SNI support for the frontends
2015-12-01 22:26:17 +01:00
emile
35cb9100cd
Add mutex around prepareserver
2015-11-24 09:12:20 +01:00
emile
b0e66a4aa6
Add check invoked method
2015-11-23 16:06:47 +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
Vincent Demeester
80cd6c3699
Move version info in its own file.
...
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2015-11-02 09:14:49 +01:00
emile
1e99ecf583
Add passHostHeader in frontend configuration, added traefik.frontend.passHostHeader label
2015-11-02 08:40:54 +01:00