Dagger
Search

vote

No long description provided.

Installation

dagger install github.com/salaboy/example-voting-app/java/vote@4254b79386eb8bdb8ed34d618d025763274fa96e

Entrypoint

Return Type
Vote
Example
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
NameTypeDefault ValueDescription
dirDirectory !-No description provided
redisService -No description provided
componentsDirDirectory -No description provided
Example
dagger -m github.com/salaboy/example-voting-app/java/vote@4254b79386eb8bdb8ed34d618d025763274fa96e 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
NameTypeDefault ValueDescription
dirDirectory !-No description provided
redisService -No description provided
componentsDirDirectory -No description provided
Example
dagger -m github.com/salaboy/example-voting-app/java/vote@4254b79386eb8bdb8ed34d618d025763274fa96e 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)
}