magicompose
No long description provided.
Installation
dagger install github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1Entrypoint
Return Type
Magicompose !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| file | File ! | - | No description provided |
Example
dagger -m github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1 call \
--file file:pathfunc (m *MyModule) Example(file *dagger.File) *dagger.Magicompose {
return dag.
Magicompose(file)
}@function
def example(file: dagger.File) -> dagger.Magicompose:
return (
dag.magicompose(file)
)@func()
example(file: File): Magicompose {
return dag
.magicompose(file)
}Types
Magicompose 🔗
file() 🔗
Return Type
File ! Example
dagger -m github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1 call \
--file file:path filefunc (m *MyModule) Example(file *dagger.File) *dagger.File {
return dag.
Magicompose(file).
File()
}@function
def example(file: dagger.File) -> dagger.File:
return (
dag.magicompose(file)
.file()
)@func()
example(file: File): File {
return dag
.magicompose(file)
.file()
}generate() 🔗
Return Type
Directory ! Example
dagger -m github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1 call \
--file file:path generatefunc (m *MyModule) Example(file *dagger.File) *dagger.Directory {
return dag.
Magicompose(file).
Generate()
}@function
def example(file: dagger.File) -> dagger.Directory:
return (
dag.magicompose(file)
.generate()
)@func()
example(file: File): Directory {
return dag
.magicompose(file)
.generate()
}inspect() 🔗
Return Type
Compose ! Example
dagger -m github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1 call \
--file file:path inspectfunc (m *MyModule) Example(file *dagger.File) *dagger.MagicomposeCompose {
return dag.
Magicompose(file).
Inspect()
}@function
def example(file: dagger.File) -> dagger.MagicomposeCompose:
return (
dag.magicompose(file)
.inspect()
)@func()
example(file: File): MagicomposeCompose {
return dag
.magicompose(file)
.inspect()
}Compose 🔗
services() 🔗
Return Type
[ComposeService ! ] ! Example
dagger -m github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1 call \
inspect \
servicesfunc (m *MyModule) Example() []*dagger.MagicomposeComposeService {
return dag.
Magicompose().
Inspect().
Services()
}@function
def example() -> List[dagger.MagicomposeComposeService]:
return (
dag.magicompose()
.inspect()
.services()
)@func()
example(): MagicomposeComposeService[] {
return dag
.magicompose()
.inspect()
.services()
}ComposeService 🔗
name() 🔗
Return Type
String ! Example
Function MagicomposeComposeService.name is not accessible from the magicompose moduleFunction MagicomposeComposeService.name is not accessible from the magicompose moduleFunction MagicomposeComposeService.name is not accessible from the magicompose moduleFunction MagicomposeComposeService.name is not accessible from the magicompose moduleimage() 🔗
Return Type
String ! Example
Function MagicomposeComposeService.image is not accessible from the magicompose moduleFunction MagicomposeComposeService.image is not accessible from the magicompose moduleFunction MagicomposeComposeService.image is not accessible from the magicompose moduleFunction MagicomposeComposeService.image is not accessible from the magicompose modulecommand() 🔗
Return Type
[String ! ] ! Example
Function MagicomposeComposeService.command is not accessible from the magicompose moduleFunction MagicomposeComposeService.command is not accessible from the magicompose moduleFunction MagicomposeComposeService.command is not accessible from the magicompose moduleFunction MagicomposeComposeService.command is not accessible from the magicompose modulevolumes() 🔗
Return Type
[ComposeVolume ! ] ! Example
Function MagicomposeComposeService.volumes is not accessible from the magicompose moduleFunction MagicomposeComposeService.volumes is not accessible from the magicompose moduleFunction MagicomposeComposeService.volumes is not accessible from the magicompose moduleFunction MagicomposeComposeService.volumes is not accessible from the magicompose moduleenv() 🔗
Return Type
[ComposeEnv ! ] ! Example
Function MagicomposeComposeService.env is not accessible from the magicompose moduleFunction MagicomposeComposeService.env is not accessible from the magicompose moduleFunction MagicomposeComposeService.env is not accessible from the magicompose moduleFunction MagicomposeComposeService.env is not accessible from the magicompose moduleports() 🔗
Return Type
[ComposePort ! ] ! Example
Function MagicomposeComposeService.ports is not accessible from the magicompose moduleFunction MagicomposeComposeService.ports is not accessible from the magicompose moduleFunction MagicomposeComposeService.ports is not accessible from the magicompose moduleFunction MagicomposeComposeService.ports is not accessible from the magicompose moduleComposeVolume 🔗
type() 🔗
Return Type
String ! Example
Function MagicomposeComposeVolume.type is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.type is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.type is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.type is not accessible from the magicompose moduleorigin() 🔗
Return Type
String ! Example
Function MagicomposeComposeVolume.origin is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.origin is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.origin is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.origin is not accessible from the magicompose moduledestination() 🔗
Return Type
String ! Example
Function MagicomposeComposeVolume.destination is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.destination is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.destination is not accessible from the magicompose moduleFunction MagicomposeComposeVolume.destination is not accessible from the magicompose moduleComposeEnv 🔗
name() 🔗
Return Type
String ! Example
Function MagicomposeComposeEnv.name is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.name is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.name is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.name is not accessible from the magicompose modulevalue() 🔗
Return Type
String Example
Function MagicomposeComposeEnv.value is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.value is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.value is not accessible from the magicompose moduleFunction MagicomposeComposeEnv.value is not accessible from the magicompose moduleComposePort 🔗
protocol() 🔗
Return Type
String ! Example
Function MagicomposeComposePort.protocol is not accessible from the magicompose moduleFunction MagicomposeComposePort.protocol is not accessible from the magicompose moduleFunction MagicomposeComposePort.protocol is not accessible from the magicompose moduleFunction MagicomposeComposePort.protocol is not accessible from the magicompose moduleport() 🔗
Return Type
String ! Example
Function MagicomposeComposePort.port is not accessible from the magicompose moduleFunction MagicomposeComposePort.port is not accessible from the magicompose moduleFunction MagicomposeComposePort.port is not accessible from the magicompose moduleFunction MagicomposeComposePort.port is not accessible from the magicompose moduletarget() 🔗
Return Type
Integer ! Example
Function MagicomposeComposePort.target is not accessible from the magicompose moduleFunction MagicomposeComposePort.target is not accessible from the magicompose moduleFunction MagicomposeComposePort.target is not accessible from the magicompose moduleFunction MagicomposeComposePort.target is not accessible from the magicompose module