test
No long description provided.
Installation
dagger install github.com/dagger/dagger-test-modules/various-source-values/subdir@ca6493ac2a5ed309c44565121b7bdd20a17b1abb
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)
}