mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
- Introduced DefaultIsolation method in the Daemon to return the daemon configured isolation mode for Windows. Signed-off-by: Vigilans <vigilans@foxmail.com>
16 lines
488 B
Go
16 lines
488 B
Go
//go:build !linux && !windows
|
|
|
|
package buildkit
|
|
|
|
import (
|
|
"github.com/moby/buildkit/executor"
|
|
"github.com/moby/buildkit/executor/oci"
|
|
"github.com/moby/buildkit/solver/llbsolver/cdidevices"
|
|
"github.com/moby/moby/v2/daemon/libnetwork"
|
|
"github.com/moby/sys/user"
|
|
)
|
|
|
|
func newExecutor(_, _ string, _ *libnetwork.Controller, _ *oci.DNSConfig, _ bool, _ user.IdentityMapping, _ string, _ *cdidevices.Manager, _, _ string, _ bool) (executor.Executor, error) {
|
|
return &stubExecutor{}, nil
|
|
}
|