open-nomad/api
Tim Gross e5ac6464f6
secure vars: enforce ENT quotas (OSS work) (#13951)
Move the secure variables quota enforcement calls into the state store to ensure
quota checks are atomic with quota updates (in the same transaction).

Switch to a machine-size int instead of a uint64 for quota tracking. The
ENT-side quota spec is described as int, and negative values have a meaning as
"not permitted at all". Using the same type for tracking will make it easier to
the math around checks, and uint64 is infeasibly large anyways.

Add secure vars to quota HTTP API and CLI outputs and API docs.
2022-08-02 09:32:09 -04:00
..
contexts
internal/testutil
acl.go
acl_test.go
agent.go
agent_test.go
allocations.go
allocations_exec.go
allocations_test.go
api.go
api_test.go
compose_test.go
constraint.go
constraint_test.go
consul.go
consul_test.go
csi.go
csi_test.go
deployments.go
evaluations.go
evaluations_test.go
event_stream.go
event_stream_test.go
fs.go
fs_test.go
go.mod
go.sum
ioutil.go
ioutil_test.go
jobs.go
jobs_test.go
keyring.go
keyring_test.go
namespace.go
namespace_test.go
nodes.go
nodes_test.go
operator.go
operator_autopilot.go
operator_ent_test.go
operator_metrics.go
operator_metrics_test.go
operator_test.go
quota.go
quota_test.go
raw.go
recommendations.go
regions.go
regions_test.go
resources.go
resources_test.go
scaling.go
scaling_test.go
search.go
search_test.go
secure_variables.go
secure_variables_test.go
sentinel.go
sentinel_test.go
services.go
services_test.go
status.go
status_test.go
system.go
system_test.go
tasks.go
tasks_test.go
util_test.go
utils.go
utils_test.go