MCPcopy
hub / github.com/dragonflyoss/dragonfly / WithTaskIDTag

Function WithTaskIDTag

test/e2e/util/task.go:163–167  ·  view source on GitHub ↗

WithTaskIDTag sets the tag of the download task.

(tag string)

Source from the content-addressed store, hash-verified

161
162// WithTaskIDTag sets the tag of the download task.
163func WithTaskIDTag(tag string) TaskIDOption {
164 return func(o *taskID) {
165 o.tag = tag
166 }
167}
168
169// WithTaskIDApplication sets the application of the download task.
170func WithTaskIDApplication(application string) TaskIDOption {

Callers 3

rate_limit_test.goFile · 0.92
proxy_test.goFile · 0.92
dfget_test.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected