Help us shape the future of Go! Take the 2026 Go Developer Survey

frontend

package
v0.34.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// KeySource is the option key used by the gateway frontend to represent
	// the source for the external frontend
	KeySource = "source"

	KeyDevelDeprecated = "gateway-devel"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Attestation added in v0.11.0

type Attestation = result.Attestation[solver.ResultProxy]

type CacheOptionsEntry added in v0.4.0

type CacheOptionsEntry = gw.CacheOptionsEntry

type Frontend

type Frontend interface {
	Solve(ctx context.Context, llb FrontendLLBBridge, exec executor.Executor, opt map[string]string, inputs map[string]*pb.Definition, sid string, sm *session.Manager) (*Result, error)
}

type FrontendLLBBridge

type FrontendLLBBridge interface {
	sourceresolver.MetaResolver
	Solve(ctx context.Context, req SolveRequest, sid string) (*Result, error)
	Warn(ctx context.Context, dgst digest.Digest, msg string, opts WarnOpts) error
}

type Result

type Result = result.Result[solver.ResultProxy]

type SolveRequest

type SolveRequest = gw.SolveRequest

type WarnOpts added in v0.10.0

type WarnOpts = gw.WarnOpts

Directories

Path Synopsis
command
Package command contains the set of Dockerfile commands.
Package command contains the set of Dockerfile commands.
dfgitutil
Package dfgitutil provides Dockerfile-specific utilities for git refs.
Package dfgitutil provides Dockerfile-specific utilities for git refs.
parser
The parser package implements a parser that transforms a raw byte-stream into a low-level Abstract Syntax Tree.
The parser package implements a parser that transforms a raw byte-stream into a low-level Abstract Syntax Tree.
parser/dumper command
pb

Jump to

Keyboard shortcuts

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