Plugins: Update DefaultSignature function signature in PluginSource interface (#100519)
* Plugins CDN: Add support for signature type and signature org * Fall-back to valid signature if the config is not supported * Move CDN signature code to DefaultSignature * fix tests
This commit is contained in:
@@ -20,7 +20,7 @@ type Installer interface {
|
||||
type PluginSource interface {
|
||||
PluginClass(ctx context.Context) Class
|
||||
PluginURIs(ctx context.Context) []string
|
||||
DefaultSignature(ctx context.Context) (Signature, bool)
|
||||
DefaultSignature(ctx context.Context, pluginID string) (Signature, bool)
|
||||
}
|
||||
|
||||
type FileStore interface {
|
||||
|
||||
Reference in New Issue
Block a user