vm

package
v1.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InfraVM

type InfraVM interface {
	Exec(*cloudevents.Event) (*cloudevents.Event, error)
}

InfraVM is an abstraction of the virtual machine that executes user scripts on events.

type Param

type Param struct {
	Name  string
	Value interface{}
	Type  ParamType
}

Param contains meta information and value for parameters.

type ParamType

type ParamType string

ParamType is the type of parameter passed to the virtual machines.

const (
	ParamTypePrimitive ParamType = "primitive"
	ParamTypeJSON      ParamType = "json"
)

Enumeration of parameter types.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL