builder

package
v0.0.0-...-3354207 Latest Latest
Warning

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

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

Documentation

Overview

Build-kind detection. This lives on the builder, not the control plane, because it is the only place the source actually exists: the plane never clones a repository (ADR-001 — no builds on the panel, and no repo credentials outside the agent).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(engine EngineClient, workDir string) *Builder

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, work *agentv1.BuildWork, onLog func(string)) (string, error)

type EngineClient

type EngineClient interface {
	BuildImage(ctx context.Context, buildContext io.Reader, tag, dockerfile string, labels map[string]string, onLog func(line string)) error
}

EngineClient is the interface needed from the docker engine client to build images.

Jump to

Keyboard shortcuts

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