Documentation ¶
Index ¶
- func NewFakeInstaller(support bool, hasError bool) core.Installer
- type Installer
- func (d *Installer) Available() bool
- func (d *Installer) Install() (err error)
- func (d *Installer) SetURLReplace(data map[string]string)
- func (d *Installer) Start() (err error)
- func (d *Installer) Stop() (err error)
- func (d *Installer) Uninstall() (err error)
- func (d *Installer) WaitForStart() (ok bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
Installer only for test purpose
func (*Installer) SetURLReplace ¶ added in v0.0.76
SetURLReplace is a fake method
func (*Installer) WaitForStart ¶
WaitForStart waits for the service be started
Click to show internal directories.
Click to hide internal directories.