tests
Unit tests for the oci-login module
Installation
dagger install github.com/purpleclay/daggerverse/oci-login/tests@7dd5d2b73700f4874c36f282c7f57827cb613953Entrypoint
Return Type
Tests Example
dagger -m github.com/purpleclay/daggerverse/oci-login/tests@7dd5d2b73700f4874c36f282c7f57827cb613953 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@7dd5d2b73700f4874c36f282c7f57827cb613953 call \
all-testsfunc (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@7dd5d2b73700f4874c36f282c7f57827cb613953 call \
as-configfunc (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@7dd5d2b73700f4874c36f282c7f57827cb613953 call \
as-secretfunc (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()
}