magicompose
No long description provided.
Installation
dagger install github.com/TomChv/magicompose@35762a53ac54bc9de7f4673a5c166b8abde992f1
Entrypoint
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:path
func (m *myModule) example(file *File) *Magicompose {
return dag.
Magicompose(file)
}
@function
def example(file: dagger.File) -> dag.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 file
func (m *myModule) example(file *File) *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 generate
func (m *myModule) example(file *File) *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 inspect
func (m *myModule) example(file *File) *MagicomposeCompose {
return dag.
Magicompose(file).
Inspect()
}
@function
def example(file: dagger.File) -> dag.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 \
services
func (m *myModule) example() []*MagicomposeComposeService {
return dag.
Magicompose().
Inspect().
Services()
}
@function
def example() -> List[dag.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 module
Function MagicomposeComposeService.name is not accessible from the magicompose module
Function MagicomposeComposeService.name is not accessible from the magicompose module
Function MagicomposeComposeService.name is not accessible from the magicompose module
image() 🔗
Return Type
String !
Example
Function MagicomposeComposeService.image is not accessible from the magicompose module
Function MagicomposeComposeService.image is not accessible from the magicompose module
Function MagicomposeComposeService.image is not accessible from the magicompose module
Function MagicomposeComposeService.image is not accessible from the magicompose module
command() 🔗
Return Type
[String ! ] !
Example
Function MagicomposeComposeService.command is not accessible from the magicompose module
Function MagicomposeComposeService.command is not accessible from the magicompose module
Function MagicomposeComposeService.command is not accessible from the magicompose module
Function MagicomposeComposeService.command is not accessible from the magicompose module
volumes() 🔗
Return Type
[ComposeVolume ! ] !
Example
Function MagicomposeComposeService.volumes is not accessible from the magicompose module
Function MagicomposeComposeService.volumes is not accessible from the magicompose module
Function MagicomposeComposeService.volumes is not accessible from the magicompose module
Function MagicomposeComposeService.volumes is not accessible from the magicompose module
env() 🔗
Return Type
[ComposeEnv ! ] !
Example
Function MagicomposeComposeService.env is not accessible from the magicompose module
Function MagicomposeComposeService.env is not accessible from the magicompose module
Function MagicomposeComposeService.env is not accessible from the magicompose module
Function MagicomposeComposeService.env is not accessible from the magicompose module
ports() 🔗
Return Type
[ComposePort ! ] !
Example
Function MagicomposeComposeService.ports is not accessible from the magicompose module
Function MagicomposeComposeService.ports is not accessible from the magicompose module
Function MagicomposeComposeService.ports is not accessible from the magicompose module
Function MagicomposeComposeService.ports is not accessible from the magicompose module
ComposeVolume 🔗
type() 🔗
Return Type
String !
Example
Function MagicomposeComposeVolume.type is not accessible from the magicompose module
Function MagicomposeComposeVolume.type is not accessible from the magicompose module
Function MagicomposeComposeVolume.type is not accessible from the magicompose module
Function MagicomposeComposeVolume.type is not accessible from the magicompose module
origin() 🔗
Return Type
String !
Example
Function MagicomposeComposeVolume.origin is not accessible from the magicompose module
Function MagicomposeComposeVolume.origin is not accessible from the magicompose module
Function MagicomposeComposeVolume.origin is not accessible from the magicompose module
Function MagicomposeComposeVolume.origin is not accessible from the magicompose module
destination() 🔗
Return Type
String !
Example
Function MagicomposeComposeVolume.destination is not accessible from the magicompose module
Function MagicomposeComposeVolume.destination is not accessible from the magicompose module
Function MagicomposeComposeVolume.destination is not accessible from the magicompose module
Function MagicomposeComposeVolume.destination is not accessible from the magicompose module
ComposeEnv 🔗
name() 🔗
Return Type
String !
Example
Function MagicomposeComposeEnv.name is not accessible from the magicompose module
Function MagicomposeComposeEnv.name is not accessible from the magicompose module
Function MagicomposeComposeEnv.name is not accessible from the magicompose module
Function MagicomposeComposeEnv.name is not accessible from the magicompose module
value() 🔗
Return Type
String
Example
Function MagicomposeComposeEnv.value is not accessible from the magicompose module
Function MagicomposeComposeEnv.value is not accessible from the magicompose module
Function MagicomposeComposeEnv.value is not accessible from the magicompose module
Function MagicomposeComposeEnv.value is not accessible from the magicompose module
ComposePort 🔗
protocol() 🔗
Return Type
String !
Example
Function MagicomposeComposePort.protocol is not accessible from the magicompose module
Function MagicomposeComposePort.protocol is not accessible from the magicompose module
Function MagicomposeComposePort.protocol is not accessible from the magicompose module
Function MagicomposeComposePort.protocol is not accessible from the magicompose module
port() 🔗
Return Type
String !
Example
Function MagicomposeComposePort.port is not accessible from the magicompose module
Function MagicomposeComposePort.port is not accessible from the magicompose module
Function MagicomposeComposePort.port is not accessible from the magicompose module
Function MagicomposeComposePort.port is not accessible from the magicompose module
target() 🔗
Return Type
Integer !
Example
Function MagicomposeComposePort.target is not accessible from the magicompose module
Function MagicomposeComposePort.target is not accessible from the magicompose module
Function MagicomposeComposePort.target is not accessible from the magicompose module
Function MagicomposeComposePort.target is not accessible from the magicompose module