open-nomad/command
James Rasell 06bf8e932a
Update CLI to use ISO_8601 time format.
This change updates the formatTime CLI helper function to return
an ISO_8601 time format which will make CLI time usage more
consistent and easier. Previosuly the time format was in US style
format which was somewhat confusing to non US users.

Closes #3806
2018-01-30 08:57:07 +00:00
..
agent Merge pull request #3492 from hashicorp/f-client-tls-reload 2018-01-23 05:51:32 -05:00
test-resources
acl.go embed acl subcommands 2017-09-15 20:11:37 +00:00
acl_bootstrap.go sync 2017-10-13 14:36:02 -07:00
acl_bootstrap_test.go add failure test cases 2017-10-25 14:08:15 -04:00
acl_policy.go command: Adding intermediate command for help text 2017-09-14 21:31:05 -07:00
acl_policy_apply.go sync 2017-10-13 14:36:02 -07:00
acl_policy_apply_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
acl_policy_delete.go sync 2017-10-13 14:36:02 -07:00
acl_policy_delete_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
acl_policy_info.go sync 2017-10-13 14:36:02 -07:00
acl_policy_info_test.go policy list and token self commands 2017-10-13 16:31:46 -07:00
acl_policy_list.go List does json/template 2017-10-13 16:37:33 -07:00
acl_policy_list_test.go List does json/template 2017-10-13 16:37:33 -07:00
acl_token.go command: Adding acl token create 2017-09-14 21:55:25 -07:00
acl_token_create.go sync 2017-10-13 14:36:02 -07:00
acl_token_create_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
acl_token_delete.go sync 2017-10-13 14:36:02 -07:00
acl_token_delete_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
acl_token_info.go sync 2017-10-13 14:36:02 -07:00
acl_token_info_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
acl_token_self.go Update acl_token_self.go 2017-10-13 16:38:13 -07:00
acl_token_self_test.go policy list and token self commands 2017-10-13 16:31:46 -07:00
acl_token_update.go sync 2017-10-13 14:36:02 -07:00
acl_token_update_test.go Rename TestAgent.Token to TestAgent.RootToken 2017-10-06 14:35:14 -07:00
agent_info.go
agent_info_test.go Parallel 2017-07-20 21:24:21 -07:00
alloc_status.go Fixes bug with display message logic due to deprecating GenericSource. Also added more test cases to cover a bunch more edge cases 2017-11-13 11:14:57 -06:00
alloc_status_test.go New pretty printer that imitates the short form from time.Duration.String() with approximated values for days and beyond. Used in cli output for allocation create/modify times 2017-11-01 15:16:38 -05:00
check.go add global flags to autocomplete 2017-08-23 22:58:44 +00:00
check_test.go Parallel 2017-07-20 21:24:21 -07:00
client_config.go small fixes and cleanup 2017-08-23 23:04:47 +00:00
client_config_test.go Parallel 2017-07-20 21:24:21 -07:00
data_format.go
data_format_test.go Parallel 2017-07-20 21:24:21 -07:00
deployment.go
deployment_fail.go sync 2017-10-13 14:36:02 -07:00
deployment_fail_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
deployment_list.go sync 2017-10-13 14:36:02 -07:00
deployment_list_test.go Parallel 2017-07-20 21:24:21 -07:00
deployment_pause.go sync 2017-10-13 14:36:02 -07:00
deployment_pause_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
deployment_promote.go sync 2017-10-13 14:36:02 -07:00
deployment_promote_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
deployment_resume.go sync 2017-10-13 14:36:02 -07:00
deployment_resume_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
deployment_status.go sync 2017-10-13 14:36:02 -07:00
deployment_status_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
eval_status.go Enable more linters 2017-09-26 15:26:33 -07:00
eval_status_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
executor_plugin.go
fs.go handle errors when streaming logs 2017-09-19 10:37:49 -05:00
fs_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
helpers.go Update CLI to use ISO_8601 time format. 2018-01-30 08:57:07 +00:00
helpers_test.go Fix upgrade path of modify time 2017-12-11 15:58:24 -08:00
init.go Make example service name make sense 2018-01-17 14:08:30 -08:00
init_test.go Parallel 2017-07-20 21:24:21 -07:00
inspect.go Check for errors initializing client for autocomplete 2017-08-29 14:29:32 -07:00
inspect_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
integration_test.go update test to use assert 2017-09-05 16:38:15 -07:00
job.go
job_deployments.go sync 2017-10-13 14:36:02 -07:00
job_deployments_test.go Add testing around nomad job deployments command 2017-09-06 17:16:46 -07:00
job_dispatch.go sync 2017-10-13 14:36:02 -07:00
job_dispatch_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
job_history.go sync 2017-10-13 14:36:02 -07:00
job_history_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
job_promote.go sync 2017-10-13 14:36:02 -07:00
job_promote_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
job_revert.go sync 2017-10-13 14:36:02 -07:00
job_revert_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
job_status.go Update job_status.go 2017-12-11 16:14:03 -08:00
job_status_test.go New pretty printer that imitates the short form from time.Duration.String() with approximated values for days and beyond. Used in cli output for allocation create/modify times 2017-11-01 15:16:38 -05:00
keygen.go sync 2017-10-13 14:36:02 -07:00
keygen_test.go Parallel 2017-07-20 21:24:21 -07:00
keyring.go Fix panic on every run of the keyring command. 2017-11-06 10:15:42 +00:00
logs.go handle errors when streaming logs 2017-09-19 10:37:49 -05:00
logs_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
meta.go Enable more linters 2017-09-26 15:26:33 -07:00
meta_test.go add acl token as meta flag 2017-09-15 23:33:43 +00:00
monitor.go sync 2017-10-13 14:36:02 -07:00
monitor_test.go Enable more linters 2017-09-26 15:26:33 -07:00
namespace.go Sync namespace changes 2017-09-07 17:04:21 -07:00
namespace_apply.go sync 2017-10-13 14:36:02 -07:00
namespace_apply_test.go fix test 2017-09-19 10:28:23 -05:00
namespace_delete.go sync 2017-10-13 14:36:02 -07:00
namespace_delete_test.go Sync namespace changes 2017-09-07 17:04:21 -07:00
namespace_inspect.go add missing namespace commands 2017-10-13 16:32:47 -07:00
namespace_inspect_test.go Inspect returns json, not cli formatted output 2017-12-05 12:04:11 -05:00
namespace_list.go guide 2017-10-16 11:23:18 -07:00
namespace_list_test.go List does json/template 2017-10-13 16:37:33 -07:00
namespace_status.go gofmt changes 2017-11-29 19:43:19 -05:00
namespace_status_test.go Handle exact namespace match properly when also matched as prefix 2017-11-29 19:40:08 -05:00
node_drain.go Enable more linters 2017-09-26 15:26:33 -07:00
node_drain_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
node_status.go Update node-status verbose command to include node address. 2017-12-21 08:58:35 +00:00
node_status_test.go add prefix tests 2017-08-29 10:09:30 -07:00
operator.go
operator_autopilot.go Fix comments/text referring to consul 2018-01-17 00:20:13 -08:00
operator_autopilot_get.go Fix comments/text referring to consul 2018-01-17 00:20:13 -08:00
operator_autopilot_get_test.go Add autopilot functionality based on Consul's autopilot 2017-12-18 14:29:41 -08:00
operator_autopilot_set.go Fix comments/text referring to consul 2018-01-17 00:20:13 -08:00
operator_autopilot_set_test.go Add autopilot functionality based on Consul's autopilot 2017-12-18 14:29:41 -08:00
operator_autopilot_test.go Add autopilot functionality based on Consul's autopilot 2017-12-18 14:29:41 -08:00
operator_raft.go sync 2017-10-13 14:36:02 -07:00
operator_raft_list.go Added support for v2 raft APIs and -raft-protocol option 2017-12-12 10:17:16 -06:00
operator_raft_list_test.go Parallel 2017-07-20 21:24:21 -07:00
operator_raft_remove.go Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
operator_raft_remove_test.go Add raft remove by id endpoint/command 2018-01-16 13:35:32 -08:00
operator_raft_test.go Parallel 2017-07-20 21:24:21 -07:00
operator_test.go Parallel 2017-07-20 21:24:21 -07:00
plan.go Enable more linters 2017-09-26 15:26:33 -07:00
plan_test.go Parallel 2017-07-20 21:24:21 -07:00
quota.go sync 2017-10-13 14:36:02 -07:00
quota_apply.go sync 2017-10-13 14:36:02 -07:00
quota_apply_test.go sync 2017-10-13 14:36:02 -07:00
quota_delete.go quota command docs 2017-10-13 16:16:36 -07:00
quota_delete_test.go sync 2017-10-13 14:36:02 -07:00
quota_init.go sync 2017-10-13 14:36:02 -07:00
quota_init_test.go sync 2017-10-13 14:36:02 -07:00
quota_inspect.go sync 2017-10-13 14:36:02 -07:00
quota_inspect_test.go sync 2017-10-13 14:36:02 -07:00
quota_list.go guide 2017-10-16 11:23:18 -07:00
quota_list_test.go sync 2017-10-13 14:36:02 -07:00
quota_status.go quota command docs 2017-10-13 16:16:36 -07:00
quota_status_test.go sync 2017-10-13 14:36:02 -07:00
run.go Enable more linters 2017-09-26 15:26:33 -07:00
run_test.go fix two flaky tests 2017-10-23 18:15:52 -07:00
sentinel.go sync 2017-09-19 10:08:23 -05:00
sentinel_apply.go sync 2017-10-13 14:36:02 -07:00
sentinel_apply_test.go sync 2017-09-19 10:08:23 -05:00
sentinel_delete.go sync 2017-10-13 14:36:02 -07:00
sentinel_delete_test.go sync 2017-09-19 10:08:23 -05:00
sentinel_list.go sync 2017-10-13 14:36:02 -07:00
sentinel_list_test.go sync 2017-09-19 10:08:23 -05:00
sentinel_read.go sync 2017-10-13 14:36:02 -07:00
sentinel_read_test.go sync 2017-09-19 10:08:23 -05:00
server_force_leave.go
server_force_leave_test.go Parallel 2017-07-20 21:24:21 -07:00
server_join.go
server_join_test.go Parallel 2017-07-20 21:24:21 -07:00
server_members.go add global flags to autocomplete 2017-08-23 22:58:44 +00:00
server_members_test.go Parallel 2017-07-20 21:24:21 -07:00
status.go sync 2017-10-13 14:36:02 -07:00
status_test.go Status honors exact match and displays matches when more than one is available 2017-08-29 08:42:09 -07:00
stop.go Check for errors initializing client for autocomplete 2017-08-29 14:29:32 -07:00
stop_test.go Remove tests checking autocomplete only does 1 arg 2017-08-28 15:42:32 -07:00
ui.go UI command documentation 2017-10-11 18:24:58 -07:00
util_test.go Standardize retrieving a free port into a helper package 2017-10-23 16:48:20 -07:00
validate.go
validate_test.go Parallel 2017-07-20 21:24:21 -07:00
version.go Add version package 2017-08-16 15:44:21 -07:00
version_test.go Parallel 2017-07-20 21:24:21 -07:00