MCPcopy Index your code
hub / github.com/flant/shell-operator / GetMain

Method GetMain

pkg/task/queue/queue_set.go:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (tqs *TaskQueueSet) GetMain() *TaskQueue {
120 return tqs.GetByName(tqs.MainName)
121}
122
123func (tqs *TaskQueueSet) AddTailTasks(tasks ...task.Task) {
124 tqs.logger.Debug("AddTailTasks: adding tasks to queues", slog.Int(pkg.LogKeyTasksCount, len(tasks)))

Callers 5

GetSnapshotMethod · 0.95
Test_DumpFunction · 0.80
TaskMainQueueFunction · 0.80
bootstrapMainQueueMethod · 0.80

Calls 1

GetByNameMethod · 0.95

Tested by 2

Test_DumpFunction · 0.64