forwarder

package
v1.1.10 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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)

Jump to

Keyboard shortcuts

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