tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/go/tests@51f987ed6cd739e7cd845016591df5be9358205b
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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()
}
customContainer() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/go/tests@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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@51f987ed6cd739e7cd845016591df5be9358205b 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()
}