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

Method WithMainName

pkg/task/queue/queue_set.go:40–43  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

38}
39
40func (tqs *TaskQueueSet) WithMainName(name string) {
41 tqs.MainName = name
42 tqs.logger = tqs.logger.Named(name)
43}
44
45func (tqs *TaskQueueSet) WithContext(ctx context.Context) {
46 tqs.ctx, tqs.cancel = context.WithCancel(ctx)

Callers 2

Test_DumpFunction · 0.80
bootstrapMainQueueMethod · 0.80

Calls

no outgoing calls

Tested by 1

Test_DumpFunction · 0.64