50 Commits (25ce082d8fd6f44bd83fe1cfed96dc3b189c6223)

Author SHA1 Message Date
FFMMM 78264a8030
Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311) 3 years ago
Daniel Nephin ff7f3a9737 cli: use file mode 0600 when saving a snapshot 3 years ago
Daniel Nephin e8312d6b5a testing: remove unnecessary calls to freeport 3 years ago
Daniel Nephin 5a61893642 testing: use httptest with freeport 3 years ago
Paul Banks c501468d78
Fix panic bug in snapshot inspect (#10091) 4 years ago
Paul Banks d717d2cdc4
CLI: Allow snapshot inspect to work on internal raft snapshots directly. (#10089) 4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short 4 years ago
Joel Watson 182333b645 Fix some minor wording issues 4 years ago
Joel Watson 94689b6ecd Back out implicit -kvdetails functionality 4 years ago
Joel Watson 0d48559416 Length check is required here 4 years ago
Joel Watson 48a358df1b Remove trailing tabs from output 4 years ago
Joel Watson 491f2f0a57 Add more func comments 4 years ago
Joel Watson 99ec1febcc Move kvDetails default logic 4 years ago
Joel Watson ea804e57b4 Check for nil rather than length 4 years ago
Joel Watson 7aebd179de Update tests for new flag names 4 years ago
Joel Watson 40a8681816 Allow omission of -kvdetails if another -kv* flag is set 4 years ago
Joel Watson 1ef259b093 Rename params to better reflect their purpose 4 years ago
Joel Watson 5ad0db73c8 Make docs for params clearer 4 years ago
Joel Watson fbe8503258 Break KV portion of enchance into separate func 4 years ago
Joel Watson 5dd703a62a Move KV stat gen to separate func 4 years ago
Joel Watson aabb537aed Pull sorting into separate function 4 years ago
Joel Watson 3ee20d500a Refactor to reduce how many vars are being passed around 4 years ago
Joel Watson 1a50aa023a Fallback to alphabetic sorting if size is equal 4 years ago
Joel Watson be2a212d75 Add tests for new snapshot inspect flags 4 years ago
Joel Watson 5f5b49955c Update snapshot inspect formatter test 4 years ago
Joel Watson eafc593d0f Make key breakdown total size accurate 4 years ago
Joel Watson 4bf70dd857 Cleanup formatter 4 years ago
Joel Watson 208d6ebd95 Get JSON formatting working 4 years ago
Joel Watson e7a88d4a30 This ended up not being used. 4 years ago
Joel Watson 262fb3a0c3 Add snapshot inspect filter param 4 years ago
Joel Watson 10f325dc81 Initial stab at snapshot inspect key breakdown 4 years ago
s-christoff 79ce24e9fc
cli: Add JSON and Pretty Print formatting for `consul snapshot inspect` (#9006) 4 years ago
s-christoff 9bb348c6c7
Enhance the output of consul snapshot inspect (#8787) 4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall 4 years ago
R.B. Boyer 4d083103e2
fix some flaky snapshot tests (#8015) 5 years ago
R.B. Boyer b989967791
cli: ensure that 'snapshot save' is fsync safe and also only writes to the requested file on success (#7698) 5 years ago
R.B. Boyer 5f1518c37c
cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697) 5 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent 5 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568) 6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517) 6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 6 years ago
Josh Soref 94835a2715 Spelling (#3958) 7 years ago
Kyle Havlovitz 921d2e1469
Fix a panic in snapshot inspect command 7 years ago
Frank Schroeder b3292d13fb commands: get HTTP API flags for usage automatically 7 years ago
Frank Schroeder 1b026de1db commands: run all tests in parallel (again) 7 years ago
Frank Schroeder 56b24d3d4f commands: cleanup help and synopsis. 7 years ago
Frank Schroeder d54a5ef8d8 commands: do not run cmd tests in parallel 7 years ago
Frank Schroeder 84a82cff3d commands: cleanup test names 7 years ago
Frank Schroeder 51799e5d23 commands: move snapshot subcommands to subdirs 7 years ago
Frank Schroeder c8992cbe28 commands: move snapshot command to separate pkg 7 years ago