File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -13,27 +13,6 @@ import (
1313//go:embed runtimes/*/plugin.yaml
1414var pluginsFS embed.FS
1515
16- // binary represents a binary executable provided by the runtime
17- type binary struct {
18- Name string `yaml:"name"`
19- Path interface {} `yaml:"path"` // Can be either string or map[string]string
20- }
21-
22- // binaryPath represents OS-specific paths for a binary
23- type binaryPath struct {
24- Darwin string `yaml:"darwin"`
25- Linux string `yaml:"linux"`
26- }
27-
28- // pluginConfig holds the structure of the plugin.yaml file
29- type pluginConfig struct {
30- Name string `yaml:"name"`
31- Description string `yaml:"description"`
32- Download DownloadConfig `yaml:"download"`
33- Binaries []binary `yaml:"binaries"`
34- DefaultVersion string `yaml:"default_version"`
35- }
36-
3716// ProcessRuntimes processes a list of runtime configurations and returns a map of runtime information
3817func ProcessRuntimes (configs []RuntimeConfig , runtimesDir string ) (map [string ]* RuntimeInfo , error ) {
3918 result := make (map [string ]* RuntimeInfo )
You can’t perform that action at this time.
0 commit comments