result
No long description provided.
Installation
dagger install github.com/salaboy/example-voting-app/go/result@3fa8404ba33c4d47df32eb2f33f4e3c36ffcc511
Entrypoint
Return Type
Result
Example
dagger -m github.com/salaboy/example-voting-app/go/result@3fa8404ba33c4d47df32eb2f33f4e3c36ffcc511 call \
func (m *myModule) example() *Result {
return dag.
Result()
}
@function
def example() -> dag.Result:
return (
dag.result()
)
@func()
example(): Result {
return dag
.result()
}
Types
Result 🔗
serve() 🔗
Return Type
Service !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
componentsPath | Directory | - | No description provided |
postgresSvc | Service | - | No description provided |
Example
dagger -m github.com/salaboy/example-voting-app/go/result@3fa8404ba33c4d47df32eb2f33f4e3c36ffcc511 call \
serve --dir DIR_PATH
func (m *myModule) example(dir *Directory) *Service {
return dag.
Result().
Serve(dir)
}
@function
def example(dir: dagger.Directory) -> dagger.Service:
return (
dag.result()
.serve(dir)
)
@func()
example(dir: Directory): Service {
return dag
.result()
.serve(dir)
}
build() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
componentsPath | Directory | - | No description provided |
postgresSvc | Service | - | No description provided |
Example
dagger -m github.com/salaboy/example-voting-app/go/result@3fa8404ba33c4d47df32eb2f33f4e3c36ffcc511 call \
build --dir DIR_PATH
func (m *myModule) example(dir *Directory) *Container {
return dag.
Result().
Build(dir)
}
@function
def example(dir: dagger.Directory) -> dagger.Container:
return (
dag.result()
.build(dir)
)
@func()
example(dir: Directory): Container {
return dag
.result()
.build(dir)
}