(modPath string, args ...string)
| 8064 | } |
| 8065 | |
| 8066 | func 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 | |
| 8079 | func privateRepoSetup(c *dagger.Client, t *testctx.T, tc vcsTestCase) (dagger.WithContainerFunc, func()) { |
| 8080 | var socket *dagger.Socket |
no test coverage detected