forwarder

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 24 Imported by: 118

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 added in v0.12.0

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

func LLBBridgeToGatewayClient added in v0.12.0

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 added in v0.12.0

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

func (*BridgeClient) Inputs added in v0.12.0

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

func (*BridgeClient) NewContainer added in v0.12.0

func (*BridgeClient) ResolveImageConfig added in v0.13.0

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

func (*BridgeClient) Solve added in v0.12.0

func (*BridgeClient) Warn added in v0.12.0

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)

Jump to

Keyboard shortcuts

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