sletmig
This module has been generated via dagger init and serves as a reference tobasic 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.
Installation
dagger install github.com/JCzz/sletmig@ae8526f68c5db753681185fc22aca86c5850f601
Entrypoint
Return Type
Sletmig
Example
dagger -m github.com/JCzz/sletmig@ae8526f68c5db753681185fc22aca86c5850f601 call \
func (m *myModule) example() *Sletmig {
return dag.
Sletmig()
}
@function
def example() -> dag.Sletmig:
return (
dag.sletmig()
)
@func()
example(): Sletmig {
return dag
.sletmig()
}
Types
Sletmig 🔗
getHello() 🔗
Return Type
String !
Example
dagger -m github.com/JCzz/sletmig@ae8526f68c5db753681185fc22aca86c5850f601 call \
get-hello
func (m *myModule) example(ctx context.Context) string {
return dag.
Sletmig().
GetHello(ctx)
}
@function
async def example() -> str:
return await (
dag.sletmig()
.get_hello()
)
@func()
async example(): Promise<string> {
return dag
.sletmig()
.getHello()
}