github.com/jwhonce/docker@v0.6.7-0.20190327063223-da823cf3a5a3/builder/builder-next/executor_windows.go (about) 1 package buildkit 2 3 import ( 4 "context" 5 "errors" 6 "io" 7 8 "github.com/docker/libnetwork" 9 "github.com/moby/buildkit/cache" 10 "github.com/moby/buildkit/executor" 11 ) 12 13 func newExecutor(_, _ string, _ libnetwork.NetworkController, _ bool) (executor.Executor, error) { 14 return &winExecutor{}, nil 15 } 16 17 type winExecutor struct { 18 } 19 20 func (e *winExecutor) Exec(ctx context.Context, meta executor.Meta, rootfs cache.Mountable, mounts []executor.Mount, stdin io.ReadCloser, stdout, stderr io.WriteCloser) error { 21 return errors.New("buildkit executor not implemented for windows") 22 }