gouick/helpers/dependencies/interface.go

17 lines
417 B
Go

package dependencies
// Dependency
type Dependency interface {
DescribeInstall(path string) string
DescribePostInstall(path string) string
GetBinaryPath() (string, error)
GetInstallDirectory() (string, error)
GetName() string
GetMinimumVersion() string
GetVersion() (string, error)
Install(path string) error
PostInstall(path string) error
IsInstalled() (bool, error)
IsVersionSupported() (bool, error)
}