buildassets

package
v0.0.0-...-9ac6046 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package buildassets provides the SDK and TUI runtime bundled into the standalone control-plane binary for hermetic in-process builds.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	WorkspaceModules []string
	GoProxy          string
	// contains filtered or unexported fields
}

Bundle is a materialized copy of the embedded build dependencies. Call Cleanup after the build backend has stopped using WorkspaceModules.

func Extract

func Extract() (*Bundle, error)

Extract materializes the embedded modules and offline module proxy into a private temporary directory. Go requires workspace modules to exist on disk, so the archive cannot be consumed directly from embed.FS.

func (*Bundle) Cleanup

func (b *Bundle) Cleanup() error

Cleanup removes the materialized build dependencies.

Directories

Path Synopsis
cmd
generate command

Jump to

Keyboard shortcuts

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