Documentation ¶
Index ¶
- Variables
- func AddNewPlugins(newPlugins map[string]*Plugin)
- func ClearAllPlugins()
- func DelNoUsePlugins(newPlugins map[string]*Plugin)
- func GetCurrGitRepo() (str string, err error)
- func GetCurrPluginVersion() (str string, err error)
- func GitLsRemote(gitRepo string, refs string) (string, error)
- func ListPlugins(relativePath string) map[string]*Plugin
- func PluginRun(plugin *Plugin)
- func SetCurrGitRepo(gitRepo string) error
- func UpdatePlugin(ver string, repo string) error
- type Plugin
- type PluginScheduler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Plugins = make(map[string]*Plugin) PluginsWithScheduler = make(map[string]*PluginScheduler) )
Functions ¶
func AddNewPlugins ¶
func ClearAllPlugins ¶
func ClearAllPlugins()
func DelNoUsePlugins ¶
func GetCurrGitRepo ¶
func GetCurrPluginVersion ¶
func SetCurrGitRepo ¶
func UpdatePlugin ¶
Types ¶
type PluginScheduler ¶
func NewPluginScheduler ¶
func NewPluginScheduler(p *Plugin) *PluginScheduler
func (*PluginScheduler) Schedule ¶
func (this *PluginScheduler) Schedule()
func (*PluginScheduler) Stop ¶
func (this *PluginScheduler) Stop()
Click to show internal directories.
Click to hide internal directories.