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

Function daggerShell

core/integration/module_shell_test.go:24–31  ·  view source on GitHub ↗
(script string)

Source from the content-addressed store, hash-verified

22}
23
24func daggerShell(script string) dagger.WithContainerFunc {
25 return func(c *dagger.Container) *dagger.Container {
26 return c.WithExec([]string{"dagger", "shell"}, dagger.ContainerWithExecOpts{
27 Stdin: script,
28 ExperimentalPrivilegedNesting: true,
29 })
30 }
31}
32
33func daggerShellNoMod(script string) dagger.WithContainerFunc {
34 return func(c *dagger.Container) *dagger.Container {

Callers 15

TestDefaultToModuleMethod · 0.85
TestModuleLookupMethod · 0.85
TestNoLoadModuleMethod · 0.85
TestLoadAnotherModuleMethod · 0.85
TestNotExistsMethod · 0.85
TestIntegerArgMethod · 0.85
TestExportMethod · 0.85
TestBasicModuleMethod · 0.85
TestPassingIDMethod · 0.85
TestStateCommandMethod · 0.85
TestArgsSpreadMethod · 0.85

Calls 1

WithExecMethod · 0.45

Tested by

no test coverage detected