Documentation ¶
Index ¶
- type Installer
- type InstallerImpl
- func (installer *InstallerImpl) Apply() error
- func (installer *InstallerImpl) Info(urlOrName string) error
- func (installer *InstallerImpl) Init(OPPath string) error
- func (installer *InstallerImpl) Install(path string, force bool) error
- func (installer *InstallerImpl) List() error
- func (installer *InstallerImpl) Remove(name string) error
- func (installer *InstallerImpl) RemoveAllOMMBranches() error
- func (installer *InstallerImpl) Reset() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer interface { Reset() error Apply() error Install(path string, force bool) error Remove(name string) error List() error Init(OPPath string) error Info(name string) error }
func GetInstaller ¶
func GetInstaller() Installer
type InstallerImpl ¶
type InstallerImpl struct{}
func (*InstallerImpl) Apply ¶
func (installer *InstallerImpl) Apply() error
func (*InstallerImpl) Info ¶
func (installer *InstallerImpl) Info(urlOrName string) error
func (*InstallerImpl) Init ¶
func (installer *InstallerImpl) Init(OPPath string) error
func (*InstallerImpl) Install ¶
func (installer *InstallerImpl) Install(path string, force bool) error
func (*InstallerImpl) List ¶
func (installer *InstallerImpl) List() error
func (*InstallerImpl) Remove ¶
func (installer *InstallerImpl) Remove(name string) error
func (*InstallerImpl) RemoveAllOMMBranches ¶
func (installer *InstallerImpl) RemoveAllOMMBranches() error
func (*InstallerImpl) Reset ¶
func (installer *InstallerImpl) Reset() error
Click to show internal directories.
Click to hide internal directories.