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