main
No long description provided.
Installation
dagger install github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a
Entrypoint
Return Type
Main
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
func (m *myModule) example() *Main {
return dag.
Main()
}
@function
def example() -> dag.Main:
return (
dag.main()
)
@func()
example(): Main {
return dag
.main()
}
Types
Main 🔗
testcontainers() 🔗
Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
testcontainers
func (m *myModule) example(ctx context.Context) {
return dag.
Main().
Testcontainers(ctx)
}
@function
async def example() -> None:
return await (
dag.main()
.testcontainers()
)
@func()
async example(): Promise<void> {
return dag
.main()
.testcontainers()
}
alpine() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] ! | - | No description provided |
branch | String | "edge" | No description provided |
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
alpine --packages string1 --packages string2
func (m *myModule) example(packages []string) *Container {
return dag.
Main().
Alpine(packages)
}
@function
def example(packages: List[str]) -> dagger.Container:
return (
dag.main()
.alpine(packages)
)
@func()
example(packages: string[]): Container {
return dag
.main()
.alpine(packages)
}
wolfi() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
packages | [String ! ] ! | - | No description provided |
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
wolfi --packages string1 --packages string2
func (m *myModule) example(packages []string) *Container {
return dag.
Main().
Wolfi(packages)
}
@function
def example(packages: List[str]) -> dagger.Container:
return (
dag.main()
.wolfi(packages)
)
@func()
example(packages: string[]): Container {
return dag
.main()
.wolfi(packages)
}
wordpress() 🔗
Return Type
Service !
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
wordpress
func (m *myModule) example() *Service {
return dag.
Main().
Wordpress()
}
@function
def example() -> dagger.Service:
return (
dag.main()
.wordpress()
)
@func()
example(): Service {
return dag
.main()
.wordpress()
}
encapsulate() 🔗
Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
encapsulate
func (m *myModule) example(ctx context.Context) {
return dag.
Main().
Encapsulate(ctx)
}
@function
async def example() -> None:
return await (
dag.main()
.encapsulate()
)
@func()
async example(): Promise<void> {
return dag
.main()
.encapsulate()
}
fail() 🔗
Return Type
Void !
Example
dagger -m github.com/vito/daggerverse/test@3509a662fb698b5f0aaf38eaef9a9e0c9dc25d3a call \
fail
func (m *myModule) example(ctx context.Context) {
return dag.
Main().
Fail(ctx)
}
@function
async def example() -> None:
return await (
dag.main()
.fail()
)
@func()
async example(): Promise<void> {
return dag
.main()
.fail()
}