Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeInvalidResponse = 110 CodeInvalidRequest = 111 CodeRunnerErr = 112 CodeHostErr = 113 CodeSuccess = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmissionError ¶
type EmissionError struct {
Wrapped error
}
EmissionError wraps all errors that occur during the emission process for the runtime to handle.
func NewEmissionError ¶
func NewEmissionError(err error) *EmissionError
func (*EmissionError) Error ¶
func (e *EmissionError) Error() string
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) Run ¶
func (r *Runner) Run(factory *sdk.WorkflowSpecFactory)
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
func (*Runtime) Emitter ¶
func (r *Runtime) Emitter() sdk.MessageEmitter
func (*Runtime) Fetch ¶ added in v0.3.0
func (r *Runtime) Fetch(req sdk.FetchRequest) (sdk.FetchResponse, error)
type RuntimeConfig ¶ added in v0.3.0
type RuntimeConfig struct { MaxFetchResponseSizeBytes int64 RequestID *string Metadata *capabilities.RequestMetadata }
Directories ¶
Path | Synopsis |
---|---|
NOTE: loosely based on: https://github.com/tetratelabs/wazero/blob/1353ca24fef0a57a3a342d75f20357a6e9d3be35/internal/wasip1/errno.go#L14
|
NOTE: loosely based on: https://github.com/tetratelabs/wazero/blob/1353ca24fef0a57a3a342d75f20357a6e9d3be35/internal/wasip1/errno.go#L14 |
Click to show internal directories.
Click to hide internal directories.