Dagger
Search

GetIp

No long description provided.

Installation

dagger install github.com/levlaz/daggerverse/get-ip@04cd6dc760b691442cb15e3bab6392f35f1901db

Entrypoint

Return Type
GetIp
Example
dagger -m github.com/levlaz/daggerverse/get-ip@04cd6dc760b691442cb15e3bab6392f35f1901db call \
func (m *myModule) example() *GetIp  {
	return dag.
			GetIp()
}
@function
def example() -> dag.GetIp:
	return (
		dag.get_ip()
	)
@func()
example(): GetIp {
	return dag
		.getIp()
}

Types

GetIp 🔗

ctr() 🔗

Return Type
Container !
Example
dagger -m github.com/levlaz/daggerverse/get-ip@04cd6dc760b691442cb15e3bab6392f35f1901db call \
 ctr
func (m *myModule) example() *Container  {
	return dag.
			GetIp().
			Ctr()
}
@function
def example() -> dagger.Container:
	return (
		dag.get_ip()
		.ctr()
	)
@func()
example(): Container {
	return dag
		.getIp()
		.ctr()
}

run() 🔗

Get IP Address of Current Container example usage: dagger call run

Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/get-ip@04cd6dc760b691442cb15e3bab6392f35f1901db call \
 run
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			GetIp().
			Run(ctx)
}
@function
async def example() -> str:
	return await (
		dag.get_ip()
		.run()
	)
@func()
async example(): Promise<string> {
	return dag
		.getIp()
		.run()
}