(args ...string)
| 8111 | } |
| 8112 | |
| 8113 | func daggerFunctions(args ...string) dagger.WithContainerFunc { |
| 8114 | return func(c *dagger.Container) *dagger.Container { |
| 8115 | return c.WithExec(append([]string{"dagger", "functions"}, args...), dagger.ContainerWithExecOpts{ |
| 8116 | ExperimentalPrivilegedNesting: true, |
| 8117 | }) |
| 8118 | } |
| 8119 | } |
| 8120 | |
| 8121 | // fileContents is syntax sugar for Container.WithNewFile. |
| 8122 | func fileContents(path, contents string) dagger.WithContainerFunc { |
no test coverage detected