dapr
No long description provided.
Installation
dagger install github.com/marcosnils/daggerverse/dapr@v0.2.0Entrypoint
Return Type
Dapr !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| image | String | "docker.io/daprio/daprd:1.13.0-rc.7" | No description provided |
Example
dagger -m github.com/marcosnils/daggerverse/dapr@15660afb386b32b955d96ee42a7354338b56c570 call \
func (m *MyModule) Example() *dagger.Dapr {
return dag.
Dapr()
}@function
def example() -> dagger.Dapr:
return (
dag.dapr()
)@func()
example(): Dapr {
return dag
.dapr()
}Types
Dapr 🔗
image() 🔗
Return Type
String ! Example
dagger -m github.com/marcosnils/daggerverse/dapr@15660afb386b32b955d96ee42a7354338b56c570 call \
imagefunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Dapr().
Image(ctx)
}@function
async def example() -> str:
return await (
dag.dapr()
.image()
)@func()
async example(): Promise<string> {
return dag
.dapr()
.image()
}dapr() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| appId | String ! | - | No description provided |
| appPort | Integer | - | No description provided |
| appChannelAddress | String | - | No description provided |
| componentsPath | Directory | - | No description provided |
Example
dagger -m github.com/marcosnils/daggerverse/dapr@15660afb386b32b955d96ee42a7354338b56c570 call \
dapr --app-id stringfunc (m *MyModule) Example(appId string) *dagger.Container {
return dag.
Dapr().
Dapr(appId)
}@function
def example(app_id: str) -> dagger.Container:
return (
dag.dapr()
.dapr(app_id)
)@func()
example(appId: string): Container {
return dag
.dapr()
.dapr(appId)
}