Dagger
Search

melange

No long description provided.

Installation

dagger install github.com/tuananh/daggerverse/melange@5e6b42cb28fc18757def43ef0997adf752b329b1

Entrypoint

Return Type
Melange
Example
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
NameTypeDefault ValueDescription
melangeFileFile !-No description provided
workspaceDirDirectory !-No description provided
archString !"amd64"No description provided
imageTagString !"latest"No description provided
Example
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)
}