Files
docker-cli/components/engine/daemon/graphdriver/driver_windows.go
Lei Jitang 3ba45e7906 Enable golint in pkg/arcive
Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: ba332b7d12fba16e8c604728a44986886eeb07d6
Component: engine
2015-08-04 09:52:54 +08:00

30 lines
715 B
Go

package graphdriver
import (
"github.com/docker/docker/pkg/archive"
"github.com/microsoft/hcsshim"
)
type WindowsGraphDriver interface {
Driver
CopyDiff(id, sourceId string, parentLayerPaths []string) error
LayerIdsToPaths(ids []string) []string
Info() hcsshim.DriverInfo
Export(id string, parentLayerPaths []string) (archive.Archive, error)
Import(id string, layerData archive.Reader, parentLayerPaths []string) (int64, error)
}
var (
// Slice of drivers that should be used in order
priority = []string{
"windowsfilter",
"windowsdiff",
"vfs",
}
)
func GetFSMagic(rootpath string) (FsMagic, error) {
// Note it is OK to return FsMagicUnsupported on Windows.
return FsMagicUnsupported, nil
}