2023-08-30 13:47:00 +00:00
|
|
|
package containerd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2023-11-08 11:23:55 +00:00
|
|
|
"github.com/containerd/containerd/mount"
|
2023-08-30 13:47:00 +00:00
|
|
|
"github.com/containerd/containerd/snapshots"
|
|
|
|
)
|
|
|
|
|
2023-12-21 02:28:04 +00:00
|
|
|
const remapSuffix = "-remap"
|
|
|
|
|
|
|
|
func (i *ImageService) copyAndUnremapRootFS(ctx context.Context, dst, src []mount.Mount) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-09-16 18:06:12 +00:00
|
|
|
func (i *ImageService) remapSnapshot(ctx context.Context, snapshotter snapshots.Snapshotter, id string, parentSnapshot string) error {
|
2023-08-30 13:47:00 +00:00
|
|
|
return nil
|
|
|
|
}
|
2023-11-08 11:23:55 +00:00
|
|
|
|
|
|
|
func (i *ImageService) unremapRootFS(ctx context.Context, mounts []mount.Mount) error {
|
|
|
|
return nil
|
|
|
|
}
|