Add debug headers when downloading plugins (#92579)

This commit is contained in:
Andres Martinez Gotor
2024-08-29 11:30:21 +02:00
committed by GitHub
parent 4209c13155
commit f9cd0fe5d1
8 changed files with 122 additions and 24 deletions

View File

@ -15,7 +15,7 @@ type Service interface {
// GetPluginArchiveInfo fetches information needed for downloading the requested plugin.
GetPluginArchiveInfo(ctx context.Context, pluginID, version string, opts CompatOpts) (*PluginArchiveInfo, error)
// PluginVersion will return plugin version based on the requested information.
PluginVersion(pluginID, version string, compatOpts CompatOpts) (VersionData, error)
PluginVersion(ctx context.Context, pluginID, version string, compatOpts CompatOpts) (VersionData, error)
}
type CompatOpts struct {