gouick/helpers/dependencies/interface.go

15 lines
344 B
Go
Raw Normal View History

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)
}