workspace
No long description provided.
Installation
dagger install github.com/helderco/dagger/modules/evals/workspace@b9a64f6bf2dff6e9c851b9b5a73d569c163f8fa2Entrypoint
Return Type
Workspace !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| buster | String ! | - | A dummy arg just to prevent deduping telemetry across attempts. | 
Example
dagger -m github.com/helderco/dagger/modules/evals/workspace@b9a64f6bf2dff6e9c851b9b5a73d569c163f8fa2 call \
 --buster stringfunc (m *MyModule) Example(buster string) *dagger.Workspace  {
	return dag.
			Workspace(buster)
}@function
def example(buster: str) -> dagger.Workspace:
	return (
		dag.workspace(buster)
	)@func()
example(buster: string): Workspace {
	return dag
		.workspace(buster)
}Types
Workspace 🔗
facts() 🔗
Return Type
[String ! ] !Example
dagger -m github.com/helderco/dagger/modules/evals/workspace@b9a64f6bf2dff6e9c851b9b5a73d569c163f8fa2 call \
 --buster string factsfunc (m *MyModule) Example(ctx context.Context, buster string) []string  {
	return dag.
			Workspace(buster).
			Facts(ctx)
}@function
async def example(buster: str) -> List[str]:
	return await (
		dag.workspace(buster)
		.facts()
	)@func()
async example(buster: string): Promise<string[]> {
	return dag
		.workspace(buster)
		.facts()
}record() 🔗
Record an interesting fact.
Return Type
Workspace !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| fact | String ! | - | No description provided | 
Example
dagger -m github.com/helderco/dagger/modules/evals/workspace@b9a64f6bf2dff6e9c851b9b5a73d569c163f8fa2 call \
 --buster string record --fact stringfunc (m *MyModule) Example(buster string, fact string) *dagger.Workspace  {
	return dag.
			Workspace(buster).
			Record(fact)
}@function
def example(buster: str, fact: str) -> dagger.Workspace:
	return (
		dag.workspace(buster)
		.record(fact)
	)@func()
example(buster: string, fact: string): Workspace {
	return dag
		.workspace(buster)
		.record(fact)
}nextFact() 🔗
Find the next available fact.
Return Type
String !Example
dagger -m github.com/helderco/dagger/modules/evals/workspace@b9a64f6bf2dff6e9c851b9b5a73d569c163f8fa2 call \
 --buster string next-factfunc (m *MyModule) Example(ctx context.Context, buster string) string  {
	return dag.
			Workspace(buster).
			NextFact(ctx)
}@function
async def example(buster: str) -> str:
	return await (
		dag.workspace(buster)
		.next_fact()
	)@func()
async example(buster: string): Promise<string> {
	return dag
		.workspace(buster)
		.nextFact()
}