gateway

package
v0.0.0-...-bf646b5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySyntaxArg = "build-arg:BUILDKIT_SYNTAX"
)

Variables

This section is empty.

Functions

func New

func New(client dexfile.Client, bc dexfile.BuildContext) *gateway

Types

type Gateway

type Gateway interface {
	HandleRequest(context.Context, RequestHandler) (*gwclient.Result, bool, error)
}

type RequestHandler

type RequestHandler struct {
	ExternalFrontend func(ctx context.Context, ref string) (*gwclient.Result, error)
	Outline          func(ctx context.Context) (*outline.Outline, error)
	ListTargets      func(ctx context.Context) (*targets.List, error)
	Lint             func(ctx context.Context) (*lint.LintResults, error)
	Dexfile          func(ctx context.Context) (*gwclient.Result, error)
}

Jump to

Keyboard shortcuts

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