Commit Graph

36 Commits (491f2f0a57ae752938f7963b3898b46ad9f6f9f0)

Author SHA1 Message Date
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