Dagger
Search

echo-mod

No long description provided.

Installation

dagger install github.com/mjb141/daggerverse/echo@29d26f035ac0e86bee4d6b55e078015038d9cc73

Entrypoint

Return Type
EchoMod !
Arguments
NameTypeDescription
secretSecret No description provided
Example
dagger -m github.com/mjb141/daggerverse/echo@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
func (m *myModule) example() *EchoMod  {
	return dag.
			EchoMod()
}
@function
def example() -> dag.EchoMod:
	return (
		dag.echo_mod()
	)
@func()
example(): EchoMod {
	return dag
		.echoMod()
}

Types

EchoMod 🔗

This module will just echo a value from another module

secret() 🔗

Return Type
Secret 
Example
dagger -m github.com/mjb141/daggerverse/echo@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
 secret
func (m *myModule) example() *Secret  {
	return dag.
			EchoMod().
			Secret()
}
@function
def example() -> dagger.Secret:
	return (
		dag.echo_mod()
		.secret()
	)
@func()
example(): Secret {
	return dag
		.echoMod()
		.secret()
}

withSecret() 🔗

Fetch a secret from Infisical

Return Type
EchoMod !
Arguments
NameTypeDefault ValueDescription
authIdSecret !-A reference to a secret value, which can be handled more safely than the value itself.
authSecretSecret !-A reference to a secret value, which can be handled more safely than the value itself.
secretNameString !-No description provided
projectIdString !-No description provided
envString !-No description provided
secretPathString !"/"No description provided
Example
dagger -m github.com/mjb141/daggerverse/echo@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
 with-secret --auth-id env:MYSECRET --auth-secret env:MYSECRET --secret-name string --project-id string --env string --secret-path string
func (m *myModule) example(authId *Secret, authSecret *Secret, secretName string, projectId string, env string, secretPath string) *EchoMod  {
	return dag.
			EchoMod().
			WithSecret(authId, authSecret, secretName, projectId, env, secretPath)
}
@function
def example(auth_id: dagger.Secret, auth_secret: dagger.Secret, secret_name: str, project_id: str, env: str, secret_path: str) -> dag.EchoMod:
	return (
		dag.echo_mod()
		.with_secret(auth_id, auth_secret, secret_name, project_id, env, secret_path)
	)
@func()
example(authId: Secret, authSecret: Secret, secretName: string, projectId: string, env: string, secretPath: string): EchoMod {
	return dag
		.echoMod()
		.withSecret(authId, authSecret, secretName, projectId, env, secretPath)
}

echo() 🔗

Echo a provided ‘word’ or a secret fetched prior

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
wordString !"Hello"No description provided
Example
dagger -m github.com/mjb141/daggerverse/echo@29d26f035ac0e86bee4d6b55e078015038d9cc73 call \
 echo --word string
func (m *myModule) example(word string) *Container  {
	return dag.
			EchoMod().
			Echo(word)
}
@function
def example(word: str) -> dagger.Container:
	return (
		dag.echo_mod()
		.echo(word)
	)
@func()
example(word: string): Container {
	return dag
		.echoMod()
		.echo(word)
}