Dagger
Search

helloSecret

No long description provided.

Installation

dagger install github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9

Entrypoint

Return Type
HelloSecret
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
func (m *myModule) example() *HelloSecret  {
	return dag.
			HelloSecret()
}
@function
def example() -> dag.HelloSecret:
	return (
		dag.hello_secret()
	)
@func()
example(): HelloSecret {
	return dag
		.helloSecret()
}

Types

HelloSecret 🔗

A Dagger module for saying hello to the world with a secret greeting ;) Original version: github.com/shykes/daggerverse/helloWorld

greeting() 🔗

Return Type
Secret !
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 greeting
func (m *myModule) example() *Secret  {
	return dag.
			HelloSecret().
			Greeting()
}
@function
def example() -> dagger.Secret:
	return (
		dag.hello_secret()
		.greeting()
	)
@func()
example(): Secret {
	return dag
		.helloSecret()
		.greeting()
}

name() 🔗

Return Type
String !
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 name
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HelloSecret().
			Name(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello_secret()
		.name()
	)
@func()
async example(): Promise<string> {
	return dag
		.helloSecret()
		.name()
}

myFunction() 🔗

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
stringArgString !-No description provided
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 my-function --string-arg string
func (m *myModule) example(stringArg string) *Container  {
	return dag.
			HelloSecret().
			MyFunction(stringArg)
}
@function
def example(string_arg: str) -> dagger.Container:
	return (
		dag.hello_secret()
		.my_function(string_arg)
	)
@func()
example(stringArg: string): Container {
	return dag
		.helloSecret()
		.myFunction(stringArg)
}

withGreeting() 🔗

Change the greeting

Return Type
HelloSecret !
Arguments
NameTypeDefault ValueDescription
greetingSecret !-No description provided
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 with-greeting --greeting env:MYSECRET
func (m *myModule) example(greeting *Secret) *HelloSecret  {
	return dag.
			HelloSecret().
			WithGreeting(greeting)
}
@function
def example(greeting: dagger.Secret) -> dag.HelloSecret:
	return (
		dag.hello_secret()
		.with_greeting(greeting)
	)
@func()
example(greeting: Secret): HelloSecret {
	return dag
		.helloSecret()
		.withGreeting(greeting)
}

withName() 🔗

Change the name

Return Type
HelloSecret !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 with-name --name string
func (m *myModule) example(name string) *HelloSecret  {
	return dag.
			HelloSecret().
			WithName(name)
}
@function
def example(name: str) -> dag.HelloSecret:
	return (
		dag.hello_secret()
		.with_name(name)
	)
@func()
example(name: string): HelloSecret {
	return dag
		.helloSecret()
		.withName(name)
}

message() 🔗

Say hello to the world!

Return Type
String !
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 message
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HelloSecret().
			Message(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello_secret()
		.message()
	)
@func()
async example(): Promise<string> {
	return dag
		.helloSecret()
		.message()
}

shout() 🔗

SHOUT HELLO TO THE WORLD!

Return Type
String !
Example
dagger -m github.com/jpadams/daggerverse/helloSecret@9890b76992bf840bad7b36625b9e45df31fadde9 call \
 shout
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			HelloSecret().
			Shout(ctx)
}
@function
async def example() -> str:
	return await (
		dag.hello_secret()
		.shout()
	)
@func()
async example(): Promise<string> {
	return dag
		.helloSecret()
		.shout()
}