magicinit
No long description provided.
Installation
dagger install github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24
Entrypoint
Return Type
Magicinit
Example
dagger -m github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24 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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | No description provided |
sdk | String | - | No description provided |
provider | String | - | No description provided |
Example
dagger -m github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24 call \
init
func (m *myModule) example() *Directory {
return dag.
Magicinit().
Init()
}
@function
def example() -> dagger.Directory:
return (
dag.magicinit()
.init()
)
@func()
example(): Directory {
return dag
.magicinit()
.init()
}
inspect() 🔗
Return Type
SourceInspect !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | No description provided |
Example
dagger -m github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24 call \
inspect
func (m *myModule) example() *MagicinitSourceInspect {
return dag.
Magicinit().
Inspect()
}
@function
def example() -> dag.MagicinitSourceInspect:
return (
dag.magicinit()
.inspect()
)
@func()
example(): MagicinitSourceInspect {
return dag
.magicinit()
.inspect()
}
SourceInspect 🔗
language() 🔗
Return Type
String !
Example
dagger -m github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24 call \
inspect \
language
func (m *myModule) example(ctx context.Context) string {
return dag.
Magicinit().
Inspect().
Language(ctx)
}
@function
async def example() -> str:
return await (
dag.magicinit()
.inspect()
.language()
)
@func()
async example(): Promise<string> {
return dag
.magicinit()
.inspect()
.language()
}
version() 🔗
Return Type
String !
Example
dagger -m github.com/levlaz/magicinit@7d1e0cb2a90cc85ada1ecc0b867482bfd3deed24 call \
inspect \
version
func (m *myModule) example(ctx context.Context) string {
return dag.
Magicinit().
Inspect().
Version(ctx)
}
@function
async def example() -> str:
return await (
dag.magicinit()
.inspect()
.version()
)
@func()
async example(): Promise<string> {
return dag
.magicinit()
.inspect()
.version()
}