dagbench
No long description provided.
Installation
dagger install github.com/TomChv/dagbench@v0.0.6Entrypoint
Return Type
Dagbench Example
dagger -m github.com/TomChv/dagbench@3463109c5823057dff6ad241bb55d36a175a5757 call \
func (m *MyModule) Example() *dagger.Dagbench {
return dag.
Dagbench()
}@function
def example() -> dagger.Dagbench:
return (
dag.dagbench()
)@func()
example(): Dagbench {
return dag
.dagbench()
}Types
Dagbench 🔗
bin() 🔗
Get the dagbench binary file.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| platform | Scalar | - | The platform to use to build the dagbench binary. |
Example
dagger -m github.com/TomChv/dagbench@3463109c5823057dff6ad241bb55d36a175a5757 call \
binfunc (m *MyModule) Example() *dagger.File {
return dag.
Dagbench().
Bin()
}@function
def example() -> dagger.File:
return (
dag.dagbench()
.bin()
)@func()
example(): File {
return dag
.dagbench()
.bin()
}cli() 🔗
Get a CLI object to run dagbench inside a container.
Return Type
Cli !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| daggerTag | String | "latest" | The dagger tag to create the engine |
| daggerCacheVolume | String | - | The dagger cache volume to use |
| daggerCtr | Container | - | The dagger engine container to use with the dagbench CLI. |
| platform | Scalar | - | The platform to use to build the dagbench binary. |
Example
dagger -m github.com/TomChv/dagbench@3463109c5823057dff6ad241bb55d36a175a5757 call \
clifunc (m *MyModule) Example() *dagger.DagbenchCli {
return dag.
Dagbench().
Cli()
}@function
def example() -> dagger.DagbenchCli:
return (
dag.dagbench()
.cli()
)@func()
example(): DagbenchCli {
return dag
.dagbench()
.cli()
}Cli 🔗
container() 🔗
Return Type
Container ! Example
dagger -m github.com/TomChv/dagbench@3463109c5823057dff6ad241bb55d36a175a5757 call \
cli \
containerfunc (m *MyModule) Example() *dagger.Container {
return dag.
Dagbench().
Cli().
Container()
}@function
def example() -> dagger.Container:
return (
dag.dagbench()
.cli()
.container()
)@func()
example(): Container {
return dag
.dagbench()
.cli()
.container()
}