builder

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleAPK

func AssembleAPK(dataDir, outPath string, s *config.BuildSpec, arch string) error

AssembleAPK writes an APK file to outPath by packing the directory dataDir. Metadata comes from the spec; built files under dataDir are packed as the data tgz, then .PKGINFO and control tgz are built, and control + data are concatenated into the APK. No signing (signature tgz is omitted).

func BuildAPK

func BuildAPK(ctx context.Context, s *config.BuildSpec, sourceState llb.State, workerBaseImage string, resolver llb.ImageMetaResolver, opts ...llb.ConstraintsOpt) (llb.State, error)

BuildAPK produces an llb.State that contains built .apk package(s).

Types

type ResolvedStep

type ResolvedStep struct {
	Name    string
	Script  string
	SSH     bool
	Secrets []config.PipelineSecret
	Network string
}

ResolvedStep is a single resolved pipeline step ready to be emitted as an LLB exec op.

func ResolvePipelineSteps

func ResolvePipelineSteps(s *config.BuildSpec) ([]ResolvedStep, error)

ResolvePipelineSteps turns spec.Pipeline into a slice of ResolvedStep structures.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL