mirror of
https://github.com/luxfi/lpm.git
synced 2026-10-30 16:20:57 +00:00
- Update node v1.16.15 → v1.19.8 - Update crypto v1.17.0 → v1.17.4 - Update database v1.2.0 → v1.2.1 - Update geth v1.16.34 → v1.16.35 - Update ids v1.1.0 → v1.1.1 - Update Go 1.25 → 1.25.1 - Update copyright year to 2025
39 lines
843 B
Go
39 lines
843 B
Go
// Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
|
|
// See the file LICENSE for licensing terms.
|
|
|
|
package types
|
|
|
|
var _ Definition = &VM{}
|
|
|
|
type VM struct {
|
|
ID string `yaml:"id"`
|
|
Alias string `yaml:"alias"`
|
|
Homepage string `yaml:"homepage"`
|
|
Description string `yaml:"description"`
|
|
Maintainers []string `yaml:"maintainers"`
|
|
InstallScript string `yaml:"installScript"`
|
|
BinaryPath string `yaml:"binaryPath"`
|
|
URL string `yaml:"url"`
|
|
SHA256 string `yaml:"sha256"`
|
|
}
|
|
|
|
func (vm VM) GetID() string {
|
|
return vm.ID
|
|
}
|
|
|
|
func (vm VM) GetAlias() string {
|
|
return vm.Alias
|
|
}
|
|
|
|
func (vm VM) GetHomepage() string {
|
|
return vm.Homepage
|
|
}
|
|
|
|
func (vm VM) GetDescription() string {
|
|
return vm.Description
|
|
}
|
|
|
|
func (vm VM) GetMaintainers() []string {
|
|
return vm.Maintainers
|
|
}
|