xk6
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/xk6@bc2ccb71307797d3066a56e1e57d75205523cfadEntrypoint
Return Type
Xk6 Example
dagger -m github.com/sagikazarmark/daggerverse/xk6@bc2ccb71307797d3066a56e1e57d75205523cfad call \
func (m *MyModule) Example() *dagger.Xk6 {
return dag.
Xk6()
}@function
def example() -> dagger.Xk6:
return (
dag.xk6()
)@func()
example(): Xk6 {
return dag
.xk6()
}Types
Xk6 🔗
container() 🔗
Return Type
Container ! Example
dagger -m github.com/sagikazarmark/daggerverse/xk6@bc2ccb71307797d3066a56e1e57d75205523cfad call \
containerfunc (m *MyModule) Example() *dagger.Container {
return dag.
Xk6().
Container()
}@function
def example() -> dagger.Container:
return (
dag.xk6()
.container()
)@func()
example(): Container {
return dag
.xk6()
.container()
}withPlatform() 🔗
Set GOOS, GOARCH and GOARM environment variables.
Return Type
Xk6 !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| platform | String ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/xk6@bc2ccb71307797d3066a56e1e57d75205523cfad call \
with-platform --platform stringfunc (m *MyModule) Example(platform string) *dagger.Xk6 {
return dag.
Xk6().
WithPlatform(platform)
}@function
def example(platform: str) -> dagger.Xk6:
return (
dag.xk6()
.with_platform(platform)
)@func()
example(platform: string): Xk6 {
return dag
.xk6()
.withPlatform(platform)
}build() 🔗
Build a custom k6 binary.
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| version | String | - | No description provided |
| with | [String ! ] | - | No description provided |
| replace | [String ! ] | - | No description provided |
| platform | String | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/xk6@bc2ccb71307797d3066a56e1e57d75205523cfad call \
buildfunc (m *MyModule) Example() *dagger.File {
return dag.
Xk6().
Build()
}@function
def example() -> dagger.File:
return (
dag.xk6()
.build()
)@func()
example(): File {
return dag
.xk6()
.build()
}