tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
func (m *myModule) example() *Tests {
return dag.
Tests()
}
@function
def example() -> dag.Tests:
return (
dag.tests()
)
@func()
example(): Tests {
return dag
.tests()
}
Types
Tests 🔗
all() 🔗
All executes all tests.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.all()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.all()
}
defaultContainer() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
default-container
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
DefaultContainer(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.default_container()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.defaultContainer()
}
customVersion() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
custom-version
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
CustomVersion(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.custom_version()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.customVersion()
}
customImage() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
custom-image
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
CustomImage(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.custom_image()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.customImage()
}
customContainer() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
custom-container
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
CustomContainer(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.custom_container()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.customContainer()
}
envVars() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
env-vars
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
EnvVars(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.env_vars()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.envVars()
}
platform() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
platform
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Platform(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.platform()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.platform()
}
cgo() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
cgo
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Cgo(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.cgo()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.cgo()
}
build() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
build
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Build(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.build()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.build()
}
execBuild() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
exec-build
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
ExecBuild(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.exec_build()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.execBuild()
}
execTest() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@7220ea889935f6cd349728ab8307b40965bc454c call \
exec-test
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
ExecTest(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.exec_test()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.execTest()
}