MCPcopy
hub / github.com/containerd/containerd / MountManager

Method MountManager

client/client.go:836–843  ·  view source on GitHub ↗

MountManager returns the underlying mount manager client

()

Source from the content-addressed store, hash-verified

834
835// MountManager returns the underlying mount manager client
836func (c *Client) MountManager() mount.Manager {
837 if c.mountManager != nil {
838 return c.mountManager
839 }
840 c.connMu.Lock()
841 defer c.connMu.Unlock()
842 return mountproxy.NewMountManager(c.conn)
843}
844
845// VersionService returns the underlying VersionClient
846func (c *Client) VersionService() versionservice.VersionClient {

Callers 6

TestMountManagerFunction · 0.80
TestMountAtRuntimeFunction · 0.80
withReadonlyFSFunction · 0.80
WithVolumesFunction · 0.80
snapshots.goFile · 0.80
mount.goFile · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 2

TestMountManagerFunction · 0.64
TestMountAtRuntimeFunction · 0.64