Dagger
Search

xk6

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/xk6@97a54882b145a10daa911ed5e3e9f1c467d9e635

Entrypoint

Return Type
Xk6
Example
func (m *myModule) example() *Xk6  {
	return dag.
			Xk6()
}
@function
def example() -> dag.Xk6:
	return (
		dag.xk6()
	)
@func()
example(): Xk6 {
	return dag
		.xk6()
}

Types

Xk6 🔗

container() 🔗

Return Type
Container !
Example
Function Xk6.container is not accessible from the xk6 module
func (m *myModule) example()   {
	return dag.
			Xk6().
			Container()
}
@function
def example() -> :
	return (
		dag.xk6()
		.container()
	)
@func()
example():  {
	return dag
		.xk6()
		.container()
}

withPlatform() 🔗

Set GOOS, GOARCH and GOARM environment variables.

Return Type
Xk6 !
Arguments
NameTypeDefault ValueDescription
platformStringKind !-No description provided
Example
Function Xk6.withPlatform is not accessible from the xk6 module
func (m *myModule) example(platform )   {
	return dag.
			Xk6().
			WithPlatform(platform)
}
@function
def example(platform: ) -> :
	return (
		dag.xk6()
		.with_platform(platform)
	)
@func()
example(platform: ):  {
	return dag
		.xk6()
		.withPlatform(platform)
}

build() 🔗

Build a custom k6 binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
versionStringKind -No description provided
with[StringKind ! ] -No description provided
replace[StringKind ! ] -No description provided
platformStringKind -No description provided
Example
Function Xk6.build is not accessible from the xk6 module
func (m *myModule) example()   {
	return dag.
			Xk6().
			Build()
}
@function
def example() -> :
	return (
		dag.xk6()
		.build()
	)
@func()
example():  {
	return dag
		.xk6()
		.build()
}