open-nomad/command
Charlie Voiselle d93ba0cf32
Add warnings to `var put` for non-alphanumeric keys. (#15933)
* Warn when Items key isn't directly accessible

Go template requires that map keys are alphanumeric for direct access
using the dotted reference syntax. This warns users when they create
keys that run afoul of this requirement.

- cli: use regex to detect invalid indentifiers in var keys
- test: fix slash in escape test case
- api: share warning formatting function between API and CLI
- ui: warn if var key has characters other than _, letter, or number

---------
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-02-13 16:14:59 -05:00
..
agent [core] Do not start the plugin loader on non-clients (#16111) 2023-02-10 15:33:16 -05:00
asset chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
raft_tools command: switch from raft-boltdb to raft-boltdb/v2 2022-02-23 14:43:59 -06:00
test-resources
testdata Allow wildcard datacenters to be specified in job file (#11170) 2023-02-02 09:57:45 -05:00
acl.go
acl_auth_method.go cli: separate auth method config output for easier reading. (#15892) 2023-01-30 11:44:26 +01:00
acl_auth_method_create.go cli: separate auth method config output for easier reading. (#15892) 2023-01-30 11:44:26 +01:00
acl_auth_method_create_test.go bugfix: acl sso auth methods test failures (#15512) 2022-12-09 18:47:32 +01:00
acl_auth_method_delete.go acl: sso auth methods cli commands (#15322) 2022-11-28 10:51:45 +01:00
acl_auth_method_delete_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_auth_method_info.go cli: separate auth method config output for easier reading. (#15892) 2023-01-30 11:44:26 +01:00
acl_auth_method_info_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_auth_method_list.go acl: numerous small bugfixes for acl auth methods CLI (#15539) 2022-12-14 13:25:40 +01:00
acl_auth_method_list_test.go [sso] OIDC Updates for the UI (#15804) 2023-01-17 17:01:47 -05:00
acl_auth_method_update.go cli: separate auth method config output for easier reading. (#15892) 2023-01-30 11:44:26 +01:00
acl_auth_method_update_test.go bugfix: acl sso auth methods test failures (#15512) 2022-12-09 18:47:32 +01:00
acl_binding_rule.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_create.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
acl_binding_rule_create_test.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
acl_binding_rule_delete.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_delete_test.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_info.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_info_test.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_list.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_list_test.go cli: add ACL binding rule commands for CRUD actions. (#15554) 2022-12-15 16:57:44 +01:00
acl_binding_rule_update.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
acl_binding_rule_update_test.go sso: allow binding rules to create management ACL tokens. (#15860) 2023-01-26 09:57:44 +01:00
acl_bootstrap.go Merge branch 'main' into f-gh-13120-sso-umbrella-merged-main 2022-08-25 12:14:29 +01:00
acl_bootstrap_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_policy.go
acl_policy_apply.go allow ACL policies to be associated with workload identity (#14140) 2022-08-22 16:41:21 -04:00
acl_policy_apply_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_policy_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
acl_policy_delete_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_policy_info.go allow ACL policies to be associated with workload identity (#14140) 2022-08-22 16:41:21 -04:00
acl_policy_info_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_policy_list.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
acl_policy_list_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_role.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_create.go bugfix: typos in acl role commands (#15382) 2022-11-25 10:28:33 +01:00
acl_role_create_test.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_role_delete.go bugfix: typos in acl role commands (#15382) 2022-11-25 10:28:33 +01:00
acl_role_delete_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_info.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_info_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_list.go acl: make listing RPC and HTTP API a stub return object. (#14211) 2022-08-22 17:20:23 +02:00
acl_role_list_test.go acl: add replication to ACL Roles from authoritative region. (#14176) 2022-08-22 08:54:07 +02:00
acl_role_test.go cli: add new acl role subcommands for CRUD role actions. (#14087) 2022-08-12 09:52:32 +02:00
acl_role_update.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_role_update_test.go cli: use policy flag for role creation and update. 2022-08-24 15:15:02 +01:00
acl_token.go
acl_token_create.go Add `-json` and `-t` flag for `nomad acl token create` command (#16055) 2023-02-07 12:05:41 +01:00
acl_token_create_test.go Add `-json` and `-t` flag for `nomad acl token create` command (#16055) 2023-02-07 12:05:41 +01:00
acl_token_delete.go
acl_token_delete_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_token_info.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_info_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_token_list.go acl: enable configuration and visualisation of token expiration for users (#13846) 2022-07-20 10:06:23 +02:00
acl_token_list_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_token_self.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_self_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
acl_token_update.go cli: add ability to create and view tokens with ACL role links. 2022-08-17 14:49:52 +01:00
acl_token_update_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
agent_info.go fix agent-info help message formatting (#10747) 2021-06-11 15:39:28 -04:00
agent_info_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
agent_monitor.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
agent_monitor_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc.go
alloc_checks.go cli: display nomad service check status output in CLI commands 2022-08-19 09:18:29 -05:00
alloc_checks_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_exec.go feat: docker/docker/pkg/term has been deprecated in favor of moby/term 2022-06-26 15:35:27 +02:00
alloc_exec_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_exec_unix.go gofmt all the files 2021-10-01 10:14:28 -04:00
alloc_exec_windows.go
alloc_fs.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_fs_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_logs.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_logs_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_restart.go Task lifecycle restart (#14127) 2022-08-24 17:43:07 -04:00
alloc_restart_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_signal.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_signal_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_status.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
alloc_status_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
alloc_stop.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_stop_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
check.go
check_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
commands.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
commands_oss.go gofmt all the files 2021-10-01 10:14:28 -04:00
config.go Add config command and config validate subcommand to nomad CLI (#9198) 2022-02-08 16:52:35 -05:00
config_validate.go Add config command and config validate subcommand to nomad CLI (#9198) 2022-02-08 16:52:35 -05:00
config_validate_test.go cleanup: fixing warnings and refactoring of command package, part 2 2022-08-18 09:43:39 -05:00
data_format.go Add sprig for command templates (#9053) 2023-02-07 14:07:20 -05:00
data_format_test.go Add sprig for command templates (#9053) 2023-02-07 14:07:20 -05:00
deployment.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
deployment_fail.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_fail_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_list.go Add `go-bexpr` filters to evals and deployment list endpoints (#12034) 2022-02-16 11:40:30 -05:00
deployment_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_pause.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
deployment_pause_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_promote.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_resume.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_resume_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_status.go cli: Fix a panic in `deployment status` when scheduling is slow (#16011) 2023-02-02 12:34:44 -05:00
deployment_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_unblock.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
deployment_unblock_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval.go cli: improve output of eval commands (#13581) 2022-07-07 13:13:34 -04:00
eval_delete.go eval delete: move batching of deletes into RPC handler and state (#15117) 2022-11-14 14:08:13 -05:00
eval_delete_test.go core: allow deleting of evaluations (#13492) 2022-07-06 16:30:11 +02:00
eval_list.go cli: improve output of eval commands (#13581) 2022-07-07 13:13:34 -04:00
eval_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_status.go cli: remove deprecated `eval status -json` list behavior (#14651) 2022-09-22 10:56:32 -04:00
eval_status_test.go cli: remove deprecated `eval status -json` list behavior (#14651) 2022-09-22 10:56:32 -04:00
event.go
event_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
fmt.go fix bug in nomad fmt -check does not return error code (#15797) 2023-01-17 09:15:34 -05:00
fmt_test.go fix bug in nomad fmt -check does not return error code (#15797) 2023-01-17 09:15:34 -05:00
helper_devices.go
helper_devices_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
helpers.go command: fixup tests concerning multi job stop (#15606) 2022-12-21 16:21:48 -06:00
helpers_test.go command: fixup tests concerning multi job stop (#15606) 2022-12-21 16:21:48 -06:00
integration_test.go Change `job init` default to example`.nomad.hcl` and recommend in docs (#15997) 2023-02-02 11:47:47 -06:00
job.go
job_allocs.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_allocs_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_deployments.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_deployments_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_dispatch.go Allow specification of a custom job name/prefix for parameterized jobs (#14631) 2022-10-06 16:21:40 -04:00
job_dispatch_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_eval.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_eval_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_history.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_history_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_init.go chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
job_init_test.go chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
job_inspect.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_periodic.go
job_periodic_force.go cli: force periodic job if its id equals search prefix 2022-08-26 10:54:37 -04:00
job_periodic_force_test.go cli: force periodic job if its id equals search prefix 2022-08-26 10:54:37 -04:00
job_plan.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
job_plan_test.go chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
job_promote.go cli: fix detach handling (#13405) 2022-06-21 06:01:23 -04:00
job_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_revert.go Return evalID if `-detach` flag is passed to job revert (#13364) 2022-06-15 14:20:29 -04:00
job_revert_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_run.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
job_run_test.go chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
job_scale.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_scale_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
job_scaling_events.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_scaling_events_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
job_status.go [ui] Adds meta to job list stub and displays a pack logo on the jobs index (#14833) 2022-11-02 16:58:24 -04:00
job_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_stop.go command/job_stop: accept multiple jobs, stop concurrently (#12582) 2022-12-16 15:46:58 -08:00
job_stop_test.go command: fixup tests concerning multi job stop (#15606) 2022-12-21 16:21:48 -06:00
job_validate.go Add warnings to `var put` for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
job_validate_test.go chore: Convert assets from bindatafs to go embeds (#16066) 2023-02-10 12:02:29 -05:00
license.go license: remove "Terminates At" from license get command 2021-04-28 12:00:30 -04:00
license_get.go license: update 'license get' command 2021-04-28 12:00:30 -04:00
license_get_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
login.go cli: fix use of the sanitized method type for the login command. (#16105) 2023-02-09 15:23:54 +01:00
login_test.go acl: make auth method default across all types (#15869) 2023-01-26 14:17:11 +01:00
meta.go Add warnings to `var put` for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
meta_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
metrics.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
metrics_test.go build: update to go1.20 (#16029) 2023-02-03 08:14:53 -06:00
monitor.go cli: `wait` flag for use with `deployment status -monitor` (#15262) 2022-11-23 16:36:13 -05:00
monitor_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace.go cli: Update namespace helptext guide URL (#10074) 2021-02-23 08:31:19 -08:00
namespace_apply.go cli: detect directory when applying namespace spec file (#12738) 2022-04-21 14:53:45 -04:00
namespace_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_delete_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_inspect.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
namespace_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
namespace_status.go cli: namespace meta should be formatted consistently 2022-03-04 14:13:48 -08:00
namespace_status_oss_test.go cli: namespace tests should be run on oss 2022-03-04 14:13:48 -08:00
namespace_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
node_config.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
node_config_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_drain.go cli: ensure node status and drain use correct cmd name. (#13656) 2022-07-11 09:50:42 +02:00
node_drain_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
node_eligibility.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
node_eligibility_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
node_meta.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
node_meta_apply.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
node_meta_apply_test.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
node_meta_read.go Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
node_status.go Fix unbold header `Device Group Attributes` and remove unused var in func `nodeCSIVolumeNames` (#16138) 2023-02-13 15:33:12 -05:00
node_status_test.go cli: add -quiet to nomad node status command. (#12426) 2022-04-05 15:53:43 -04:00
operator.go
operator_api.go cli: set content length on `operator api` requests (#14634) 2022-09-26 14:21:40 -04:00
operator_api_test.go cli: set content length on `operator api` requests (#14634) 2022-09-26 14:21:40 -04:00
operator_autopilot.go
operator_autopilot_get.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_autopilot_get_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_autopilot_set.go command: give flag-helpers a better name 2020-12-14 10:07:27 -06:00
operator_autopilot_set_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_autopilot_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_client_state.go cli: Add a nomad operator client state command (#15469) 2023-01-11 10:03:31 -05:00
operator_client_state_test.go cli: Add a nomad operator client state command (#15469) 2023-01-11 10:03:31 -05:00
operator_debug.go cli: prevent panic on `operator debug` (#14992) 2022-10-20 15:53:58 -04:00
operator_debug_test.go command: fixup parsing of stale query parameter (#15631) 2023-01-03 08:21:20 -06:00
operator_gossip_keyring.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_generate.go cli: remove deprecated `keyring` and `keygen` commands (#16068) 2023-02-07 09:49:52 -05:00
operator_gossip_keyring_install.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_list.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_remove.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_test.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_gossip_keyring_use.go move gossip keyring command to their own subcommands (#13383) 2022-07-11 13:34:06 -04:00
operator_raft.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_info.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_raft_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_raft_logs.go cli: stream raft logs to operator raft logs subcommand (#11684) 2021-12-16 13:38:58 -05:00
operator_raft_remove.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
operator_raft_remove_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_raft_state.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05:00
operator_raft_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_root_keyring.go remove root keyring install API (#14514) 2022-09-09 08:50:35 -04:00
operator_root_keyring_list.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_root_keyring_remove.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_root_keyring_rotate.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
operator_scheduler.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_get_config.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_get_config_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_set_config.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_scheduler_set_config_test.go core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
operator_snapshot.go
operator_snapshot_inspect.go
operator_snapshot_inspect_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_restore.go
operator_snapshot_restore_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_save.go
operator_snapshot_save_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
operator_snapshot_state.go snapshot restore-from-archive streaming and filtering (#13658) 2022-07-11 10:48:00 -04:00
operator_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
plugin.go
plugin_status.go cmd: validate the type flag when querying plugin status. 2021-06-07 13:53:28 +02:00
plugin_status_csi.go CSI: presentation improvements (#12325) 2022-03-22 09:48:38 -04:00
plugin_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota.go
quota_apply.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
quota_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
quota_delete_test.go fix minor issues found durint ENT merge (#14250) 2022-08-23 17:22:18 -04:00
quota_init.go rename SecureVariables to Variables throughout 2022-08-26 16:06:24 -04:00
quota_init_test.go test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
quota_inspect.go doc: specifiy the default output is of json format for `nomad quota inspect` command (#15984) 2023-02-07 16:34:05 +01:00
quota_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
quota_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_status.go cli: remove network from `quota status` output (#14468) 2022-09-06 09:37:16 -04:00
quota_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation.go
recommendation_apply.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
recommendation_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_dismiss.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
recommendation_dismiss_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_info.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
recommendation_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
recommendation_list_test.go tests: wait on client in a couple of tests 2022-03-30 08:48:23 -05:00
scaling.go
scaling_policy.go
scaling_policy_info.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
scaling_policy_info_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
scaling_policy_list.go scaling policy -verbose flag, plus testing and other recommendations from review 2021-02-04 15:08:13 +00:00
scaling_policy_list_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
scaling_policy_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel.go
sentinel_apply.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_delete.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_delete_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_list.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
sentinel_read.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
sentinel_read_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server.go
server_force_leave.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
server_force_leave_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server_join.go
server_join_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
server_members.go cli: display Raft version in `server members` (#12317) 2022-03-17 14:15:10 -04:00
server_members_test.go cli: display Raft version in `server members` (#12317) 2022-03-17 14:15:10 -04:00
service.go cli: add service commands for list, info, and delete. 2022-03-21 11:59:03 +01:00
service_delete.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
service_delete_test.go cli: fixup service test delete by using more atomic actions. 2022-04-06 08:36:23 +01:00
service_info.go services: fix imports 2022-04-22 09:15:51 -05:00
service_info_test.go services: enable setting arbitrary address value in service registrations 2022-04-22 09:14:29 -05:00
service_list.go api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
service_list_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01:00
status.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system.go
system_gc.go cli: fixed system commands so they correctly use passed flags. 2021-06-28 10:57:50 +02:00
system_gc_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_reconcile.go
system_reconcile_summaries.go cli: fixed system commands so they correctly use passed flags. 2021-06-28 10:57:50 +02:00
system_reconcile_summaries_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_reconcile_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
system_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
testing_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
tls.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_ca.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_ca_create.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_ca_create_test.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_ca_info.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_cert.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_cert_create.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_cert_create_test.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
tls_cert_info.go Add command "nomad tls" (#14296) 2022-11-22 14:12:07 -05:00
ui.go cli: allow setting namespace and region in the `nomad ui` command (#11364) 2021-10-21 16:24:39 -04:00
ui_test.go testing: setting env var incompatible with parallel tests (#14405) 2022-08-30 14:49:03 -04:00
var.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
var_get.go cli: fix doc strings for `var get` command (#14697) 2022-09-26 15:05:22 -04:00
var_get_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
var_init.go variables: change spec file extension to match rename (#14552) 2022-09-12 16:26:18 -04:00
var_init_test.go variables: change spec file extension to match rename (#14552) 2022-09-12 16:26:18 -04:00
var_list.go docs: include path in ACL requirements for variables (#14561) 2022-09-13 10:21:29 -04:00
var_list_test.go Update flags to align with other var commands. (#14550) 2022-09-12 15:26:12 -04:00
var_purge.go docs: include path in ACL requirements for variables (#14561) 2022-09-13 10:21:29 -04:00
var_purge_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
var_put.go Add warnings to `var put` for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
var_put_test.go Add warnings to `var put` for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
var_test.go tests: do not return error from testagent shutdown (#15595) 2022-12-21 08:23:58 -06:00
version.go
version_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
volume.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_create.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_create_csi.go CSI: CLI for create/delete/list 2021-03-31 16:37:09 -04:00
volume_delete.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
volume_deregister.go csi: respect -verbose flag for allocs in volume status (#12153) 2022-03-01 07:57:29 -05:00
volume_detach.go csi: respect -verbose flag for allocs in volume status (#12153) 2022-03-01 07:57:29 -05:00
volume_init.go csi: allow `namespace` field to be passed in volume spec (#12400) 2022-03-29 14:46:39 -04:00
volume_register.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
volume_register_csi.go CSI: allow updates to volumes on re-registration (#12167) 2022-03-07 11:06:59 -05:00
volume_register_test.go csi: allow `namespace` field to be passed in volume spec (#12400) 2022-03-29 14:46:39 -04:00
volume_snapshot.go csi: subcommand for volume snapshot (#12152) 2022-03-01 13:30:30 -05:00
volume_snapshot_create.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
volume_snapshot_delete.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
volume_snapshot_list.go csi: Fix parsing of '=' in secrets at command line and HTTP (#15670) 2023-01-03 16:28:38 -05:00
volume_status.go CSI: presentation improvements (#12325) 2022-03-22 09:48:38 -04:00
volume_status_csi.go cli: do not import structs, use API package only. (#13938) 2022-08-02 16:33:08 +02:00
volume_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00