open-nomad/command/agent
Isabel Suchanek dfaef2468c cli: add monitor flag to deployment status
Adding '-verbose' will print out the allocation information for the
deployment. This also changes the job run command so that it now blocks
until deployment is complete and adds timestamps to the output so that
it's more in line with the output of node drain.

This uses glint to print in place in running in a tty. Because glint
doesn't yet support cmd/powershell, Windows workflows use a different
library to print in place, which results in slightly different
formatting: 1) different margins, and 2) no spinner indicating
deployment in progress.
2021-06-09 16:18:45 -07:00
..
consul consul: move consul acl tests into ent files 2021-06-09 08:38:42 -05:00
event
host
monitor
pprof Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
test-resources
testdata configuration and oss components for licensing (#10216) 2021-03-23 09:08:14 -04:00
acl_endpoint.go HTTP API support for 'nomad ui -login' 2021-03-10 08:17:56 -05:00
acl_endpoint_test.go command/agent: fix dropped test errors 2021-04-13 01:51:24 -07:00
agent.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
agent_endpoint.go fix AgentHostRequest panic found in GH-9546 (#9554) 2020-12-07 17:34:40 -05:00
agent_endpoint_test.go
agent_oss.go
agent_test.go agent: add test for reserved core config mapping 2021-04-13 13:28:15 -04:00
alloc_endpoint.go exec: http: close websocket connection gracefully 2021-05-24 13:37:23 -04:00
alloc_endpoint_test.go documenting test for #9367 2020-11-15 17:47:50 +00:00
bindata_assetfs.go Generate files for 1.1.0-rc1 release 2021-05-12 22:43:48 +00:00
command.go configuration and oss components for licensing (#10216) 2021-03-23 09:08:14 -04:00
command_test.go Merge pull request #9027 from hashicorp/f-gh-9026 2020-10-06 08:28:18 +02:00
config.go deployment query rate limit (#10706) 2021-06-04 12:38:46 -07:00
config_oss.go
config_parse.go
config_parse_test.go configuration and oss components for licensing (#10216) 2021-03-23 09:08:14 -04:00
config_test.go Enable go-sockaddr templating for network-interface (#10404) 2021-04-20 13:55:10 -04:00
csi_endpoint.go CSI: fix wrong output struct for snapshot list endpoint 2021-04-07 12:00:33 -04:00
csi_endpoint_test.go CSI: capability block is required for volume registration 2021-04-08 13:02:24 -04:00
deployment_endpoint.go
deployment_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
eval_endpoint.go
eval_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
event_endpoint.go return 405 on non-GET requests to /v1/event/stream (fixes #9526) (#9564) 2020-12-08 13:09:20 -05:00
event_endpoint_test.go Remove Managed Sinks from Nomad (#9470) 2020-11-30 14:00:31 -05:00
fs_endpoint.go
fs_endpoint_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
helpers.go
helpers_test.go
http.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
http_oss.go Add handling for license requests in OSS (#9963) 2021-02-08 12:53:06 -06:00
http_stdlog.go
http_stdlog_test.go
http_test.go cli: add monitor flag to deployment status 2021-06-09 16:18:45 -07:00
job_endpoint.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
job_endpoint_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
keyring.go
keyring_test.go Fix other usages of initKeyring func to use logger as third argument 2020-10-01 11:13:06 -04:00
log_file.go
log_file_test.go
log_levels.go
log_levels_test.go
metrics_endpoint.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
metrics_endpoint_test.go agent: return req error if prometheus metrics are disabled. 2021-03-09 15:28:58 +01:00
namespace_endpoint.go core: open source namespaces 2020-10-22 15:26:32 -07:00
namespace_endpoint_test.go core: open source namespaces 2020-10-22 15:26:32 -07:00
node_endpoint.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
node_endpoint_test.go Node Drain Metadata (#10250) 2021-05-07 13:58:40 -04:00
operator_endpoint.go api: actually set MemoryOversubscriptionEnabled (#10493) 2021-05-02 22:53:53 -04:00
operator_endpoint_oss.go Add handling for license requests in OSS (#9963) 2021-02-08 12:53:06 -06:00
operator_endpoint_test.go api: actually set MemoryOversubscriptionEnabled (#10493) 2021-05-02 22:53:53 -04:00
plugins.go
region_endpoint.go
region_endpoint_test.go
retry_join.go
retry_join_test.go
scaling_endpoint.go Add gocritic to golangci-lint config (#9556) 2020-12-08 12:47:04 -08:00
scaling_endpoint_test.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
search_endpoint.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
search_endpoint_test.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
stats_endpoint.go
stats_endpoint_test.go
status_endpoint.go
status_endpoint_test.go
stub_asset.go
syslog.go
syslog_test.go
system_endpoint.go
system_endpoint_test.go
testagent.go licensing: remove raft storage and sync 2021-04-28 10:28:23 -04:00
testagent_oss.go licensing: remove raft storage and sync 2021-04-28 10:28:23 -04:00
testingutils_test.go mock: add default host network 2020-11-23 10:11:00 -06:00