Documentation
¶
Index ¶
Constants ¶
View Source
const (
// Root triggers modules without dependencies
Root = ""
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Name string
Description string
Dependencies []string
IsReloadAll bool
DoStartup bool
Labels map[string]string
}
Request describes a module and run task options
type Scheduler ¶
type Scheduler struct {
// contains filtered or unexported fields
}
Scheduler is used to process functional modules, it waits until modules` dependencies are processed and then runs ModuleRun tasks for them in parallel queues
func NewScheduler ¶
NewScheduler creates a scheduler instance and starts it
Click to show internal directories.
Click to hide internal directories.