Dagger
Search

vote

No long description provided.

Installation

dagger install github.com/salaboy/example-voting-app/java/vote@7bc89a586f1ffcb11cd47eddbe83dced724974b1

Entrypoint

Return Type
Vote
Example
dagger -m github.com/salaboy/example-voting-app/java/vote@7bc89a586f1ffcb11cd47eddbe83dced724974b1 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
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@7bc89a586f1ffcb11cd47eddbe83dced724974b1 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@7bc89a586f1ffcb11cd47eddbe83dced724974b1 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)
}