Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NativeExecutable ¶
type NativeExecutable struct {
// contains filtered or unexported fields
}
NativeExecutable execution provider implementation
func InitNexExecutionProviderNative ¶
func InitNexExecutionProviderNative(params *agentapi.ExecutionProviderParams) (*NativeExecutable, error)
convenience method to initialize an ELF execution provider
func (*NativeExecutable) Deploy ¶
func (e *NativeExecutable) Deploy() (err error)
Deploy the ELF binary
func (*NativeExecutable) Undeploy ¶
func (e *NativeExecutable) Undeploy() error
Undeploy the ELF binary
func (*NativeExecutable) Validate ¶
func (e *NativeExecutable) Validate() error
Validate the underlying artifact to be a 64-bit linux native ELF binary that is statically-linked
type OCI ¶
type OCI struct { }
OCI execution provider implementation
func InitNexExecutionProviderOCI ¶
func InitNexExecutionProviderOCI(params *agentapi.ExecutionProviderParams) *OCI
InitNexExecutionProviderOCI convenience method to initialize an OCI execution provider
type V8 ¶
type V8 struct {
// contains filtered or unexported fields
}
V8 execution provider implementation
func InitNexExecutionProviderV8 ¶
func InitNexExecutionProviderV8(params *agentapi.ExecutionProviderParams) (*V8, error)
convenience method to initialize a V8 execution provider
func (*V8) Execute ¶
Trigger execution of the deployed function; expects a `Validate` to have succeeded and `ubs` to be non-nil. The executed function can optionally return a value, in which case it will be deemed a reply and returned to the caller. In the case of a nil or empty value returned by the function, no reply will be sent.
type Wasm ¶
type Wasm struct {
// contains filtered or unexported fields
}
Wasm execution provider implementation
func InitNexExecutionProviderWasm ¶
func InitNexExecutionProviderWasm(params *agentapi.ExecutionProviderParams) (*Wasm, error)
InitNexExecutionProviderWasm convenience method to initialize a Wasm execution provider