Dagger
Search

apko

No long description provided.

Installation

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

Entrypoint

Return Type
Apko
Example
dagger -m github.com/tuananh/daggerverse/apko@5e6b42cb28fc18757def43ef0997adf752b329b1 call \
func (m *myModule) example() *Apko  {
	return dag.
			Apko()
}
@function
def example() -> dag.Apko:
	return (
		dag.apko()
	)
@func()
example(): Apko {
	return dag
		.apko()
}

Types

Apko 🔗

build() 🔗

Return Type
File !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
archString !"amd64"No description provided
apkoFileFile !-No description provided
packagesAppendDirectory -default="packages"
keyringAppendFile -No description provided
imageString !-No description provided
tagString !"latest"No description provided
tarString -No description provided
Example
dagger -m github.com/tuananh/daggerverse/apko@5e6b42cb28fc18757def43ef0997adf752b329b1 call \
 build --source DIR_PATH --arch string --apko-file file:path --image string --tag string
func (m *myModule) example(source *Directory, arch string, apkoFile *File, image string, tag string) *File  {
	return dag.
			Apko().
			Build(source, arch, apkoFile, image, tag)
}
@function
def example(source: dagger.Directory, arch: str, apko_file: dagger.File, image: str, tag: str) -> dagger.File:
	return (
		dag.apko()
		.build(source, arch, apko_file, image, tag)
	)
@func()
example(source: Directory, arch: string, apkoFile: File, image: string, tag: string): File {
	return dag
		.apko()
		.build(source, arch, apkoFile, image, tag)
}