open-nomad/nomad/structs
James Rasell 9e8325d63c
acl: fix a bug in token creation when parsing expiration TTLs. (#15999)
The ACL token decoding was not correctly handling time duration
syntax such as "1h" which forced people to use the nanosecond
representation via the HTTP API.

The change adds an unmarshal function which allows this syntax to
be used, along with other styles correctly.
2023-02-01 17:43:41 +01:00
..
config renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
acl.go acl: fix a bug in token creation when parsing expiration TTLs. (#15999) 2023-02-01 17:43:41 +01:00
acl_test.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
alloc.go
alloc_test.go
autopilot.go
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
check_test.go
checks.go
connect.go
connect_test.go
consul.go
consul_oss.go
consul_oss_test.go
consul_test.go
csi.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
csi_test.go
devices.go
devices_test.go
diff.go
diff_test.go
encoding.go
errors.go Pre forwarding authentication (#15417) 2022-12-06 14:44:03 -05:00
errors_test.go
eval.go
event.go events: add ACL binding rules to core events stream topics. (#15544) 2022-12-14 14:49:49 +01:00
extensions.go
funcs.go
funcs_test.go
generate.sh
handlers.go
job.go
job_test.go
keyring.go
network.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
network_test.go
node.go
node_class.go
node_class_test.go
node_test.go
operator.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
search.go
service_identities.go
service_registration.go
service_registration_test.go
services.go Rename fields on proxyConfig (#15541) 2023-01-30 09:31:16 -06:00
services_test.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
streaming_rpc.go
structs.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
structs_codegen.go
structs_oss.go
structs_periodic_test.go
structs_test.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
testing.go
uuid.go
variables.go Increases max variable size to 64KiB from 16KiB (#15983) 2023-01-31 13:32:36 -05:00
variables_test.go
vault.go
volume_test.go Allow per_alloc to be used with host volumes (#15780) 2023-01-26 09:14:47 -05:00
volumes.go Allow per_alloc to be used with host volumes (#15780) 2023-01-26 09:14:47 -05:00