test
No long description provided.
Installation
dagger install bitbucket.org/dagger-modules/dagger-test-modules-public/various-source-values/samedir@f1b295cc1bce8eeea33cc3f42f89452c6fb3429e
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)
}