dummy-tests
im testing stuff....uh oh..........Installation
dagger install github.com/tedd-E/dummy-tests@v0.0.1Entrypoint
Return Type
DummyTests Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
func (m *MyModule) Example() *dagger.DummyTests {
return dag.
DummyTests()
}@function
def example() -> dagger.DummyTests:
return (
dag.dummy_tests()
)@func()
example(): DummyTests {
return dag
.dummyTests()
}Types
DummyTests 🔗
containerEcho() 🔗
Returns a container that echoes whatever string argument is provided
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| stringArg | String | "capitola" | No description provided |
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
container-echofunc (m *MyModule) Example(ctx context.Context) string {
return dag.
DummyTests().
ContainerEcho(ctx)
}@function
async def example() -> str:
return await (
dag.dummy_tests()
.container_echo()
)@func()
async example(): Promise<string> {
return dag
.dummyTests()
.containerEcho()
}grepDir() 🔗
Returns lines that match a pattern in the files of the provided Directory
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| directoryArg | Directory ! | - | No description provided |
| pattern | String ! | - | No description provided |
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
grep-dir --directory-arg DIR_PATH --pattern stringfunc (m *MyModule) Example(ctx context.Context, directoryArg *dagger.Directory, pattern string) string {
return dag.
DummyTests().
GrepDir(ctx, directoryArg, pattern)
}@function
async def example(directory_arg: dagger.Directory, pattern: str) -> str:
return await (
dag.dummy_tests()
.grep_dir(directory_arg, pattern)
)@func()
async example(directoryArg: Directory, pattern: string): Promise<string> {
return dag
.dummyTests()
.grepDir(directoryArg, pattern)
}egg() 🔗
Return Type
Container !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| str | String ! | - | No description provided |
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
egg --str stringfunc (m *MyModule) Example(str string) *dagger.Container {
return dag.
DummyTests().
Egg(str)
}@function
def example(str: str) -> dagger.Container:
return (
dag.dummy_tests()
.egg(str)
)@func()
example(str: string): Container {
return dag
.dummyTests()
.egg(str)
}hello() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| greeting | String | "hello" | No description provided |
| name | String | "world" | Change the name |
| giant | Boolean | true | Encode the message in giant multi-character letters |
| shout | Boolean | true | Make the message uppercase, and add more exclamation points |
| figletContainer | Container | - | Custom container for running the figlet tool |
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
hellofunc (m *MyModule) Example(ctx context.Context) string {
return dag.
DummyTests().
Hello(ctx)
}@function
async def example() -> str:
return await (
dag.dummy_tests()
.hello()
)@func()
async example(): Promise<string> {
return dag
.dummyTests()
.hello()
}