hello
No long description provided.
Installation
dagger install github.com/dagger/dagger/core/integration/testdata/test-blueprint/hello-with-constructor@v0.19.9Entrypoint
Return Type
Hello !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| config | File | - | 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 \
configfunc (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-configfunc (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-configfunc (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 \
messagefunc (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()
}