open-nomad/command
Tim Gross 09b5e8d388
Fix flaky operator debug test (#12501)
We introduced a `pprof-interval` argument to `operator debug` in #11938, and unfortunately this has resulted in a lot of test flakes. The actual command in use is mostly fine (although I've fixed some quirks here), so what's really happened is that the change has revealed some existing issues in the tests. Summary of changes:

* Make first pprof collection synchronous to preserve the existing
  behavior for the common case where the pprof interval matches the
  duration.

* Clamp `operator debug` pprof timing to that of the command. The
  `pprof-duration` should be no more than `duration` and the
  `pprof-interval` should be no more than `pprof-duration`. Clamp the
  values rather than throwing errors, which could change the commands
  that existing users might already have in debugging scripts

* Testing: remove test parallelism

  The `operator debug` tests that stand up servers can't be run in
  parallel, because we don't have a way of canceling the API calls for
  pprof. The agent will still be running the last pprof when we exit,
  and that breaks the next test that talks to that same agent.
  (Because you can only run one pprof at a time on any process!)

  We could split off each subtest into its own server, but this test
  suite is already very slow. In future work we should fix this "for
  real" by making the API call cancelable.


* Testing: assert against unexpected errors in `operator debug` tests.

  If we assert there are no unexpected error outputs, it's easier for
  the developer to debug when something is going wrong with the tests
  because the error output will be presented as a failing test, rather
  than just a failing exit code check. Or worse, no failing exit code
  check!

  This also forces us to be explicit about which tests will return 0
  exit codes but still emit (presumably ignorable) error outputs.

Additional minor bug fixes (mostly in tests) and test refactorings:

* Fix text alignment on pprof Duration in `operator debug` output

* Remove "done" channel from `operator debug` event stream test. The
  goroutine we're blocking for here already tells us it's done by
  sending a value, so block on that instead of an extraneous channel

* Event stream test timer should start at current time, not zero

* Remove noise from `operator debug` test log output. The `t.Logf`
  calls already are picked out from the rest of the test output by
  being prefixed with the filename.

* Remove explicit pprof args so we use the defaults clamped from
  duration/interval
2022-04-07 15:00:07 -04:00
..
agent api: use cleanhttp.DefaultPooledTransport for default API client (#12492) 2022-04-06 16:14:53 -04:00
assets auth_soft_fail needed for public images when agent is configured with auth (#11190) 2021-10-06 15:30:23 -04:00
raft_tools command: switch from raft-boltdb to raft-boltdb/v2 2022-02-23 14:43:59 -06:00
test-resources
acl.go
acl_bootstrap.go cli: add json and template flag opts to acl boostrap command. 2021-10-29 09:00:50 +02:00
acl_bootstrap_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_policy.go use allow/deny instead of the colored alternatives (#9019) 2020-10-12 08:47:05 -04:00
acl_policy_apply.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
acl_policy_apply_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_policy_info.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
acl_policy_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_policy_list.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
acl_policy_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token.go
acl_token_create.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_create_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token_delete.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_delete_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token_info.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token_list.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
acl_token_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token_self.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_self_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
acl_token_update.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
acl_token_update_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
agent_info.go fix agent-info help message formatting (#10747) 2021-06-11 15:39:28 -04:00
agent_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
agent_monitor.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
agent_monitor_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc.go
alloc_exec.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_exec_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc_logs.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_logs_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc_restart.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_restart_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc_signal.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_signal_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc_status.go disconnected clients: Add reconnect task event (#12133) 2022-04-05 17:12:23 -04:00
alloc_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
alloc_stop.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
alloc_stop_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
check.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
check_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
commands.go Merge pull request #12330 from hashicorp/f-gh-263 2022-03-23 15:49:29 +01: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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
data_format.go
data_format_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment.go
deployment_fail.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05: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 command: give flag-helpers a better name 2020-12-14 10:07:27 -06:00
deployment_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_resume.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
deployment_resume_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_status.go CLI: Return non-zero exit code when deployment fails in nomad run (#11550) 2021-12-09 09:09:28 -05:00
deployment_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
deployment_unblock.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
deployment_unblock_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval.go
eval_list.go Add go-bexpr filters to evals and deployment list endpoints (#12034) 2022-02-16 11:40:30 -05:00
eval_list_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
eval_status.go bad boolean logic for List-on-Info commands 2021-02-03 21:29:05 +00:00
eval_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
event.go Add missing comma in help-text example. 2020-11-02 18:00:53 -05:00
event_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
helper_devices.go
helper_devices_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
helpers.go Added a -hcl2-strict flag to allow for lenient hcl variable parsing. (#11284) 2021-11-04 16:33:09 +01:00
helpers_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
integration_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 add dispatch idempotency token support in the CLI (#10930) 2021-10-22 12:39:05 -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.bindata_assetfs.go consul: minor CR cleanup 2021-04-05 10:10:16 -06:00
job_init.go
job_init_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -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 docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_periodic_force_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_plan.go cli: Add var args to plan output. (#11631) 2021-12-07 10:43:52 -05:00
job_plan_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_promote.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_promote_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_revert.go Code cleanup: Remove extra if clause. 2021-10-19 16:52:11 -07:00
job_revert_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_run.go docs: update vault-token note in job run command #8040 (#12385) 2022-04-06 10:01:38 -07:00
job_run_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_scale.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05:00
job_scale_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_status.go Add unknown to TaskGroupSummary (#12269) 2022-04-05 17:12:23 -04:00
job_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_stop.go provide -no-shutdown-delay flag for job/alloc stop (#11596) 2021-12-13 14:54:53 -05:00
job_stop_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
job_validate.go Added a -hcl2-strict flag to allow for lenient hcl variable parsing. (#11284) 2021-11-04 16:33:09 +01:00
job_validate_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -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
meta.go cli: update namespace wildcard help to be non-specific. 2022-03-23 12:56:48 +01:00
meta_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
metrics.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
metrics_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
monitor.go CLI: Return non-zero exit code when deployment fails in nomad run (#11550) 2021-12-09 09:09:28 -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: namespace apply should autocomplete hcl files 2022-03-04 14:13:33 -08: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 command: Fix node help error 2020-11-30 11:12:06 -05: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 Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
node_drain_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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_status.go cli: add -quiet to nomad node status command. (#12426) 2022-04-05 15:53:43 -04: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: fix op api method handling 2022-03-01 16:44:15 -08:00
operator_api_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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_debug.go Fix flaky operator debug test (#12501) 2022-04-07 15:00:07 -04:00
operator_debug_test.go Fix flaky operator debug test (#12501) 2022-04-07 15:00:07 -04:00
operator_keygen.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
operator_keygen_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_keyring.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08: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_snapshot.go
operator_snapshot_inspect.go
operator_snapshot_inspect_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_snapshot_restore.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
operator_snapshot_restore_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_snapshot_save.go command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
operator_snapshot_save_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
operator_snapshot_state.go cli: unhide advanced operator raft debugging commands (#11682) 2021-12-16 10:32:11 -05: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 Port OSS changes for Enterprise Quota accounting (#10481) 2021-04-30 09:48:03 -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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_init.go Port OSS changes for Enterprise Quota accounting (#10481) 2021-04-30 09:48:03 -04:00
quota_init_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
quota_inspect.go docs: describe required ACLs for all commands 2020-11-20 13:38:29 -05: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: Handle nil MemoryMaxMB (#10620) 2021-05-19 16:56:06 -04:00
quota_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
recommendation.go cli: add recommendation commands. 2020-11-06 11:16:24 +01:00
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 cli: add policy list and info to new scaling cmd. 2020-10-05 15:18:30 +02:00
scaling_policy.go cli: ensure scaling policy target doesn't have trailing comma 2020-10-06 12:18:17 +02:00
scaling_policy_info.go chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
scaling_policy_info_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05: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 command: remove -namespace from help options when not applicable 2020-11-19 16:28:39 -05:00
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 api: move serviceregistration client to servics to match CLI. 2022-03-24 09:08:45 +01:00
service_info_test.go test: move remaining tests to use ci.Parallel. 2022-03-24 08:45:13 +01: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
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 ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
util_test.go Fix flaky operator debug test (#12501) 2022-04-07 15:00:07 -04: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: Add secrets flag support for delete volume (#11245) 2022-04-05 08:59:11 -04: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: add -secret and -parameter flag to volume snapshot create (#12360) 2022-03-24 10:29:50 -04:00
volume_snapshot_delete.go csi: add -secret and -parameter flag to volume snapshot create (#12360) 2022-03-24 10:29:50 -04:00
volume_snapshot_list.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
volume_status.go CSI: presentation improvements (#12325) 2022-03-22 09:48:38 -04:00
volume_status_csi.go CSI: implement support for topology (#12129) 2022-03-01 10:15:46 -05:00
volume_status_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00