2022-07-15 11:49:53 +00:00
|
|
|
package dependencies
|
|
|
|
|
2022-07-25 20:19:38 +00:00
|
|
|
// DependencyInterface
|
|
|
|
type DependencyInterface interface {
|
2022-07-16 15:46:09 +00:00
|
|
|
CanBeInstalled() bool
|
2022-07-15 11:49:53 +00:00
|
|
|
DescribeInstall(path string) string
|
2022-07-15 22:16:59 +00:00
|
|
|
DescribePostInstall(path string) string
|
2022-07-15 11:49:53 +00:00
|
|
|
GetBinaryPath() (string, error)
|
|
|
|
GetInstallDirectory() (string, error)
|
|
|
|
GetName() string
|
|
|
|
GetMinimumVersion() string
|
|
|
|
GetVersion() (string, error)
|
|
|
|
Install(path string) error
|
2022-07-15 22:16:59 +00:00
|
|
|
PostInstall(path string) error
|
2022-07-15 11:49:53 +00:00
|
|
|
IsInstalled() (bool, error)
|
|
|
|
IsVersionSupported() (bool, error)
|
|
|
|
}
|