open-consul/command/intention
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
..
check testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
create testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
delete testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
get testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
list cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 21:14:31 +01:00
match testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
format.go connect: various changes to make namespaces for intentions work more like for other subsystems (#8194) 2020-06-26 16:59:15 -05:00
helpers.go connect: intentions are now managed as a new config entry kind "service-intentions" (#8834) 2020-10-06 13:24:05 -05:00
helpers_test.go testing: skip slow tests with -short 2020-12-07 13:42:55 -05:00
intention.go cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 21:14:31 +01:00
intention_test.go command/intention/create 2018-06-14 09:42:18 -07:00