MCPcopy Create free account
hub / github.com/containerd/containerd / WithProgress

Function WithProgress

core/transfer/transfer.go:161–165  ·  view source on GitHub ↗
(f ProgressFunc)

Source from the content-addressed store, hash-verified

159type Opt func(*Config)
160
161func WithProgress(f ProgressFunc) Opt {
162 return func(opts *Config) {
163 opts.Progress = f
164 }
165}
166
167// Progress is used to represent a particular progress event or incremental
168// update for the provided named object. The parents represent the names of

Callers 7

TestTransferImportFunction · 0.92
push.goFile · 0.92
export.goFile · 0.92
pull.goFile · 0.92
import.goFile · 0.92
TransferMethod · 0.92

Calls

no outgoing calls

Tested by 1

TestTransferImportFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…