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

Method TransferService

client/client.go:826–833  ·  view source on GitHub ↗

TranferService returns the underlying transferrer

()

Source from the content-addressed store, hash-verified

824
825// TranferService returns the underlying transferrer
826func (c *Client) TransferService() transfer.Transferrer {
827 if c.transferService != nil {
828 return c.transferService
829 }
830 c.connMu.Lock()
831 defer c.connMu.Unlock()
832 return transferproxy.NewTransferrer(transferapi.NewTransferClient(c.conn), c.streamCreator())
833}
834
835// MountManager returns the underlying mount manager client
836func (c *Client) MountManager() mount.Manager {

Callers 1

initLocalCRIImageServiceFunction · 0.80

Calls 3

streamCreatorMethod · 0.95
LockMethod · 0.65
UnlockMethod · 0.65

Tested by 1

initLocalCRIImageServiceFunction · 0.64