mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
e0e2535c96
* more tidying * move some things around * more tidying * fix linter
24 lines
437 B
Go
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
|
|
}
|