build

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package build wires the manifest, staging, writer and SBOM stages together.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ProjectPath        string
	Output             string
	Epoch              time.Time
	Compression        string
	ControlCompression string
	SBOM               bool
}

Options configures one binary package build.

type Result

type Result struct {
	Artifact      string `json:"artifact"`
	Package       string `json:"package"`
	Version       string `json:"version"`
	Architecture  string `json:"architecture"`
	SHA256        string `json:"sha256"`
	Size          int64  `json:"size"`
	Files         int    `json:"files"`
	InstalledSize int64  `json:"installedSize"`
	Epoch         int64  `json:"epoch"`
	SBOM          string `json:"sbom,omitempty"`
}

Result describes a finished build.

func Run

func Run(options Options) (*Result, error)

Run executes the complete binary package pipeline.

Jump to

Keyboard shortcuts

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