Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionRunner ¶
type FunctionRunner interface {
// Run method accepts resourceList in wireformat and returns resourceList in wire format.
Run(r io.Reader, w io.Writer) error
}
FunctionRunner knows how to run a function.
type FunctionRuntime ¶
type FunctionRuntime interface {
GetRunner(ctx context.Context, fn *v1.Function) (FunctionRunner, error)
}
FunctionRuntime provides a way to obtain a function runner to be used for a given function configuration.
type RenderOptions ¶
type RenderOptions struct {
PkgPath string
Runtime FunctionRuntime
}
type Renderer ¶
type Renderer interface {
Render(ctx context.Context, pkg filesys.FileSystem, opts RenderOptions) error
}
Click to show internal directories.
Click to hide internal directories.