Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWasmDeterministicExec = errors.New("wasm execution failed deterministically")
Functions ¶
func RunModule ¶
func RunModule(ctx context.Context, executor ModuleExecutor, execOutput execout.ExecutionOutputGetter) (*pbssinternal.ModuleOutput, []byte, error)
Types ¶
type BaseExecutor ¶
type BaseExecutor struct {
// contains filtered or unexported fields
}
func NewBaseExecutor ¶
type ErrorExecutor ¶
type ErrorExecutor struct {
// contains filtered or unexported fields
}
func (*ErrorExecutor) Error ¶
func (e *ErrorExecutor) Error() string
type MapperModuleExecutor ¶
type MapperModuleExecutor struct { BaseExecutor // contains filtered or unexported fields }
func NewMapperModuleExecutor ¶
func NewMapperModuleExecutor(baseExecutor *BaseExecutor, outputType string) *MapperModuleExecutor
func (*MapperModuleExecutor) HasValidOutput ¶ added in v0.1.0
func (e *MapperModuleExecutor) HasValidOutput() bool
func (*MapperModuleExecutor) Name ¶
func (e *MapperModuleExecutor) Name() string
Name implements ModuleExecutor
func (*MapperModuleExecutor) String ¶
func (e *MapperModuleExecutor) String() string
type ModuleExecutor ¶
type StoreModuleExecutor ¶
type StoreModuleExecutor struct { BaseExecutor // contains filtered or unexported fields }
func NewStoreModuleExecutor ¶
func NewStoreModuleExecutor(baseExecutor *BaseExecutor, outputStore store.DeltaAccessor) *StoreModuleExecutor
func (*StoreModuleExecutor) HasValidOutput ¶ added in v0.1.0
func (e *StoreModuleExecutor) HasValidOutput() bool
func (*StoreModuleExecutor) Name ¶
func (e *StoreModuleExecutor) Name() string
func (*StoreModuleExecutor) String ¶
func (e *StoreModuleExecutor) String() string
Click to show internal directories.
Click to hide internal directories.