[CentralRepo] Add tanzu plugin search command #52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
This commit provides the new "tanzu plugin search" command in its most basic form:
This command is part of the Central Repository feature and therefore is only accessible if the
features.global.central-repository
feature flag is enabled.The command works just as well with a Central Repo as a current plugin discovery. Therefore the commit is directly based on the
main
branch and can be tested with TKG and TMC discoveries.Describe testing done for PR
I also rebased this PR on top of #45 and it works fine with a test Central Repository.
Release note
Additional information
This command is in its most basic form to be ready for a pre-alpha release.
It allows to list all discovered plugins without filtering.
Special notes for your reviewer