android
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/dolanor/daggerverse/android@91f4dfa24ccc4895696fc98a6cbe71fd5d4d48aa
Entrypoint
Return Type
Android
Example
dagger -m github.com/dolanor/daggerverse/android@91f4dfa24ccc4895696fc98a6cbe71fd5d4d48aa call \
func (m *MyModule) Example() *dagger.Android {
return dag.
Android()
}
@function
def example() -> dagger.Android:
return (
dag.android()
)
@func()
example(): Android {
return dag
.android()
}
Types
Android 🔗
withAndroid() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
ctr | Container ! | - | No description provided |
Example
dagger -m github.com/dolanor/daggerverse/android@91f4dfa24ccc4895696fc98a6cbe71fd5d4d48aa call \
with-android --ctr IMAGE:TAG
func (m *MyModule) Example(ctr *dagger.Container) *dagger.Container {
return dag.
Android().
WithAndroid(ctr)
}
@function
def example(ctr: dagger.Container) -> dagger.Container:
return (
dag.android()
.with_android(ctr)
)
@func()
example(ctr: Container): Container {
return dag
.android()
.withAndroid(ctr)
}