grafana/pkg/plugins/storage/models.go
Will Browne e0e2535c96
Plugins: Tidy up CLI code (#67813)
* more tidying

* move some things around

* more tidying

* fix linter
2023-05-08 10:58:47 +02:00

24 lines
437 B
Go

package storage
import "fmt"
type ErrPermissionDenied struct {
Path string
}
func (e ErrPermissionDenied) Error() string {
return fmt.Sprintf("could not create %q, permission denied, make sure you have write access to plugin dir", e.Path)
}
type ExtractedPluginArchive struct {
ID string
Version string
Dependencies []*Dependency
Path string
}
type Dependency struct {
ID string
Version string
}