rust
No long description provided.
Installation
dagger install github.com/quartz-technology/daggerverse/rust@v0.0.1
Entrypoint
Return Type
Rust
Example
dagger -m github.com/quartz-technology/daggerverse/rust@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
func (m *myModule) example() *Rust {
return dag.
Rust()
}
@function
def example() -> dag.Rust:
return (
dag.rust()
)
@func()
example(): Rust {
return dag
.rust()
}
Types
Rust 🔗
containerEcho() 🔗
example usage: “dagger call container-echo –string-arg yo”
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
stringArg | String ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/rust@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
container-echo --string-arg string
func (m *myModule) example(stringArg string) *Container {
return dag.
Rust().
ContainerEcho(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
return (
dag.rust()
.container_echo(string_arg)
)
@func()
example(stringArg: string): Container {
return dag
.rust()
.containerEcho(stringArg)
}
grepDir() 🔗
example usage: “dagger call grep-dir –directory-arg . –pattern GrepDir”
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
directoryArg | Directory ! | - | No description provided |
pattern | String ! | - | No description provided |
Example
dagger -m github.com/quartz-technology/daggerverse/rust@3b177a82780bf2dfe0f148e90608007cb1312e3c call \
grep-dir --directory-arg DIR_PATH --pattern string
func (m *myModule) example(ctx context.Context, directoryArg *Directory, pattern string) string {
return dag.
Rust().
GrepDir(ctx, directoryArg, pattern)
}
@function
async def example(directory_arg: dagger.Directory, pattern: str) -> str:
return await (
dag.rust()
.grep_dir(directory_arg, pattern)
)
@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
return dag
.rust()
.grepDir(directoryArg, pattern)
}