Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NODE_EXTENSIONS = []string{".ts", ".tsx", ".mts", ".cts", ".js", ".jsx", ".mjs", ".cjs"}
Functions ¶
Types ¶
type BuildInput ¶
func (*BuildInput) Out ¶
func (input *BuildInput) Out() string
type BuildOutput ¶
func Build ¶
func Build(ctx context.Context, input *BuildInput) (*BuildOutput, error)
type NodeProperties ¶
type NodeRuntime ¶
type NodeRuntime struct {
// contains filtered or unexported fields
}
func (*NodeRuntime) Build ¶
func (r *NodeRuntime) Build(ctx context.Context, input *BuildInput) (*BuildOutput, error)
func (*NodeRuntime) Match ¶
func (r *NodeRuntime) Match(runtime string) bool
func (*NodeRuntime) ShouldRebuild ¶
func (r *NodeRuntime) ShouldRebuild(functionID string, file string) bool
type NodeWorker ¶
type NodeWorker struct {
// contains filtered or unexported fields
}
func (*NodeWorker) Logs ¶
func (w *NodeWorker) Logs() io.ReadCloser
func (*NodeWorker) Stop ¶
func (w *NodeWorker) Stop()
Click to show internal directories.
Click to hide internal directories.