Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶ added in v0.2.0
func New(ch chan struct{}, compareFunc structs.CompareFunc) *jobPool
New is a constructor for a jobPool
Types ¶
type JobNode ¶
type JobNode struct {
*v1.IntegrationJob
}
JobNode is a node to be stored in jobMap and jobPool
type JobPool ¶
type JobPool interface { Lock() Unlock() SyncJob(job *v1.IntegrationJob) Running() structs.SortedUniqueList Pending() structs.SortedUniqueList }
JobPool is an interface of jobPool
Click to show internal directories.
Click to hide internal directories.