test This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
dagger install github.com/softwaredevelop/ daggerverse/hello/ test@a08766029fb3dba42d8073b596263ec3faa8a252
content_copy Copied!
Entrypoint Return Type Test
Example dagger - m github.com/softwaredevelop/ daggerverse/hello/ test@a08766029fb3dba42d8073b596263ec3faa8a252 call \
content_copy Copied! func (m *myModule) example () *Test {
return dag.
Test ()
}
content_copy Copied! @function
def example () -> dag.Test :
return (
dag.test ()
)
content_copy Copied! @func()
example(): Test {
return dag
.test()
}
content_copy Copied!
Types Test is a module for running tests.
All runs all tests.
Return Type Void !
Example dagger - m github.com/ softwaredevelop/ daggerverse/ hello/ test@a08766029fb3dba42d8073b596263ec3faa8a252 call \
all
content_copy Copied! func (m *myModule) example (ctx context.Context) {
return dag.
Test ().
All (ctx)
}
content_copy Copied! @function
async def example () -> None :
return await (
dag.test()
.all ()
)
content_copy Copied! @func()
async example (): Promise<void > {
return dag
.test()
.all()
}
content_copy Copied! helloContainer() 🔗 HelloContainer tests the HelloContainer function.
Return Type Void !
Example dagger - m github.com/softwaredevelop/ daggerverse/hello/ test@a08766029fb3dba42d8073b596263ec3faa8a252 call \
hello- container
content_copy Copied! func (m *myModule) example (ctx context.Context) {
return dag.
Test ().
HelloContainer (ctx)
}
content_copy Copied! @function
async def example () -> None :
return await (
dag.test()
.hello_container()
)
content_copy Copied! @func()
async example (): Promise<void > {
return dag
.test()
.helloContainer()
}
content_copy Copied! helloString() 🔗 HelloString tests the HelloString function.
Return Type Void !
Example dagger - m github.com/softwaredevelop/ daggerverse/hello/ test@a08766029fb3dba42d8073b596263ec3faa8a252 call \
hello- string
content_copy Copied! func (m *myModule) example (ctx context.Context) {
return dag.
Test ().
HelloString (ctx)
}
content_copy Copied! @function
async def example () -> None :
return await (
dag.test()
.hello_string()
)
content_copy Copied! @func()
async example (): Promise<void > {
return dag
.test()
.helloString()
}
content_copy Copied!