Documentation
¶
Index ¶
- Variables
- func AddNewPlugins(newPlugins map[string]*Plugin)
- func ClearAllPlugins()
- func DelNoUsePlugins(newPlugins map[string]*Plugin)
- func ListPlugins(script_path string) map[string]*Plugin
- func PluginArgsParse(raw_args string) []string
- func PluginRun(plugin *Plugin)
- 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 ListPlugins ¶
return: dict{sys/ntp/60_ntp.py : *Plugin}
func PluginArgsParse ¶
using ',' as the seprator of args and '\,' to espace
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.