15 lines
344 B
Go
15 lines
344 B
Go
|
package dependencies
|
||
|
|
||
|
// Dependency
|
||
|
type Dependency interface {
|
||
|
DescribeInstall(path string) string
|
||
|
GetBinaryPath() (string, error)
|
||
|
GetInstallDirectory() (string, error)
|
||
|
GetName() string
|
||
|
GetMinimumVersion() string
|
||
|
GetVersion() (string, error)
|
||
|
Install(path string) error
|
||
|
IsInstalled() (bool, error)
|
||
|
IsVersionSupported() (bool, error)
|
||
|
}
|