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 ¶ added in v0.1.1
type EmissionError struct {
Wrapped error
}
EmissionError wraps all errors that occur during the emission process for the runtime to handle.
func NewEmissionError ¶ added in v0.1.1
func NewEmissionError(err error) *EmissionError
func (*EmissionError) Error ¶ added in v0.1.1
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 ¶ added in v0.1.1
func (r *Runtime) Emitter() sdk.MessageEmitter
func (*Runtime) Fetch ¶
func (r *Runtime) Fetch(req sdk.FetchRequest) (sdk.FetchResponse, error)
type RuntimeConfig ¶
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.