lume

package
v0.2.13 Latest Latest
Warning

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

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

Documentation

Overview

Package lume binds the lume CLI (MIT, Apple Virtualization.framework) to the generic VM driver in internal/driver/vmdriver. It is the macOS driver for distributed builds, where Tart's license forbids competing-use redistribution.

Index

Constants

View Source
const (
	DefaultBaseImage = "paddo-runner-mac"
	DefaultSSHUser   = "admin"
	DefaultCapacity  = 2 // Apple's macOS guest VM cap per host
	// DefaultMinFreeGB is the free-space floor under which the agent stops
	// accepting work — same shape as tart: a clone is cheap, the job that runs
	// in it is not.
	DefaultMinFreeGB = 60
)

Defaults reflect our M4 Pro setup. Override via Options.

Variables

This section is empty.

Functions

func New

func New(opts Options) *vmdriver.Driver

New constructs a lume-backed VM driver. Empty Options fields fall back to Default*.

Types

type Options

type Options struct {
	BaseImage string
	SSHUser   string
	Capacity  int
	// ActionCache is the host action archive cache to share into each VM.
	ActionCache string
}

Options configures a Driver. Zero values fall back to Default* constants.

Jump to

Keyboard shortcuts

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