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, 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) 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, 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.12.0-rc1
Published
Jun 30, 2023
Platform
js/wasm
Imports
22 packages
Last checked
6 minutes ago

Tools for package owners.