Dagger
Search

result

No long description provided.

Installation

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

Entrypoint

Return Type
Result
Example
dagger -m github.com/salaboy/example-voting-app/go/result@4254b79386eb8bdb8ed34d618d025763274fa96e 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
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@4254b79386eb8bdb8ed34d618d025763274fa96e 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@4254b79386eb8bdb8ed34d618d025763274fa96e 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@4254b79386eb8bdb8ed34d618d025763274fa96e 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)
}