mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-07-29 07:09:28 +00:00
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
(cherry picked from commit 124e46bccf)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
22 lines
504 B
Go
22 lines
504 B
Go
//go:build linux
|
|
|
|
package containerd
|
|
|
|
import (
|
|
"github.com/containerd/containerd/v2/plugins/snapshots/overlay/overlayutils"
|
|
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter/v2"
|
|
stargz "github.com/containerd/stargz-snapshotter/service"
|
|
)
|
|
|
|
func OverlaySupported(root string) error {
|
|
return overlayutils.Supported(root)
|
|
}
|
|
|
|
func FuseoverlayfsSupported(root string) error {
|
|
return fuseoverlayfs.Supported(root)
|
|
}
|
|
|
|
func StargzSupported(root string) error {
|
|
return stargz.Supported(root)
|
|
}
|