test
No long description provided.
Installation
dagger install github.com/dagger/dagger-test-modules.git/various-source-values/samedir@2cb6cb4b0dba52c1e65b3ff46dd1a4a8f9a02f94
Types
Test đź”—
containerEcho() đź”—
example usage: “dagger call container-echo –string-arg yo stdout”
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
stringArg | String ! | - | No description provided |
Example
func (m *myModule) example(stringArg string) *Container {
return dag.
Test().
ContainerEcho(stringArg)
}
grepDir() đź”—
example usage: “dagger call grep-dir –directory-arg . –pattern GrepDir”
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directoryArg | Directory ! | - | No description provided |
pattern | String ! | - | No description provided |
Example
func (m *myModule) example(ctx context.Context, directoryArg *Directory, pattern string) string {
return dag.
Test().
GrepDir(ctx, directoryArg, pattern)
}