Documentation ¶
Overview ¶
Package installer provides contracts to define a new installer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUnknownInstaller indicates that the installer is not registered. ErrUnknownInstaller = errors.New("unknown installer") // ErrNoInstaller indicates that the plugin has no supported installer. ErrNoInstaller = errors.New("no supported installer") )
Functions ¶
func Register ¶
func Register(name string, validity Validity, constructor Constructor)
Register registers a plugin installer.
Types ¶
type CallbackInstaller ¶
CallbackInstaller is a callback installer.
type Constructor ¶
Constructor is to construct a new installer.
Click to show internal directories.
Click to hide internal directories.