assemble

package
v0.29.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package assemble builds a Cargoship package on disk

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssembleDistro

func AssembleDistro(ctx context.Context, d distro.ZarfDistro, distroPath string, opts AssembleOptions) (*layout.DistroLayout, error)

AssembleDistro creates the actual tarballs

Types

type AssembleOptions

type AssembleOptions struct {
	RegistryOverrides []images.RegistryOverride
	// FileOverrides redirect the file downloads a distro definition declares to an internal
	// mirror or to a directory of pre-staged assets, the way RegistryOverrides redirects image
	// pulls. See pkg/fileoverride.
	FileOverrides  []fileoverride.Override
	OCIConcurrency int
	CachePath      string
	SkipSBOM       bool
	// Reproducible pins Build.Timestamp to config.Timestamp instead of the
	// current time, and is recorded on Build.Reproducible, so identical package
	// inputs produce byte-identical output.
	Reproducible bool
	// SigningKeyPath and SigningKeyPassword sign the package as part of assembly when
	// set. Empty values are a no-op -- see DistroLayout.SignPackage.
	SigningKeyPath     string
	SigningKeyPassword string
	types.RemoteOptions
}

AssembleOptions options

Jump to

Keyboard shortcuts

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