Dagger
Search

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() *dagger.Rust  {
	return dag.
			Rust()
}
@function
def example() -> dagger.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
NameTypeDefault ValueDescription
stringArgString !-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) *dagger.Container  {
	return dag.
			Rust().
			Containerecho(stringArg)
}
@function
def example(stringarg: str) -> dagger.Container:
	return (
		dag.rust()
		.containerecho(stringarg)
	)
@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
NameTypeDefault ValueDescription
directoryArgDirectory !-No description provided
patternString !-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 *dagger.Directory, pattern string) string  {
	return dag.
			Rust().
			Grepdir(ctx, directoryArg, pattern)
}
@function
async def example(directoryarg: dagger.Directory, pattern: str) -> str:
	return await (
		dag.rust()
		.grepdir(directoryarg, pattern)
	)
@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
	return dag
		.rust()
		.grepDir(directoryArg, pattern)
}