MCPcopy Create free account
hub / github.com/dagger/dagger / daggerCallAt

Function daggerCallAt

core/integration/module_test.go:8066–8077  ·  view source on GitHub ↗
(modPath string, args ...string)

Source from the content-addressed store, hash-verified

8064}
8065
8066func daggerCallAt(modPath string, args ...string) dagger.WithContainerFunc {
8067 return func(c *dagger.Container) *dagger.Container {
8068 execArgs := []string{"dagger", "call"}
8069 if modPath != "" {
8070 execArgs = append(execArgs, "-m", modPath)
8071 }
8072 return c.WithExec(append(execArgs, args...), dagger.ContainerWithExecOpts{
8073 UseEntrypoint: true,
8074 ExperimentalPrivilegedNesting: true,
8075 })
8076 }
8077}
8078
8079func privateRepoSetup(c *dagger.Client, t *testctx.T, tc vcsTestCase) (dagger.WithContainerFunc, func()) {
8080 var socket *dagger.Socket

Callers 15

TestByNameMethod · 0.85
TestGitModMethod · 0.85
TestFindupMethod · 0.85
TestIfaceCallMethod · 0.85
TestRefIntegrationMethod · 0.85
TestInitMethod · 0.85
TestLoopsMethod · 0.85
TestContextDirectoryMethod · 0.85
TestContextGitRemoteMethod · 0.85
daggerCallFunction · 0.85

Calls 1

WithExecMethod · 0.45

Tested by

no test coverage detected