mirror of https://github.com/k3s-io/k3s
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
490 B
22 lines
490 B
2 years ago
|
//go:build linux
|
||
|
|
||
|
package containerd
|
||
|
|
||
|
import (
|
||
|
"github.com/containerd/containerd/snapshots/overlay/overlayutils"
|
||
|
fuseoverlayfs "github.com/containerd/fuse-overlayfs-snapshotter"
|
||
|
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)
|
||
|
}
|