containerd/core/diff/apply
Marat Radchenko bfc1465a2c Reorganize mount/unmount code so it is easier to add Darwin-specific implementation
After these changes, in order to add Darwin bind-mount implementation, one only needs:
* Adjust HasBindMounts definition in mount.go
* Provide implementation in mount_darwin.go

There was no consensus on adding dependency on bindfs, that seems to be the only working solution for bind-mounts on Darwin as of today, in https://github.com/containerd/containerd/pull/8789, that's why the actual implementation is not added in current PR.

As a bonus, Linux FUSE-related code was moved to a separate file and possibly could be reused on FreeBSD, though this needs testing.

Signed-off-by: Marat Radchenko <marat@slonopotamus.org>
2024-08-30 15:25:06 +03:00
..
apply_linux_test.go Move diff to core/diff 2024-01-17 09:51:17 -08:00
apply_linux.go migrate to github.com/moby/sys/userns 2024-08-08 12:48:54 +02:00
apply_other.go Reorganize mount/unmount code so it is easier to add Darwin-specific implementation 2024-08-30 15:25:06 +03:00
apply.go Move mount to core/mount 2024-01-17 09:52:12 -08:00