Documentation
¶
Overview ¶
Package update implements an update launchr plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigFromBytesAndSet ¶
LoadConfigFromBytesAndSet parses the configuration from a byte slice and sets it as the global default configuration.
func SetUpdateConfig ¶
func SetUpdateConfig(cfg *config)
SetUpdateConfig sets the global default configuration of update
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin is launchr.Plugin providing update action.
func (*Plugin) DiscoverActions ¶
DiscoverActions implements launchr.ActionDiscoveryPlugin interface.
func (*Plugin) Generate ¶
func (p *Plugin) Generate(config launchr.GenerateConfig) error
Generate implements launchr.GeneratePlugin interface.
func (*Plugin) OnAppInit ¶
OnAppInit implements launchr.OnAppInitPlugin interface.
func (*Plugin) PluginInfo ¶
func (p *Plugin) PluginInfo() launchr.PluginInfo
PluginInfo implements launchr.Plugin interface.
Click to show internal directories.
Click to hide internal directories.