Dagger
Search

result

No long description provided.

Installation

dagger install github.com/salaboy/example-voting-app/go/result@fa2e841e54049d70efd852b69180f4f8d276eed0

Entrypoint

Return Type
Result
Example
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
NameTypeDefault ValueDescription
dirDirectory !-No description provided
componentsPathDirectory -No description provided
postgresSvcService -No description provided
Example
dagger -m github.com/salaboy/example-voting-app/go/result@fa2e841e54049d70efd852b69180f4f8d276eed0 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
NameTypeDefault ValueDescription
dirDirectory !-No description provided
componentsPathDirectory -No description provided
postgresSvcService -No description provided
Example
dagger -m github.com/salaboy/example-voting-app/go/result@fa2e841e54049d70efd852b69180f4f8d276eed0 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)
}

test()

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dirDirectory !-No description provided
Example
dagger -m github.com/salaboy/example-voting-app/go/result@fa2e841e54049d70efd852b69180f4f8d276eed0 call \
 test --dir DIR_PATH
func (m *myModule) example(ctx context.Context, dir *Directory) string  {
	return dag.
			Result().
			Test(ctx, dir)
}
@function
async def example(dir: dagger.Directory) -> str:
	return await (
		dag.result()
		.test(dir)
	)
@func()
async example(dir: Directory): Promise<string> {
	return dag
		.result()
		.test(dir)
}