MCPcopy
hub / github.com/containerd/containerd / Progress

Method Progress

integration/client/import_test.go:735–741  ·  view source on GitHub ↗
(p transfer.Progress)

Source from the content-addressed store, hash-verified

733}
734
735func (ip *imagesProgress) Progress(p transfer.Progress) {
736 ip.Lock()
737 if p.Event == "saved" {
738 ip.images = append(ip.images, p.Name)
739 }
740 ip.Unlock()
741}
742
743func (ip *imagesProgress) getImages() []string {
744 ip.Lock()

Callers 6

ApplyMethod · 0.80
TransferMethod · 0.80
pushMethod · 0.80
exportStreamMethod · 0.80
pullMethod · 0.80
importStreamMethod · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by

no test coverage detected