Documentation
¶
Index ¶
- func InvokeFunction(ctx context.Context, loc pkggraph.Location, rootDir string, ...) (compute.Computable[*protocol.InvokeResponse], error)
- func InvokeWithBinary(ctx context.Context, env pkggraph.SealedContext, inv *types.DeferredInvocation, ...) (compute.Computable[*protocol.InvokeResponse], error)
- type LowLevelInvokeOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InvokeFunction ¶
func InvokeFunction(ctx context.Context, loc pkggraph.Location, rootDir string, inv *types.DeferredInvocation) (compute.Computable[*protocol.InvokeResponse], error)
func InvokeWithBinary ¶
func InvokeWithBinary(ctx context.Context, env pkggraph.SealedContext, inv *types.DeferredInvocation, prepared *binary.Prepared) (compute.Computable[*protocol.InvokeResponse], error)
Types ¶
type LowLevelInvokeOptions ¶
type LowLevelInvokeOptions[Req, Resp proto.Message] struct { RedactRequest func(proto.Message) proto.Message RedactResponse func(proto.Message) proto.Message }
func (LowLevelInvokeOptions[Req, Resp]) InvokeOnBuildkit ¶
func (oo LowLevelInvokeOptions[Req, Resp]) InvokeOnBuildkit(ctx context.Context, c *buildkit.GatewayClient, method string, pkg schema.PackageName, image oci.Image, opts rtypes.RunToolOpts, req Req) (Resp, error)
Click to show internal directories.
Click to hide internal directories.