SYMBOL INDEX (91 symbols across 9 files) FILE: pkg/blero/backend.go type Blero (line 6) | type Blero struct method Start (line 21) | func (bl *Blero) Start() error { method Stop (line 32) | func (bl *Blero) Stop() error { method EnqueueJob (line 39) | func (bl *Blero) EnqueueJob(name string, data []byte) (uint64, error) { method RegisterProcessor (line 57) | func (bl *Blero) RegisterProcessor(p Processor) int { method RegisterProcessorFunc (line 62) | func (bl *Blero) RegisterProcessorFunc(f func(j *Job) error) int { method UnregisterProcessor (line 68) | func (bl *Blero) UnregisterProcessor(pID int) { function New (line 12) | func New(dbPath string) *Blero { FILE: pkg/blero/backend_test.go function TestBlero_StartNoDBPath (line 9) | func TestBlero_StartNoDBPath(t *testing.T) { function TestBlero_StartDBPathDoesntExist (line 15) | func TestBlero_StartDBPathDoesntExist(t *testing.T) { function BenchmarkEnqueue (line 21) | func BenchmarkEnqueue(b *testing.B) { FILE: pkg/blero/dispatch.go type dispatcher (line 11) | type dispatcher struct method startLoop (line 31) | func (d *dispatcher) startLoop(q *queue) { method signalLoop (line 48) | func (d *dispatcher) signalLoop() { method stopLoop (line 60) | func (d *dispatcher) stopLoop() { method registerProcessor (line 65) | func (d *dispatcher) registerProcessor(p Processor) int { method unregisterProcessor (line 79) | func (d *dispatcher) unregisterProcessor(pID int) { method assignJobs (line 87) | func (d *dispatcher) assignJobs(q *queue) error { method assignJob (line 105) | func (d *dispatcher) assignJob(q *queue, pID int) error { method unassignJob (line 132) | func (d *dispatcher) unassignJob(pID int) { method runJob (line 140) | func (d *dispatcher) runJob(q *queue, pID int, p Processor, j *Job) { method processorDone (line 158) | func (d *dispatcher) processorDone(pID int) { function newDispatcher (line 19) | func newDispatcher(pStore *processorsStore) *dispatcher { FILE: pkg/blero/dispatch_test.go type noOpProcessor (line 17) | type noOpProcessor struct method Run (line 19) | func (p *noOpProcessor) Run(j *Job) error { function TestBlero_RegisterUnregisterProcessor (line 23) | func TestBlero_RegisterUnregisterProcessor(t *testing.T) { type testProcessor (line 54) | type testProcessor struct method Run (line 58) | func (m *testProcessor) Run(j *Job) error { function TestBlero_assignJobs (line 69) | func TestBlero_assignJobs(t *testing.T) { function TestBlero_AutoProcessing_ProcessorFirst (line 150) | func TestBlero_AutoProcessing_ProcessorFirst(t *testing.T) { function TestBlero_AutoProcessing_JobsFirst (line 187) | func TestBlero_AutoProcessing_JobsFirst(t *testing.T) { function TestBlero_AutoProcessing_GoRoutinesHanging (line 224) | func TestBlero_AutoProcessing_GoRoutinesHanging(t *testing.T) { type safeBuffer (line 245) | type safeBuffer struct method Read (line 250) | func (b *safeBuffer) Read(p []byte) (n int, err error) { method Write (line 256) | func (b *safeBuffer) Write(p []byte) (n int, err error) { function Test_dispatcherAssignFails (line 262) | func Test_dispatcherAssignFails(t *testing.T) { FILE: pkg/blero/jobstatus_string.go constant _jobStatus_name (line 7) | _jobStatus_name = "pendinginprogresscompletefailed" method String (line 11) | func (i jobStatus) String() string { FILE: pkg/blero/jobstatus_string_test.go function TestJobStatus_String (line 9) | func TestJobStatus_String(t *testing.T) { FILE: pkg/blero/processing.go type Job (line 4) | type Job struct type Processor (line 11) | type Processor interface type ProcessorFunc (line 16) | type ProcessorFunc method Run (line 19) | func (pf ProcessorFunc) Run(j *Job) error { type processorsStore (line 24) | type processorsStore struct method registerProcessor (line 39) | func (pStore *processorsStore) registerProcessor(p Processor) int { method unregisterProcessor (line 47) | func (pStore *processorsStore) unregisterProcessor(pID int) { method getAvailableProcessorsIDs (line 52) | func (pStore *processorsStore) getAvailableProcessorsIDs() []int { method getProcessor (line 63) | func (pStore *processorsStore) getProcessor(pID int) Processor { method isProcessorBusy (line 68) | func (pStore *processorsStore) isProcessorBusy(pID int) bool { method setProcessing (line 74) | func (pStore *processorsStore) setProcessing(pID int, jID uint64) { method unsetProcessing (line 79) | func (pStore *processorsStore) unsetProcessing(pID int) { function newProcessorsStore (line 31) | func newProcessorsStore() *processorsStore { FILE: pkg/blero/queue.go type queueOpts (line 15) | type queueOpts struct type queue (line 21) | type queue struct method start (line 52) | func (q *queue) start() error { method stop (line 79) | func (q *queue) stop() error { method enqueueJob (line 109) | func (q *queue) enqueueJob(name string, data []byte) (uint64, error) { method dequeueJob (line 167) | func (q *queue) dequeueJob() (*Job, error) { method markJobDone (line 220) | func (q *queue) markJobDone(id uint64, status jobStatus) error { function newQueue (line 29) | func newQueue(opts queueOpts) *queue { type badgerLogger (line 34) | type badgerLogger struct method Infof (line 36) | func (l *badgerLogger) Infof(format string, a ...interface{}) { method Errorf (line 39) | func (l *badgerLogger) Errorf(format string, a ...interface{}) { method Warningf (line 42) | func (l *badgerLogger) Warningf(format string, a ...interface{}) { method Debugf (line 46) | func (l *badgerLogger) Debugf(format string, a ...interface{}) { function getNextSeq (line 95) | func getNextSeq(seq *badger.Sequence) (num uint64, err error) { function encodeJob (line 134) | func encodeJob(j *Job) ([]byte, error) { type jobStatus (line 141) | type jobStatus constant jobPending (line 145) | jobPending jobStatus = iota constant jobInProgress (line 147) | jobInProgress constant jobComplete (line 149) | jobComplete constant jobFailed (line 151) | jobFailed function getQueueKeyPrefix (line 154) | func getQueueKeyPrefix(status jobStatus) string { function getJobKey (line 158) | func getJobKey(status jobStatus, jID uint64) string { function jIDString (line 162) | func jIDString(jID uint64) string { function getFirstKVForPrefix (line 197) | func getFirstKVForPrefix(txn *badger.Txn, prefix []byte) ([]byte, []byte... function decodeJob (line 244) | func decodeJob(b []byte) (*Job, error) { function getJobForKey (line 253) | func getJobForKey(txn *badger.Txn, key []byte) (*Job, error) { function getBytesForKey (line 265) | func getBytesForKey(txn *badger.Txn, key []byte) ([]byte, error) { function moveItem (line 279) | func moveItem(txn *badger.Txn, oldKey []byte, newKey []byte, b []byte) e... FILE: pkg/blero/queue_test.go constant testDBPath (line 13) | testDBPath = "../../db/test" function deleteDBFolder (line 15) | func deleteDBFolder(dbPath string) { function TestBlero_BadgerLogger (line 41) | func TestBlero_BadgerLogger(t *testing.T) { function TestBlero_EnqueueJob (line 49) | func TestBlero_EnqueueJob(t *testing.T) { function TestBlero_EnqueueJob_Concurrent (line 82) | func TestBlero_EnqueueJob_Concurrent(t *testing.T) { function TestBlero_EnqueueJobQueueStopped (line 112) | func TestBlero_EnqueueJobQueueStopped(t *testing.T) { function TestBlero_DequeueJob (line 125) | func TestBlero_DequeueJob(t *testing.T) { function TestBlero_DequeueJob_Concurrent (line 170) | func TestBlero_DequeueJob_Concurrent(t *testing.T) { function TestBlero_MarkJobDone (line 218) | func TestBlero_MarkJobDone(t *testing.T) { function TestBlero_moveItemErr (line 285) | func TestBlero_moveItemErr(t *testing.T) { function TestBlero_decodeJobErr (line 291) | func TestBlero_decodeJobErr(t *testing.T) {