open-nomad/helper
James Rasell 0cde3182eb
core: add ACL token expiry state, struct, and RPC handling. (#13718)
The ACL token state schema has been updated to utilise two new
indexes which track expiration of tokens that are configured with
an expiration TTL or time. A new state function allows listing
ACL expired tokens which will be used by internal garbage
collection.

The ACL endpoint has been modified so that all validation happens
within a single function call. This is easier to understand and
see at a glance. The ACL token validation now also includes logic
for expiry TTL and times. The ACL endpoint upsert tests have been
condensed into a single, table driven test.

There is a new token canonicalize which provides a single place
for token canonicalization, rather than logic spread in the RPC
handler.
2022-07-13 15:40:34 +02:00
..
args
boltdd helpers: use unreachable assertion 2022-07-06 17:05:35 -05:00
broker core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
bufconndialer test: test the buffered pipe used by nsd (#12563) 2022-04-14 08:38:25 -07:00
codec
constraints/semver chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
discover chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
envoy ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
escapingfs test: use T.TempDir to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
escapingio Fixup uses of sanity (#10187) 2021-03-16 18:05:08 -04:00
fields
flags ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
flatmap
freeport ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
gated-writer
grpc-middleware/logging
ipaddr helper: add ipaddr pkg to check for any IP addresses. 2022-03-03 11:24:50 +01:00
logging
mount deps: upgrade docker and runc 2022-01-18 08:35:26 -06:00
noxssrw lint: mark false positive or fix gocritic append lint errors. 2021-09-06 10:49:44 +02:00
pluginutils cli: update default redis and use nomad service discovery 2022-05-17 10:24:19 -05:00
pointer helpers: provide a few generic helper functions 2022-06-09 10:43:54 -05:00
pool feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
raftutil Merge branch 'main' into f-1.3-boogie-nights 2022-03-23 09:41:25 +01:00
snapshot Raft Debugging Improvements (#11414) 2021-11-04 10:16:12 -04:00
stats chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
testlog ci: limit gotestsum to circle ci 2022-03-18 09:15:01 -05:00
testtask gofmt all the files 2021-10-01 10:14:28 -04:00
tlsutil ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
useragent
uuid
winsvc gofmt all the files 2021-10-01 10:14:28 -04:00
cluster.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
eof.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
funcs.go core: add ACL token expiry state, struct, and RPC handling. (#13718) 2022-07-13 15:40:34 +02:00
funcs_test.go helpers: provide a few generic helper functions 2022-06-09 10:43:54 -05:00
math.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
path.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00