Dagger
Search

tests

Unit tests for the oci-login module

Installation

dagger install github.com/purpleclay/daggerverse/oci-login/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7

Entrypoint

Return Type
Tests
Example
dagger -m github.com/purpleclay/daggerverse/oci-login/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
func (m *myModule) example() *dagger.Tests  {
	return dag.
			Tests()
}
@function
def example() -> dagger.Tests:
	return (
		dag.tests()
	)
@func()
example(): Tests {
	return dag
		.tests()
}

Types

Tests 🔗

allTests() 🔗

Return Type
Void !
Example
dagger -m github.com/purpleclay/daggerverse/oci-login/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
 all-tests
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Tests().
			AllTests(ctx)
}
@function
async def example() -> None:
	return await (
		dag.tests()
		.all_tests()
	)
@func()
async example(): Promise<void> {
	return dag
		.tests()
		.allTests()
}

asConfig() 🔗

Return Type
Void !
Example
dagger -m github.com/purpleclay/daggerverse/oci-login/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
 as-config
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Tests().
			AsConfig(ctx)
}
@function
async def example() -> None:
	return await (
		dag.tests()
		.as_config()
	)
@func()
async example(): Promise<void> {
	return dag
		.tests()
		.asConfig()
}

asSecret() 🔗

Return Type
Void !
Example
dagger -m github.com/purpleclay/daggerverse/oci-login/tests@bba3a4ee46fd663a5577337e2221db56c646a0b7 call \
 as-secret
func (m *myModule) example(ctx context.Context)   {
	return dag.
			Tests().
			AsSecret(ctx)
}
@function
async def example() -> None:
	return await (
		dag.tests()
		.as_secret()
	)
@func()
async example(): Promise<void> {
	return dag
		.tests()
		.asSecret()
}