MCPcopy Index your code
hub / github.com/loft-sh/devpod / NewDefaultFramework

Function NewDefaultFramework

e2e/framework/framework.go:12–35  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

10}
11
12func NewDefaultFramework(path string) *Framework {
13 binName := "devpod-"
14 switch runtime.GOOS {
15 case "darwin":
16 binName = binName + "darwin-"
17 case "linux":
18 binName = binName + "linux-"
19 case "windows":
20 binName = binName + "windows-"
21 }
22
23 switch runtime.GOARCH {
24 case "amd64":
25 binName = binName + "amd64"
26 case "arm64":
27 binName = binName + "arm64"
28 }
29
30 if runtime.GOOS == "windows" {
31 binName = binName + ".exe"
32 }
33
34 return &Framework{DevpodBinDir: path, DevpodBinName: binName}
35}

Callers 15

integration.goFile · 0.92
proxyprovider.goFile · 0.92
machineprovider.goFile · 0.92
context.goFile · 0.92
ide.goFile · 0.92
ssh.goFile · 0.92
provider.goFile · 0.92
delete.goFile · 0.92
create.goFile · 0.92
docker-wsl.goFile · 0.92
up.goFile · 0.92
podman.goFile · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected