open-consul/command
Michael Hofer acc843f04d
cli: Add consul intention list command (based on PR #6825) (#9468)
This PR is based on the previous work by @snuggie12 in PR #6825. It adds the command consul intention list to list all available intentions. The list functionality for intentions seems a bit overdue as it's just very handy. The web UI cannot list intentions outside of the default namespace, and using the API is sometimes not the friendliest option. ;)

I cherry picked snuggie12's commits who did most of the heavy lifting (thanks again @snuggie12 for your great work!). The changes in the original commit mostly still worked on the current HEAD. On top of that I added support for namespaces and fixed the docs as they are managed differently today. Also the requested changes related to the "Connect" references in the original PRs have been addressed.

Fixes #5652

Co-authored-by: Matt Hoey <mhoey05@jcu.edu>
2021-01-12 21:14:31 +01:00
..
acl testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
agent testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
catalog testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
config testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
connect testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
debug testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
event testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
exec testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
flags ci: update to Go 1.15.4 and alpine:3.12 (#9036) 2020-11-13 13:02:59 -05:00
forceleave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
helpers
info testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
intention cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 21:14:31 +01:00
join testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
keygen
keyring testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
kv testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
leave testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
lock testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
login testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
logout testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
maint testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
members testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
monitor testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
operator testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
reload testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
rtt testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
services testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
snapshot testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
tls testing: Remove all the defer os.Removeall 2020-08-14 19:58:53 -04:00
validate testing: use t.Cleanup in testutil.TempFile 2020-08-14 20:06:01 -04:00
version add v to version pretty formatter (#8341) 2020-07-20 17:43:10 -04:00
watch testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
commands_oss.go cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 21:14:31 +01:00
registry.go