Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNodeLabels ¶
Types ¶
type Claimer ¶
type Claimer struct {
// contains filtered or unexported fields
}
func NewClaimer ¶
type ExpiredReclaimer ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool bounds concurrent goroutines using a semaphore.
type TaskClaimer ¶
type TaskExecutor ¶
func NewRuntimeExecutor ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func NewWorker ¶
func NewWorker(claimer TaskClaimer, pool *Pool, pollInterval time.Duration, executor TaskExecutor) *Worker
func (*Worker) WithWakeups ¶
Click to show internal directories.
Click to hide internal directories.