Dagger
Search

magicinit

No long description provided.

Installation

dagger install github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064

Entrypoint

Return Type
Magicinit
Example
dagger -m github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064 call \
func (m *myModule) example() *Magicinit  {
	return dag.
			Magicinit()
}
@function
def example() -> dag.Magicinit:
	return (
		dag.magicinit()
	)
@func()
example(): Magicinit {
	return dag
		.magicinit()
}

Types

Magicinit 🔗

init() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
sdkString -No description provided
providerString -No description provided
targetString !".dagger"No description provided
Example
dagger -m github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064 call \
 init --source DIR_PATH --target string
func (m *myModule) example(source *Directory, target string) *Directory  {
	return dag.
			Magicinit().
			Init(source, target)
}
@function
def example(source: dagger.Directory, target: str) -> dagger.Directory:
	return (
		dag.magicinit()
		.init(source, target)
	)
@func()
example(source: Directory, target: string): Directory {
	return dag
		.magicinit()
		.init(source, target)
}

inspect() 🔗

Return Type
SourceInspect !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
dagger -m github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064 call \
 inspect --source DIR_PATH
func (m *myModule) example(source *Directory) *MagicinitSourceInspect  {
	return dag.
			Magicinit().
			Inspect(source)
}
@function
def example(source: dagger.Directory) -> dag.MagicinitSourceInspect:
	return (
		dag.magicinit()
		.inspect(source)
	)
@func()
example(source: Directory): MagicinitSourceInspect {
	return dag
		.magicinit()
		.inspect(source)
}

SourceInspect 🔗

language() 🔗

Return Type
String !
Example
dagger -m github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064 call \
 inspect --source DIR_PATH \
 language
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Magicinit().
			Inspect(source).
			Language(ctx)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.magicinit()
		.inspect(source)
		.language()
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.magicinit()
		.inspect(source)
		.language()
}

version() 🔗

Return Type
String !
Example
dagger -m github.com/levlaz/magicinit@391f29c04294fd1ad85611c430c461d2adadb064 call \
 inspect --source DIR_PATH \
 version
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			Magicinit().
			Inspect(source).
			Version(ctx)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.magicinit()
		.inspect(source)
		.version()
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.magicinit()
		.inspect(source)
		.version()
}