Dagger
Search

dummy-tests

im testing stuff....uh oh..........

Installation

dagger install github.com/tedd-E/dummy-tests@v0.0.1

Entrypoint

Return Type
DummyTests
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
func (m *myModule) example() *DummyTests  {
	return dag.
			DummyTests()
}
@function
def example() -> dag.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
NameTypeDefault ValueDescription
stringArgString "capitola"No description provided
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
 container-echo
func (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
NameTypeDefault ValueDescription
directoryArgDirectory !-No description provided
patternString !-No description provided
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
 grep-dir --directory-arg DIR_PATH --pattern string
func (m *myModule) example(ctx context.Context, directoryArg *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
NameTypeDefault ValueDescription
strString !-No description provided
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
 egg --str string
func (m *myModule) example(str string) *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
NameTypeDefault ValueDescription
greetingString "hello"No description provided
nameString "world"Change the name
giantBoolean trueEncode the message in giant multi-character letters
shoutBoolean trueMake the message uppercase, and add more exclamation points
figletContainerContainer -Custom container for running the figlet tool
Example
dagger -m github.com/tedd-E/dummy-tests@079945d275cc6ecac436c77455b07f32444471dc call \
 hello
func (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()
}