wasmer
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/wasmer-pipeline@a064bc7a0264e88460747fb78246828b8554004f
Entrypoint
Return Type
Wasmer
Example
dagger -m github.com/fluent-ci-templates/wasmer-pipeline@a064bc7a0264e88460747fb78246828b8554004f call \
func (m *MyModule) Example() *dagger.Wasmer {
return dag.
Wasmer()
}
@function
def example() -> dagger.Wasmer:
return (
dag.wasmer()
)
@func()
example(): Wasmer {
return dag
.wasmer()
}
Types
Wasmer 🔗
build() 🔗
Build the project (wasix)
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/wasmer-pipeline@a064bc7a0264e88460747fb78246828b8554004f call \
build
func (m *MyModule) Example() {
return dag.
Wasmer().
Build()
}
@function
def example() -> :
return (
dag.wasmer()
.build()
)
@func()
example(): {
return dag
.wasmer()
.build()
}
deploy() 🔗
Deploy to Wasmer Edge
Return Type
StringKind !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
token | Secret | - | No description provided |
cache | BooleanKind | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/wasmer-pipeline@a064bc7a0264e88460747fb78246828b8554004f call \
deploy
func (m *MyModule) Example() {
return dag.
Wasmer().
Deploy()
}
@function
def example() -> :
return (
dag.wasmer()
.deploy()
)
@func()
example(): {
return dag
.wasmer()
.deploy()
}