Documentation ¶
Index ¶
- func GenericInstallerRegistry(configFile string, registry core.InstallerRegistry) (err error)
- func GetInstallers(name string) (installers []core.Installer, ok bool)
- func HasPackage(name string) bool
- func Install(name string) (err error)
- func Uninstall(name string) (err error)
- type CmdWithArgs
- type DefaultInstallerRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenericInstallerRegistry ¶ added in v0.0.63
func GenericInstallerRegistry(configFile string, registry core.InstallerRegistry) (err error)
GenericInstallerRegistry registries a generic installer
func GetInstallers ¶
GetInstallers returns all the installers belong to a package
func HasPackage ¶
HasPackage finds if the target package installer exist
Types ¶
type CmdWithArgs ¶ added in v0.0.63
CmdWithArgs is a command with arguments
type DefaultInstallerRegistry ¶
type DefaultInstallerRegistry struct {
// contains filtered or unexported fields
}
DefaultInstallerRegistry is the default installer registry
Click to show internal directories.
Click to hide internal directories.