open-nomad/command
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
..
agent
assets
raft_tools
test-resources
testdata
acl.go
acl_bootstrap.go
acl_bootstrap_test.go
acl_policy.go
acl_policy_apply.go
acl_policy_apply_test.go
acl_policy_delete.go
acl_policy_delete_test.go
acl_policy_info.go
acl_policy_info_test.go
acl_policy_list.go
acl_policy_list_test.go
acl_token.go
acl_token_create.go
acl_token_create_test.go
acl_token_delete.go
acl_token_delete_test.go
acl_token_info.go
acl_token_info_test.go
acl_token_list.go
acl_token_list_test.go
acl_token_self.go
acl_token_self_test.go
acl_token_update.go
acl_token_update_test.go
agent_info.go
agent_info_test.go
agent_monitor.go
agent_monitor_test.go
alloc.go
alloc_exec.go
alloc_exec_test.go
alloc_exec_unix.go
alloc_exec_windows.go
alloc_fs.go
alloc_fs_test.go
alloc_logs.go
alloc_logs_test.go
alloc_restart.go
alloc_restart_test.go
alloc_signal.go
alloc_signal_test.go
alloc_status.go
alloc_status_test.go
alloc_stop.go
alloc_stop_test.go
check.go
check_test.go
commands.go
commands_oss.go
config.go
config_validate.go
config_validate_test.go
data_format.go
data_format_test.go
deployment.go
deployment_fail.go
deployment_fail_test.go
deployment_list.go
deployment_list_test.go
deployment_pause.go
deployment_pause_test.go
deployment_promote.go
deployment_promote_test.go
deployment_resume.go
deployment_resume_test.go
deployment_status.go
deployment_status_test.go
deployment_unblock.go
deployment_unblock_test.go
eval.go
eval_delete.go
eval_delete_test.go
eval_list.go
eval_list_test.go
eval_status.go
eval_status_test.go
event.go
event_test.go
helper_devices.go
helper_devices_test.go
helpers.go
helpers_test.go
integration_test.go
job.go
job_allocs.go
job_allocs_test.go
job_deployments.go
job_deployments_test.go
job_dispatch.go
job_dispatch_test.go
job_eval.go
job_eval_test.go
job_history.go
job_history_test.go
job_init.bindata_assetfs.go
job_init.go
job_init_test.go
job_inspect.go
job_inspect_test.go
job_periodic.go
job_periodic_force.go
job_periodic_force_test.go
job_plan.go
job_plan_test.go
job_promote.go
job_promote_test.go
job_revert.go
job_revert_test.go
job_run.go
job_run_test.go
job_scale.go
job_scale_test.go
job_scaling_events.go
job_scaling_events_test.go
job_status.go
job_status_test.go
job_stop.go
job_stop_test.go
job_validate.go
job_validate_test.go
license.go
license_get.go
license_get_test.go
meta.go
meta_test.go
metrics.go
metrics_test.go
monitor.go
monitor_test.go
namespace.go
namespace_apply.go
namespace_apply_test.go
namespace_delete.go
namespace_delete_test.go
namespace_inspect.go
namespace_inspect_test.go
namespace_list.go
namespace_list_test.go
namespace_status.go
namespace_status_oss_test.go
namespace_status_test.go
node.go
node_config.go
node_config_test.go
node_drain.go
node_drain_test.go
node_eligibility.go
node_eligibility_test.go
node_status.go
node_status_test.go
operator.go
operator_api.go
operator_api_test.go
operator_autopilot.go
operator_autopilot_get.go
operator_autopilot_get_test.go
operator_autopilot_set.go
operator_autopilot_set_test.go
operator_autopilot_test.go
operator_debug.go
operator_debug_test.go
operator_gossip_keyring.go
operator_gossip_keyring_generate.go
operator_gossip_keyring_install.go
operator_gossip_keyring_list.go
operator_gossip_keyring_remove.go
operator_gossip_keyring_test.go
operator_gossip_keyring_use.go
operator_keyring.go
operator_raft.go
operator_raft_info.go
operator_raft_list.go
operator_raft_list_test.go
operator_raft_logs.go
operator_raft_remove.go
operator_raft_remove_test.go
operator_raft_state.go
operator_raft_test.go
operator_scheduler.go
operator_scheduler_get_config.go
operator_scheduler_get_config_test.go
operator_scheduler_set_config.go
operator_scheduler_set_config_test.go
operator_secure_variables_keyring.go
operator_secure_variables_keyring_install.go
operator_secure_variables_keyring_list.go
operator_secure_variables_keyring_remove.go
operator_secure_variables_keyring_rotate.go
operator_snapshot.go
operator_snapshot_inspect.go
operator_snapshot_inspect_test.go
operator_snapshot_restore.go
operator_snapshot_restore_test.go
operator_snapshot_save.go
operator_snapshot_save_test.go
operator_snapshot_state.go
operator_test.go
plugin.go
plugin_status.go
plugin_status_csi.go
plugin_status_test.go
quota.go
quota_apply.go
quota_apply_test.go
quota_delete.go
quota_delete_test.go
quota_init.go
quota_init_test.go
quota_inspect.go
quota_inspect_test.go
quota_list.go
quota_list_test.go
quota_status.go
quota_status_test.go
recommendation.go
recommendation_apply.go
recommendation_apply_test.go
recommendation_dismiss.go
recommendation_dismiss_test.go
recommendation_info.go
recommendation_info_test.go
recommendation_list.go
recommendation_list_test.go
scaling.go
scaling_policy.go
scaling_policy_info.go
scaling_policy_info_test.go
scaling_policy_list.go
scaling_policy_list_test.go
scaling_policy_test.go
sentinel.go
sentinel_apply.go
sentinel_apply_test.go
sentinel_delete.go
sentinel_delete_test.go
sentinel_list.go
sentinel_list_test.go
sentinel_read.go
sentinel_read_test.go
server.go
server_force_leave.go
server_force_leave_test.go
server_join.go
server_join_test.go
server_members.go
server_members_test.go
service.go
service_delete.go
service_delete_test.go
service_info.go
service_info_test.go
service_list.go
service_list_test.go
status.go
status_test.go
system.go
system_gc.go
system_gc_test.go
system_reconcile.go
system_reconcile_summaries.go
system_reconcile_summaries_test.go
system_reconcile_test.go
system_test.go
ui.go
ui_test.go
util_test.go
var.go
var_list.go
var_list_test.go
version.go
version_test.go
volume.go
volume_create.go
volume_create_csi.go
volume_delete.go
volume_deregister.go
volume_detach.go
volume_init.go
volume_register.go
volume_register_csi.go
volume_register_test.go
volume_snapshot.go
volume_snapshot_create.go
volume_snapshot_delete.go
volume_snapshot_list.go
volume_status.go
volume_status_csi.go
volume_status_test.go