Josh Soref
f28efbbc79
spelling: sanitize
2018-03-11 18:52:59 +00:00
Alex Dadgar
2a09c51840
handle errors when streaming logs
2017-09-19 10:37:49 -05:00
Alex Dadgar
96e226f1ee
Merge pull request #3127 from hashicorp/b-tls-api
...
Fix TLSServerName for Node API Client
2017-08-29 16:10:58 -07:00
Alex Dadgar
93add81844
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
52fa3396e7
use helper
2017-08-29 10:04:02 -07:00
Alex Dadgar
8c1573642d
status commands handle uuid prefixes with hyphens
2017-08-29 09:43:28 -07:00
Alex Dadgar
5182ebb8cf
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
1df249f1fb
Reduce startup time on Mac
...
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Alex Dadgar
d7d8661485
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
ed2a544502
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
35f5c8f2dd
use PredictAnything when an flag accepts an argument
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
2721e5890f
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
17e362e162
logs and fs
2017-08-22 13:11:32 -07:00
Luke Farnell
f0ced87b95
fixed all spelling mistakes for goreport
2017-08-07 17:13:05 -04:00
Alex Dadgar
40ca1298b3
Multiple matched objects now treated as an error condition.
2017-07-20 17:31:07 -07:00
Alex Dadgar
40b04a5ea9
alloc-list shows version
2017-07-07 12:12:48 -07:00
Cameron Stokes
249fd8bf42
Fix inconsistencies in usage cli output.
2016-12-24 12:39:33 -08:00
Diptanu Choudhury
5191b4d33a
Making the status command return the allocs of currently registered job
2016-11-24 16:31:30 +01:00
Alex Dadgar
4ae735c8ba
Disallow fs to read secret directory
2016-10-24 11:14:05 -07:00
Alex Dadgar
ffa69feb56
fs uses timed unblocker like logs command
2016-08-11 19:07:13 -07:00
Kenjiro Nakayama
5edffb6025
Add validation of -n and -c options
2016-08-01 21:51:13 +09:00
Alex Dadgar
ef47612606
api.fs uses the api.Client rather than making raw requests
2016-07-28 14:27:17 -07:00
Kenjiro Nakayama
faf33152e0
Add TestFSCommand_Fails to fs command
2016-07-26 22:45:09 +09:00
Alex Dadgar
6e15bdbe36
Add logs command test
2016-07-25 11:16:54 -07:00
Alex Dadgar
8b819a343a
fix indents
2016-07-25 11:16:54 -07:00
Alex Dadgar
c808f2eefa
remove file events and last offset
2016-07-25 11:16:01 -07:00
Alex Dadgar
605dd5cef9
unblock the readers to add liveness when using -n
2016-07-25 11:16:01 -07:00
Alex Dadgar
b2df901158
initial api and command
2016-07-25 11:16:01 -07:00
Alex Dadgar
4e24676cd3
Docs
2016-07-21 12:33:05 -07:00
Alex Dadgar
104a5baa33
Allow following of files when cating and fix offsets
2016-07-13 15:33:17 -06:00
Alex Dadgar
d37651995f
implement -n for tail
2016-07-13 13:26:09 -06:00
Alex Dadgar
dba8a3df22
frames to reader
2016-07-12 17:34:32 -06:00
Alex Dadgar
9059fc42cb
Address more comments
2016-07-12 10:45:05 -06:00
Alex Dadgar
e9ffadfdc6
initial comments
2016-07-11 10:58:18 -06:00
Alex Dadgar
1fe435a130
StreamFramer encapsulates the sending, heartbeating and batching behavior of frames
2016-07-10 13:57:04 -04:00
Alex Dadgar
958e0d6ca3
Only initialize watcher once, fix offsetting, implement tail non-follow
2016-07-10 13:57:04 -04:00
Alex Dadgar
92a6f0f8ba
initial command implementation
2016-07-10 13:57:04 -04:00
Chris Bednarski
02385f0dbc
Change Modfied to Modified
2016-06-13 15:09:13 -07:00
Alex Dadgar
e547f1a86d
use base 1024 for bytes not 1000
2016-06-12 14:20:39 -07:00
Alex Dadgar
57770de1fc
Add eval-status and remove eval-monitor
2016-05-27 11:50:15 -07:00
Alex Dadgar
312c51fc2d
improve help message for fs missing input
2016-05-16 11:08:28 -07:00
Jake Champlin
5412c29edb
Update per comments
2016-05-16 13:17:37 -04:00
Jake Champlin
6d3c76ceb3
Refactor fs subcommands into fs command
...
Refactors `nomad fs` command to eliminate `fs` subcommands.
Automatically displays the file, if the path specified is a file; lists
the directory if the path is a directory; or displays stat information
if the `-stat` flag is set.
Currently running `nomad fs ls` to find a file, then running the exact
same command with the exception of `cat` instead of `ls` is time
consuming and awkward. This allows operational testing to be greatly
enhanced, and makes our lives so much better.
2016-05-04 23:59:38 -07:00
Ivo Verberk
a7b1842824
Fixes a panic when fs commands with a job parameter return zero allocations
2016-04-07 20:22:09 +02:00
Jake Champlin
4f01d2f8bf
Allow fs commands to use job-id
...
Adds `-job` flag argument to `nomad fs` commands to randomly lookup a
job's allocation-id to use in an `fs` command.
Can be used when debugging a job, where a specific allocation ID is not
a strict requirement.
2016-03-18 15:05:35 -04:00
Alex Dadgar
76a11b4613
Display fs in nomad help and list the subcommands when called
2016-02-05 11:01:29 -08:00