Skip to content

Commit ca92c23

Browse files
refactor: remove unused binary and plugin configuration types (#138)
1 parent 10796cb commit ca92c23

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

plugins/runtime-utils.go

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,6 @@ import (
1313
//go:embed runtimes/*/plugin.yaml
1414
var 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
3817
func ProcessRuntimes(configs []RuntimeConfig, runtimesDir string) (map[string]*RuntimeInfo, error) {
3918
result := make(map[string]*RuntimeInfo)

0 commit comments

Comments
 (0)