Documentation ¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) CollectJobs(name endure.Named, j informer.JobsStat)
- func (p *Plugin) CollectWorkers(name endure.Named, r informer.Informer)
- func (p *Plugin) Collects() []any
- func (p *Plugin) Init() error
- func (p *Plugin) Jobs(name string) []*jobs.State
- func (p *Plugin) Name() string
- func (p *Plugin) RPC() any
- func (p *Plugin) Workers(name string) []*process.State
- type WorkerList
Constants ¶
View Source
const PluginName = "informer"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) CollectWorkers ¶
CollectWorkers obtains plugins with workers inside.
type WorkerList ¶
type WorkerList struct { // Workers are list of workers. Workers []*process.State `json:"workers"` }
WorkerList contains list of workers.
func (*WorkerList) Len ¶
func (w *WorkerList) Len() int
func (*WorkerList) Less ¶
func (w *WorkerList) Less(i, j int) bool
func (*WorkerList) Swap ¶
func (w *WorkerList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.