MCPcopy Index your code
hub / github.com/containerd/containerd / All

Function All

core/mount/mount.go:51–58  ·  view source on GitHub ↗

All mounts all the provided mounts to the provided target. If submounts are present, it assumes that parent mounts come before child mounts.

(mounts []Mount, target string)

Source from the content-addressed store, hash-verified

49// All mounts all the provided mounts to the provided target. If submounts are
50// present, it assumes that parent mounts come before child mounts.
51func All(mounts []Mount, target string) error {
52 for _, m := range mounts {
53 if err := m.Mount(target); err != nil {
54 return err
55 }
56 }
57 return nil
58}
59
60// UnmountMounts unmounts all the mounts under a target in the reverse order of
61// the mounts array provided.

Callers 15

setupMountFunction · 0.92
TestLoopbackMountFunction · 0.92
TestLoopbackOverlayFunction · 0.92
mountAllFunction · 0.92
WithVolumesFunction · 0.92
mutateImageMountMethod · 0.92
CRImportCheckpointMethod · 0.92
NewContainerFunction · 0.92
mount.goFile · 0.92
TestBtrfsMountsFunction · 0.92

Calls 1

MountMethod · 0.65

Tested by 14

setupMountFunction · 0.74
TestLoopbackMountFunction · 0.74
TestLoopbackOverlayFunction · 0.74
TestBtrfsMountsFunction · 0.74
TestMultipleXfsMountsFunction · 0.74
testMountFunction · 0.74
testViewHookFunction · 0.74
testMountFunction · 0.74
TestErofsFsverityFunction · 0.74