CreateBundleLink creates the BundleLink by symlinking to the provided bundle dir
(containerID string, bundleDir bundle.Dir)
| 131 | |
| 132 | // CreateBundleLink creates the BundleLink by symlinking to the provided bundle dir |
| 133 | func (d Dir) CreateBundleLink(containerID string, bundleDir bundle.Dir) error { |
| 134 | path, err := d.BundleLink(containerID) |
| 135 | if err != nil { |
| 136 | return err |
| 137 | } |
| 138 | |
| 139 | return createSymlink(bundleDir.RootPath(), path.RootPath(), "bundle") |
| 140 | } |
| 141 | |
| 142 | // CreateAddressLink creates a symlink from the VM dir to the bundle dir for the shim address file. |
| 143 | // This symlink is read by containerd. |
no test coverage detected