Commit Graph

24 Commits

Author SHA1 Message Date
Alexis Couvreur
8b113a3c76 fix: changing module to github.com/sablierapp/sablier 2024-10-20 23:54:53 -04:00
Alexis Couvreur
7fbc0df429 fix: set gin to release mode 2022-10-04 14:41:39 +00:00
Alexis Couvreur
7703a3041c Revert "fix: bump import to v2"
This reverts commit 9cb9b2aa7a57047a7e61b2c54732b3e25300bf20.
2022-10-03 20:27:14 +00:00
Alexis Couvreur
a374322f99 fix: bump import to v2
See https://go.dev/doc/modules/major-version
2022-10-03 20:27:14 +00:00
Alexis Couvreur
0daddf377c feat: add new cli system (#51) 2022-10-03 20:27:14 +00:00
Alexis Couvreur
551a146d94 feat: merge service repository into Sablier
Add plugins folder to integrate with multiple reverse proxies

The project is now released as 'Sablier'
2022-10-03 20:27:06 +00:00
Alexis Couvreur
3eb7d480da feat: add persistent storage (#30)
* refactor: remove unused default timeout

* feat: add persistent storage

Allows you to save the state to a file and load it upon restarting the app to restore the previous state.

* chore: upgrade to go 1.18

* use tinykv with generics

* build: add "-buildvcs=false" flag

Git is not available in golang:1.18-alpine image
2022-07-23 12:53:23 -04:00
Matthias Schneider
0e920523d2 feat: add kubernetes support (#14) 2021-10-01 18:40:43 +02:00
Alexis Couvreur
ebd24562b1 feat: add healthcheck lookup before redirect (#12)
Docker classic IsUp will return false when the container defines a healthcheck and is not healthy, otherwise as soon as it's started it's up.
Docker swarm will check that the number of required tasks is higher than 1, and that the number of running tasks matches the number of desired tasks.
A task is not running when it defines a healthcheck and is not healthy.
2021-09-28 12:44:27 +02:00
Alexis Couvreur
e357030b8c fix: use text/plain content-type instead of application/json
The returned string is not a valid json
2021-09-26 14:32:33 +00:00
Alexis Couvreur
ac377db936 fix: change module to traefik-ondemand-service 2021-09-26 14:32:22 +00:00
Alexis Couvreur
c96482ef67 feat: add docker classic support (#9)
Defaults with docker swarm support for retro compatibiliy.
You can add --swarmMode=false to deactivate it.

Closes #4
2021-09-26 00:36:45 +02:00
alexandre.hiltcher@etu.unice.fr
92cbde3442 Rename function 2020-10-22 18:53:50 +02:00
alexandre.hiltcher@etu.unice.fr
f6df228c99 Refactor code 2020-10-22 18:49:42 +02:00
alexandre.hiltcher@etu.unice.fr
8a7ad94192 Do not create a new client on each request 2020-10-21 21:28:32 +02:00
alexandre.hiltcher@etu.unice.fr
b1077100e6 Remove debug prints 2020-10-21 20:46:39 +02:00
alexandre.hiltcher@etu.unice.fr
cd648ec4b2 Make channel write non blocking 2020-10-21 20:44:36 +02:00
Alexis Couvreur
f051238f41 Changed image to work 2020-10-21 20:27:13 +02:00
alexandre.hiltcher@etu.unice.fr
51f8e4771d Update return value 2020-10-21 19:53:01 +02:00
alexandre.hiltcher@etu.unice.fr
8dc8a5c7cd WIP it's working 2020-10-21 19:48:30 +02:00
alexandre.hiltcher@etu.unice.fr
861b1f269f Stop after timeout
Only missing interupt
2020-10-21 18:42:09 +02:00
alexandre.hiltcher@etu.unice.fr
48fbc437fb Clean up code 2020-10-21 18:37:51 +02:00
alexandre.hiltcher@etu.unice.fr
d6936526a9 Get service status from dowker 2020-10-21 18:06:35 +02:00
alexandre.hiltcher@etu.unice.fr
dfa3fe1886 INitial commit 2020-10-20 22:05:34 +02:00