This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
PluginDescriptor
contract needs to be properly defined and documented
#3697
Labels
Describe the feature request
Currently as part of
plugin-runtime
library,PluginDescriptor
is defined as an API contract between Core CLI and plugin developers to provide plugin specific details. Ref: https://github.com/vmware-tanzu/tanzu-framework/blob/main/cli/runtime/apis/cli/v1alpha1/catalog_types.go#L101-L159However, this
PluginDescriptor
currently contains things that Plugin Authors cannot and should not configure and those additional details are being used by core CLI to do some additional post processing. This additional fields likeInstallationPath
,Discovery
,Scope
,Status
andDiscoveredRecommendedVersion
doesn't make sense to be part ofPluginDescriptor
.As part of this issue, we need to solve the problem of this additional fields in the
PluginDescriptor
by removing fromPluginDescriptor
and moving it to implementation details on how Tanzu CLI manages the plugin.Also, Responsibility of
PluginDescriptor
needs to be defined properly.Describe alternative(s) you've considered
None
Affected product area (please put an X in all that apply)
Additional context
The text was updated successfully, but these errors were encountered: