melange
No long description provided.
Installation
dagger install github.com/tuananh/daggerverse/melange@e7f2ddbda6f00b5ce9bc9254486b6a677b1ec135
Entrypoint
Return Type
Melange
Example
dagger -m github.com/tuananh/daggerverse/melange@e7f2ddbda6f00b5ce9bc9254486b6a677b1ec135 call \
func (m *myModule) example() *Melange {
return dag.
Melange()
}
@function
def example() -> dag.Melange:
return (
dag.melange()
)
@func()
example(): Melange {
return dag
.melange()
}
Types
Melange 🔗
build() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
melangeFile | File ! | - | No description provided |
workspaceDir | Directory ! | - | No description provided |
arch | String ! | "amd64" | No description provided |
imageTag | String ! | "latest" | No description provided |
Example
dagger -m github.com/tuananh/daggerverse/melange@e7f2ddbda6f00b5ce9bc9254486b6a677b1ec135 call \
build --melange-file file:path --workspace-dir DIR_PATH --arch string --image-tag string
func (m *myModule) example(melangeFile *File, workspaceDir *Directory, arch string, imageTag string) *Directory {
return dag.
Melange().
Build(melangeFile, workspaceDir, arch, imageTag)
}
@function
def example(melange_file: dagger.File, workspace_dir: dagger.Directory, arch: str, image_tag: str) -> dagger.Directory:
return (
dag.melange()
.build(melange_file, workspace_dir, arch, image_tag)
)
@func()
example(melangeFile: File, workspaceDir: Directory, arch: string, imageTag: string): Directory {
return dag
.melange()
.build(melangeFile, workspaceDir, arch, imageTag)
}