gouick/helpers/dependencies/interface.go

18 lines
458 B
Go

package dependencies
// DependencyInterface
type DependencyInterface interface {
CanBeInstalled() bool
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)
}