package forwarder
import "github.com/moby/buildkit/frontend/gateway/forwarder"
Index ¶
- func NewGatewayForwarder(w worker.Infos, f client.BuildFunc) frontend.Frontend
- type BridgeClient
- 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 (c *BridgeClient) BuildOpts() client.BuildOpts
- func (c *BridgeClient) Inputs(ctx context.Context) (map[string]llb.State, error)
- func (c *BridgeClient) NewContainer(ctx context.Context, req client.NewContainerRequest) (client.Container, error)
- func (c *BridgeClient) ResolveImageConfig(ctx context.Context, ref string, opt sourceresolver.Opt) (string, digest.Digest, []byte, error)
- func (c *BridgeClient) Solve(ctx context.Context, req client.SolveRequest) (*client.Result, error)
- func (c *BridgeClient) Warn(ctx context.Context, dgst digest.Digest, msg string, opts client.WarnOpts) error
- type GatewayForwarder
Functions ¶
func NewGatewayForwarder ¶
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 (*BridgeClient) NewContainer ¶
func (c *BridgeClient) NewContainer(ctx context.Context, req client.NewContainerRequest) (client.Container, error)
func (*BridgeClient) ResolveImageConfig ¶
func (c *BridgeClient) ResolveImageConfig(ctx context.Context, ref string, opt sourceresolver.Opt) (string, digest.Digest, []byte, error)
func (*BridgeClient) Solve ¶
func (c *BridgeClient) Solve(ctx context.Context, req client.SolveRequest) (*client.Result, error)
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 ¶
- Version
- v0.14.0
- Published
- Jun 11, 2024
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 2 minutes ago –
Tools for package owners.