package forwarder

import "github.com/moby/buildkit/frontend/gateway/forwarder"

Index

Functions

func NewGatewayForwarder

func NewGatewayForwarder(w worker.Infos, f client.BuildFunc) frontend.Frontend

Types

type BridgeClient

type BridgeClient struct {
	frontend.FrontendLLBBridge
	// contains filtered or unexported fields
}

func LLBBridgeToGatewayClient

func LLBBridgeToGatewayClient(ctx context.Context, llbBridge frontend.FrontendLLBBridge, exec executor.Executor, opts map[string]string, inputs map[string]*opspb.Definition, w worker.Infos, sid string, sm *session.Manager) (*BridgeClient, error)

func (*BridgeClient) BuildOpts

func (c *BridgeClient) BuildOpts() client.BuildOpts

func (*BridgeClient) Inputs

func (c *BridgeClient) Inputs(ctx context.Context) (map[string]llb.State, error)

func (*BridgeClient) NewContainer

func (*BridgeClient) ResolveImageConfig

func (c *BridgeClient) ResolveImageConfig(ctx context.Context, ref string, opt sourceresolver.Opt) (string, digest.Digest, []byte, error)

func (*BridgeClient) Solve

func (*BridgeClient) Warn

func (c *BridgeClient) Warn(ctx context.Context, dgst digest.Digest, msg string, opts client.WarnOpts) error

type GatewayForwarder

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

func (*GatewayForwarder) Solve

func (gf *GatewayForwarder) Solve(ctx context.Context, llbBridge frontend.FrontendLLBBridge, exec executor.Executor, opts map[string]string, inputs map[string]*pb.Definition, sid string, sm *session.Manager) (retRes *frontend.Result, retErr error)

Source Files

forward.go frontend.go

Version
v0.21.1 (latest)
Published
Apr 29, 2025
Platform
js/wasm
Imports
24 packages
Last checked
12 minutes ago

Tools for package owners.