Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEndpoint ¶
AddEndpoint Adds a http endpoint to the server
func NewVMWithPlugins ¶
func NewVMWithPlugins(context types.JobContext) *otto.Otto
NewVMWithPlugins Creates a new VM instance using plugins. @Param context map[string]interface{} Contains information about the process who creates this VM
Types ¶
type JobEngine ¶
type JobEngine struct {
// contains filtered or unexported fields
}
JobEngine Represents the state machine manager
func GetEngineInstance ¶
func GetEngineInstance() *JobEngine
GetEngineInstance Returns the singleton instance of JobEngine
func (*JobEngine) ExecuteStoredJob ¶
func (engine *JobEngine) ExecuteStoredJob(jobName string, receivedParameters map[string]interface{}) error
ExecuteStoredJob Executes an existing job
func (*JobEngine) GetJobByName ¶
GetJobByName Returns the job with specified name
Click to show internal directories.
Click to hide internal directories.