2021-06-01 19:29:46 +00:00
|
|
|
// +build linux
|
|
|
|
|
|
|
|
package containerd
|
|
|
|
|
|
|
|
import (
|
2021-08-20 08:32:17 +00:00
|
|
|
"github.com/containerd/containerd/snapshots/overlay/overlayutils"
|
2021-06-01 19:29:46 +00:00
|
|
|
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter"
|
2021-09-01 23:27:42 +00:00
|
|
|
stargz "github.com/containerd/stargz-snapshotter/service"
|
2021-06-01 19:29:46 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func OverlaySupported(root string) error {
|
2021-08-20 08:32:17 +00:00
|
|
|
return overlayutils.Supported(root)
|
2021-06-01 19:29:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func FuseoverlayfsSupported(root string) error {
|
|
|
|
return fuseoverlayfs.Supported(root)
|
|
|
|
}
|
2021-09-01 23:27:42 +00:00
|
|
|
|
|
|
|
func StargzSupported(root string) error {
|
|
|
|
return stargz.Supported(root)
|
|
|
|
}
|