Commit Graph

46 Commits (757ceef2d0f0a5e0ff3c25f02ad93869ef7b75ba)

Author SHA1 Message Date
hashicorp-copywrite[bot] 5fb9df1640
[COMPLIANCE] License changes (#18443)
1 year ago
Ronald 4c070c38e4
Copyright headers for command folder (#16705)
2 years ago
Kyle Schochenmaier bf0f61a878
removes ioutil usage everywhere which was deprecated in go1.16 (#15297)
2 years ago
FFMMM 78264a8030
Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311)
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
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 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