open-nomad/command
Tim Gross 0a19fe3b60 fix multiple overflow errors in exponential backoff (#18200)
We use capped exponential backoff in several places in the code when handling
failures. The code we've copy-and-pasted all over has a check to see if the
backoff is greater than the limit, but this check happens after the bitshift and
we always increment the number of attempts. This causes an overflow with a
fairly small number of failures (ex. at one place I tested it occurs after only
24 iterations), resulting in a negative backoff which then never recovers. The
backoff becomes a tight loop consuming resources and/or DoS'ing a Nomad RPC
handler or an external API such as Vault. Note this doesn't occur in places
where we cap the number of iterations so the loop breaks (usually to return an
error), so long as the number of iterations is reasonable.

Introduce a helper with a check on the cap before the bitshift to avoid overflow in all 
places this can occur.

Fixes: #18199
Co-authored-by: stswidwinski <stan.swidwinski@gmail.com>
2023-08-15 14:39:09 -04:00
..
agent fix multiple overflow errors in exponential backoff (#18200) 2023-08-15 14:39:09 -04:00
asset np: scheduler configuration updates (#17575) 2023-06-19 11:41:46 -04:00
raft_tools [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
test-resources [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testdata [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ui compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
acl.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_create.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_create_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_update.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_auth_method_update_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_create.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_create_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_update.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_binding_rule_update_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_bootstrap.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_bootstrap_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_apply.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_policy_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_create.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_create_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_update.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_role_update_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_create.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_create_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_self.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_self_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_update.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_token_update_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_monitor.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_monitor_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_checks.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_checks_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_exec.go cli: support wildcard namespace in alloc subcommands (#18095) 2023-07-31 13:15:49 -04:00
alloc_exec_test.go cli: support wildcard namespace in alloc subcommands (#18095) 2023-07-31 13:15:49 -04:00
alloc_exec_unix.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_exec_windows.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_fs.go cli: support wildcard namespace in alloc subcommands (#18095) 2023-07-31 13:15:49 -04:00
alloc_fs_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_logs.go cli: support wildcard namespace in alloc subcommands (#18095) 2023-07-31 13:15:49 -04:00
alloc_logs_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_restart.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_restart_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_signal.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_signal_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_stop.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
alloc_stop_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
check.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
check_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
commands.go node pools: implement `node pool init` command (#17479) 2023-06-13 14:51:29 -04:00
commands_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config_validate.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
config_validate_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
data_format.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
data_format_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_fail.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_fail_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_pause.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_pause_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_promote.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_promote_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_resume.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_resume_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_status.go cli: output errors when monitoring deployment (#17348) 2023-05-30 11:12:12 -04:00
deployment_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_unblock.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployment_unblock_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
eval_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
event.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
event_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fmt.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fmt_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
helper_devices.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
helper_devices_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
helpers.go cli: upload var file(s) content on job submission (#17128) 2023-05-11 08:04:33 -05:00
helpers_test.go Backport of feature: Add new field render_templates on restart block into release/1.6.x (#18094) 2023-07-28 13:54:00 -05:00
integration_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_allocs.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_allocs_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_deployments.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_deployments_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_dispatch.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_dispatch_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_eval.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_eval_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_history.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_history_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_init.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_init_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_inspect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_inspect_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_periodic.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_periodic_force.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_periodic_force_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_plan.go cli: fix panic on job plan when -diff=false (#16944) 2023-04-20 17:33:29 -07:00
job_plan_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_promote.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_promote_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_restart.go update go1.21 (#18184) 2023-08-15 14:40:33 +02:00
job_restart_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_revert.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_revert_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_run.go cli: add help message for `-consul-namespace` (#18081) (#18091) 2023-07-28 10:34:44 -04:00
job_run_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_scale.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_scale_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_scaling_events.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_scaling_events_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_status.go cli: prevent panic if job node pool is nil (#17571) 2023-06-16 17:08:36 -04:00
job_status_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_stop.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
job_stop_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_validate.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
job_validate_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
license.go license: show Terminated field in `license get` command (#16892) 2023-04-17 09:01:43 -04:00
license_get.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
license_get_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
login.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
login_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
meta.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
meta_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
metrics.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
metrics_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
monitor.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
monitor_test.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
namespace.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_apply.go node pools: namespace integration (#17562) 2023-06-16 16:30:22 -04:00
namespace_apply_test.go backport of commit 0a5e90120b18ff450457463d6bcee68ec6804bb0 (#17900) 2023-07-11 10:00:05 -05:00
namespace_delete.go docs: note namespace apply/delete behaviors, fix metric (#17527) 2023-06-14 14:52:06 -04:00
namespace_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_inspect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_inspect_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_status.go node pools: namespace integration (#17562) 2023-06-16 16:30:22 -04:00
namespace_status_oss_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_config.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_config_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_drain.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_drain_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_eligibility.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_eligibility_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_meta.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_meta_apply.go docs: add node meta command docs (#16828) 2023-04-12 15:29:33 -07:00
node_meta_apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_meta_read.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_pool.go node pools: implement CLI for `node pool jobs` command (#17432) 2023-06-06 15:02:26 -04:00
node_pool_apply.go docs: clarify node pool apply/delete behavior (#17529) 2023-06-14 15:58:53 -04:00
node_pool_apply_test.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
node_pool_delete.go docs: clarify node pool apply/delete behavior (#17529) 2023-06-14 15:58:53 -04:00
node_pool_delete_test.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
node_pool_info.go np: scheduler configuration updates (#17575) 2023-06-19 11:41:46 -04:00
node_pool_info_test.go np: scheduler configuration updates (#17575) 2023-06-19 11:41:46 -04:00
node_pool_init.go node pools: implement `node pool init` command (#17479) 2023-06-13 14:51:29 -04:00
node_pool_init_test.go node pools: implement `node pool init` command (#17479) 2023-06-13 14:51:29 -04:00
node_pool_jobs.go node pools: implement CLI for `node pool jobs` command (#17432) 2023-06-06 15:02:26 -04:00
node_pool_jobs_test.go cli: fix broken `node pool jobs` test (#17715) 2023-06-23 14:10:45 -07:00
node_pool_list.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
node_pool_list_test.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
node_pool_nodes.go node pool: implement `nomad node pool nodes` CLI (#17444) 2023-06-07 10:37:27 -04:00
node_pool_nodes_test.go node pool: implement `nomad node pool nodes` CLI (#17444) 2023-06-07 10:37:27 -04:00
node_pool_test.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
node_status.go Backport of cli: search all namespaces for node volumes into release/1.6.x (#18119) 2023-08-01 08:56:34 -05:00
node_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_api.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_api_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot_get.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot_get_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot_set.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot_set_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_autopilot_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_client_state.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_client_state_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_debug.go chore(lint): use Go stdlib variables for HTTP methods and status codes (#17968) (#18074) 2023-07-26 16:38:39 +01:00
operator_debug_test.go chore(lint): use Go stdlib variables for HTTP methods and status codes (#17968) (#18074) 2023-07-26 16:38:39 +01:00
operator_gossip_keyring.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_generate.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_install.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_remove.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_gossip_keyring_use.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_logs.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_remove.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_remove_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_state.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_raft_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_root_keyring.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_root_keyring_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_root_keyring_remove.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_root_keyring_rotate.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_scheduler.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_scheduler_get_config.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_scheduler_get_config_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_scheduler_set_config.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_scheduler_set_config_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_inspect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_inspect_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_restore.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_restore_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_save.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_save_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_snapshot_state.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin_status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin_status_csi.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
plugin_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_apply.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_init.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_init_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_inspect.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_inspect_test.go test: fix quota command autocomplete (#16917) 2023-04-17 20:08:55 -04:00
quota_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_apply.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_dismiss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_dismiss_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendation_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_policy_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_apply.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_apply_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_read.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_read_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server_force_leave.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server_force_leave_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server_join.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server_join_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
server_members.go cli: show leader status in json output of server members (#17138) 2023-05-18 16:43:57 -04:00
server_members_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_delete_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_info_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
service_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
status_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
system.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_gc.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_gc_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_reconcile.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_reconcile_summaries.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_reconcile_summaries_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_reconcile_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testing_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tls.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tls_ca.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tls_ca_create.go Add the ability to customise the details of the CA (#17309) 2023-07-11 08:53:09 +01:00
tls_ca_create_test.go Add the ability to customise the details of the CA (#17309) 2023-07-11 08:53:09 +01:00
tls_ca_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tls_cert.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tls_cert_create.go cli: tls certs not created with correct SANs (#16959) 2023-05-22 09:31:56 -04:00
tls_cert_create_test.go cli: tls certs not created with correct SANs (#16959) 2023-05-22 09:31:56 -04:00
tls_cert_info.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ui.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ui_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_get.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_get_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_init.go cli: fix missing `-quiet` flag for `var init` (#17526) 2023-06-14 14:52:46 -04:00
var_init_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_list_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_purge.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_purge_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_put.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_put_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
var_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
version.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
version_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_create.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_create_csi.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_deregister.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_detach.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_init.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_register.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_register_csi.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_register_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_snapshot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_snapshot_create.go Backport of CLI: make snapshot name requiered in creating volume snapshots into release/1.6.x (#18152) 2023-08-04 04:36:50 -05:00
volume_snapshot_delete.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_snapshot_list.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
volume_status.go Backport of volume-status : show namespace the volume belongs to into release/1.6.x (#17997) 2023-07-19 15:37:18 -05:00
volume_status_csi.go Backport of cli: search all namespaces for node volumes into release/1.6.x (#18119) 2023-08-01 08:56:34 -05:00
volume_status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00