shuttle
Deploy Rust applications to Shuttle
Installation
dagger install github.com/fluent-ci-templates/shuttle-pipeline@v0.7.5
Entrypoint
Return Type
Shuttle
Example
dagger -m github.com/fluent-ci-templates/shuttle-pipeline@d7acff7c8973b0d8124361b71a340887d1b162e0 call \
func (m *myModule) example() *Shuttle {
return dag.
Shuttle()
}
@function
def example() -> dag.Shuttle:
return (
dag.shuttle()
)
@func()
example(): Shuttle {
return dag
.shuttle()
}
Types
Shuttle 🔗
deploy() 🔗
Deploy the application to Shuttle
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
apiKey | Secret | - | No description provided |
shuttleVersion | String | "v0.39.0" | No description provided |
Example
dagger -m github.com/fluent-ci-templates/shuttle-pipeline@d7acff7c8973b0d8124361b71a340887d1b162e0 call \
deploy
func (m *myModule) example(ctx context.Context) string {
return dag.
Shuttle().
Deploy(ctx)
}
@function
async def example() -> str:
return await (
dag.shuttle()
.deploy()
)
@func()
async example(): Promise<string> {
return dag
.shuttle()
.deploy()
}