mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
13 lines
295 B
Go
13 lines
295 B
Go
package storage
|
|
|
|
import (
|
|
"archive/zip"
|
|
"context"
|
|
)
|
|
|
|
type Manager interface {
|
|
Add(ctx context.Context, pluginID string, rc *zip.ReadCloser) (*ExtractedPluginArchive, error)
|
|
Register(ctx context.Context, pluginID, pluginDir string) error
|
|
Remove(ctx context.Context, pluginID string) error
|
|
}
|