Ville Vesilehto e1768a5d27
Merge commit from fork
Instead of casting lease ID to uint32, fix the TTL() function
to use etcd time-to-live API for determining TTL. Add configurable
min-lease-ttl and max-lease-ttl options to prevent extreme TTL
values. By default, lease records now go through bounds checking
with 30s to 1d as the min/max.

Added unit tests for validation and docs.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-09-04 17:14:27 -07:00
..
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-18 06:39:10 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2025-09-04 17:14:27 -07:00
2021-03-16 12:51:42 +00:00
2021-03-08 11:15:45 +00:00
2021-07-18 10:30:13 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-15 14:42:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-15 14:42:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2022-07-03 10:30:40 +00:00
2021-03-08 11:15:45 +00:00
2021-05-28 07:08:13 -07:00
2021-03-08 11:15:45 +00:00