Commit Graph

51 Commits

Author SHA1 Message Date
Trent Mick
246810e342 TOOLS-1587 'triton profile docker-setup' fails when path to 'docker' has spaces
Reviewed by: Julien Gilli <julien.gilli@joyent.com>
Reviewed by: Orlando Vazquez <orlando@joyent.com>
Approved by: Orlando Vazquez <orlando@joyent.com>
2016-10-26 11:11:27 -07:00
Trent Mick
fabe0a0841 joyent/node-triton#113 error help for usage errors
This builds on cmdln 4.x's "errHelp" facilities.
2016-06-08 14:13:21 -07:00
Marsell Kukuljevic
634350018a PUBAPI-1233/PUBAPI-1234 Add firewalls and snapshots to node-triton
triton fwrule ...
triton instance snapshot ...

Reviewed-By: Trent Mick (with some contributions)
2016-03-01 22:38:21 -08:00
Trent Mick
54923c9ae3 Windows path fixes (should basically run on windows now)
Fixes #83.
2016-01-28 13:41:22 -08:00
Trent Mick
989a43f367 bash completion for 'triton account update <TAB>' 2016-01-18 11:58:01 -08:00
Trent Mick
5ee94b04af joyent/node-triton#75 'triton account update ...' 2016-01-14 22:56:38 -08:00
Trent Mick
d25df7c011 Add '-d,--data DATA' option to triton cloudapi ...
Also fix '-H,--header' option to `triton cloudapi`. It never worked.
2015-12-09 12:01:24 -08:00
Trent Mick
21164320c7 improvements for using node-triton as a module 2015-12-08 11:59:45 -08:00
Trent Mick
82443e2d67 joyent/node-triton#54 'triton rbac apply --dev-create-keys-and-profiles' 2015-11-23 16:57:58 -08:00
Trent Mick
6918fb93f7 joyent/node-triton#54 'triton rbac reset', 'triton [rbac] keys' default output changes, 'triton rbac apply' implicit usage of './rbac-user-keys' dir, drop shortIds for 'triton rbac ...' 2015-11-21 12:41:16 -08:00
Trent Mick
7c8554bf14 joyent/node-triton#54 'triton rbac apply' 2015-11-18 12:54:44 -08:00
Trent Mick
cd611dafde joyent/node-triton#54 'triton rbac role-tags' and refactoring to make adding other *-role-tags easy 2015-11-12 16:04:12 -08:00
Trent Mick
dd0a70820b joyent/node-triton#54 first pass at 'triton rbac key' and 'triton rbac keys' 2015-11-05 15:13:14 -08:00
Trent Mick
c7daecc6f3 joyent/node-triton#54 first pass at 'triton rbac policy' and 'triton rbac policies' 2015-11-05 12:30:06 -08:00
Trent Mick
1652662e2c joyent/node-triton#54 Complete first pass at 'triton rbac user' and 'triton rbac users' 2015-11-04 00:11:19 -08:00
Trent Mick
8a46d23268 joyent/node-triton#54 A start at RBAC support (still very early) 2015-11-03 15:40:59 -08:00
Trent Mick
59c41886d1 minor command help tweaks 2015-10-19 09:03:39 -07:00
Trent Mick
daecb2979b export 'promptField', broken by refactor before commit 2015-09-28 12:24:50 -07:00
Trent Mick
aeebcf19f0 'triton profile -a' from stdin, JSON file or interactively 2015-09-28 12:20:21 -07:00
Trent Mick
bf21ac467a 'triton profile{,s}' all except 'triton profile -a' 2015-09-25 12:19:29 -07:00
Dave Eddy
b4900ea626 remove UUID_RE in favor of isUUID 2015-09-21 17:02:10 -04:00
Dave Eddy
f476cc9168 audit cleanup 2015-09-08 17:30:08 -04:00
Dave Eddy
789fb4f7e5 slug asserts 2015-09-04 20:33:31 -04:00
Dave Eddy
bdc3ea6651 mpl and copyright 2015-09-04 14:12:20 -04:00
Dave Eddy
e48395d446 add common.getCliTableOptions for tabula
- common tabula options managed in "common"
- "datacenters" and "services" pass raw data with -j
2015-09-03 18:09:21 -04:00
Dave Eddy
1cc87edb0f per-profile cache directory using account+url slug 2015-09-02 23:48:14 -04:00
Dave Eddy
da8e13b45e more assertions in common, ensure tests run with assertions 2015-09-02 23:30:07 -04:00
Dave Eddy
b6e4c06742 tabula changes
- "datacenters" and "services" both use tabula
- comman tabula options moved to common
2015-09-02 23:24:08 -04:00
Dave Eddy
782c82faa7 remove executable bits on non-executable files 2015-09-02 16:33:30 -04:00
Dave Eddy
c3a91411f9 lots of unit tests 2015-09-02 15:38:27 -04:00
Trent Mick
018c46ef43 'make check' clean 2015-09-02 10:47:06 -07:00
Dave Eddy
d76535b4d2 negative sizes support, add more tests 2015-09-01 13:47:35 -04:00
Trent Mick
9241f90ccf 'make check-jsl' clean 2015-09-01 10:44:34 -07:00
Dave Eddy
42f0ee5a41 fix bug in humanSizeFromBytes 2015-09-01 13:44:10 -04:00
Trent Mick
333c47ae26 a start at a test framework 2015-09-01 00:31:00 -07:00
Dave Eddy
016e2d94f0 unnecessary call to common function 2015-08-31 17:14:48 -04:00
Trent Mick
1b2ed0758e Fix handling of SDC_TESTING envvar 2015-08-31 12:23:20 -07:00
Trent Mick
5e3efa02a6 'triton packages --human' for M/G/T units on sizes 2015-08-31 12:13:17 -07:00
Trent Mick
9e3df02a5e shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
Dave Eddy
f11bf0c247 jsonStream should actually stream 2015-08-26 16:53:23 -04:00
Dave Eddy
83fbcc129c weeks and minutes cleanup 2015-08-26 13:00:01 -04:00
Trent Mick
d6ac9fed33 triton create --dry-run 2015-08-26 09:36:28 -07:00
Dave Eddy
40c710d601 add output to start/stop/reboot/delete 2015-08-26 01:57:27 -04:00
Trent Mick
d255a1c2a9 f*#k 250k from pretty-bytes 2015-08-25 21:27:59 -07:00
Trent Mick
0d4e93208c first pass at 'triton create' 2015-08-25 20:53:53 -07:00
Dave Eddy
b5f9cbe054 add instance (alias and uuid) 2015-08-25 20:27:46 -04:00
Dave Eddy
f2dee08b46 add ago, fix bug 2015-08-25 20:00:50 -04:00
Dave Eddy
7afaadbd29 add packages, remove tabulate, put stuff in common 2015-08-25 18:30:25 -04:00
Trent Mick
1f123975ae update cmdln, move 'profile' command out to separate file 2015-08-25 12:14:16 -07:00
Trent Mick
dfca3e0ace unfinished and broken work :) 2015-07-25 22:47:45 -07:00