Dagger
Search

hello

No long description provided.

Installation

dagger install github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@v0.19.9

Entrypoint

Return Type
Hello !
Arguments
NameTypeDefault ValueDescription
configFile -No description provided
Example
dagger -m github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@42e7b630c9f48f2a9bca26af4f6261b6e54d7374 call \
func (m *MyModule) Example() *dagger.Hello  {
	return dag.
			Hello()
}
@function
def example() -> dagger.Hello:
	return (
		dag.hello()
	)
@func()
example(): Hello {
	return dag
		.hello()
}

Types

Hello 🔗

config() 🔗

Return Type
File !
Example
dagger -m github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@42e7b630c9f48f2a9bca26af4f6261b6e54d7374 call \
 config
func (m *MyModule) Example() *dagger.File  {
	return dag.
			Hello().
			Config()
}
@function
def example() -> dagger.File:
	return (
		dag.hello()
		.config()
	)
@func()
example(): File {
	return dag
		.hello()
		.config()
}

blueprintConfig() 🔗

This should read Hello’s own config file

Return Type
String !
Example
dagger -m github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@42e7b630c9f48f2a9bca26af4f6261b6e54d7374 call \
 blueprint-config
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hello().
			BlueprintConfig(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello()
		.blueprint_config()
	)
@func()
async example(): Promise<string> {
	return dag
		.hello()
		.blueprintConfig()
}

fieldConfig() 🔗

This should return the target module’s name, not Hello’s

Return Type
String !
Example
dagger -m github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@42e7b630c9f48f2a9bca26af4f6261b6e54d7374 call \
 field-config
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hello().
			FieldConfig(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello()
		.field_config()
	)
@func()
async example(): Promise<string> {
	return dag
		.hello()
		.fieldConfig()
}

message() 🔗

Return Type
String !
Example
dagger -m github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@42e7b630c9f48f2a9bca26af4f6261b6e54d7374 call \
 message
func (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hello().
			Message(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello()
		.message()
	)
@func()
async example(): Promise<string> {
	return dag
		.hello()
		.message()
}