mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:53:10 +08:00
Chore: Change endpoint to check versions in cli (#78008)
This commit is contained in:

committed by
GitHub

parent
97c79f2c34
commit
f8a6380510
@ -12,14 +12,15 @@ type PluginArchiveInfo struct {
|
||||
Checksum string
|
||||
}
|
||||
|
||||
// PluginRepo is (a subset of) the JSON response from /api/plugins/repo/$pluginID
|
||||
type PluginRepo struct {
|
||||
Versions []Version `json:"versions"`
|
||||
// PluginVersions is the JSON response from /api/plugins/$pluginID/versions
|
||||
type PluginVersions struct {
|
||||
Versions []Version `json:"items"`
|
||||
}
|
||||
|
||||
type Version struct {
|
||||
Version string `json:"version"`
|
||||
Arch map[string]ArchMeta `json:"arch"`
|
||||
Arch map[string]ArchMeta `json:"packages"`
|
||||
URL string `json:"url"`
|
||||
}
|
||||
|
||||
type ArchMeta struct {
|
||||
|
Reference in New Issue
Block a user