Documentation
¶
Index ¶
Constants ¶
View Source
const (
PluginLoadedType = iota
)
View Source
const (
TaskCreatedType = iota
)
Variables ¶
This section is empty.
Functions ¶
func DispatchWorkers ¶
func DispatchWorkers(nworkers int, pluginQueue chan PluginRequest, taskQueue chan TaskRequest, quitChan chan struct{}, workerWaitGroup *sync.WaitGroup, cp ManagesPlugins, tm ManagesTasks, mm getsMembers)
Types ¶
type ManagesPlugins ¶
type ManagesPlugins interface {
Load(...string) (core.CatalogedPlugin, perror.PulseError)
Unload(plugin core.Plugin) (core.CatalogedPlugin, perror.PulseError)
PluginCatalog() core.PluginCatalog
}
type ManagesTasks ¶
type ManagesTasks interface {
GetTask(id string) (core.Task, error)
CreateTask(sch schedule.Schedule, wfMap *wmap.WorkflowMap, startOnCreate bool, opts ...core.TaskOption) (core.Task, core.TaskErrors)
}
type PluginRequest ¶
type TaskRequest ¶
Click to show internal directories.
Click to hide internal directories.