enginehub

package
v0.0.0-...-8c2001a Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngineHub

type EngineHub struct {
	// contains filtered or unexported fields
}

func New

func New(app xtypes.App, logsvc logx.Service) *EngineHub

func (*EngineHub) Execute

func (e *EngineHub) Execute(tenantId, action string, ctx *gin.Context)

func (*EngineHub) ExecuteDev

func (e *EngineHub) ExecuteDev(dclaim *claim.UserContext, plug, agent, action string, body []byte) ([]byte, error)

func (*EngineHub) GetEngine

func (e *EngineHub) GetEngine() etypes.Engine

func (*EngineHub) LaunchAdmin

func (e *EngineHub) LaunchAdmin(uclaim *claim.Session, data etypes.AdminLaunchData) (*etypes.LaunchOptions, error)

func (*EngineHub) LaunchTarget

func (e *EngineHub) LaunchTarget(uclaim *claim.Session, data etypes.TargetLaunchData) (*etypes.LaunchOptions, error)

func (*EngineHub) LaunchTargetDomain

func (e *EngineHub) LaunchTargetDomain(tenantId, host, plugId, agentId string) (*etypes.LaunchDomainOptions, error)

func (*EngineHub) ListExecutors

func (e *EngineHub) ListExecutors() ([]string, error)

func (*EngineHub) ListModules

func (e *EngineHub) ListModules() ([]string, error)

func (*EngineHub) Reset

func (e *EngineHub) Reset(tenantId, plugId, agentId string) error

func (*EngineHub) RunStartupHooks

func (e *EngineHub) RunStartupHooks(tenants []string, minwait time.Duration)

func (*EngineHub) ServeAgentFile

func (e *EngineHub) ServeAgentFile(tenantId, plugId, agentId, file string) ([]byte, error)

func (*EngineHub) ServeExecutorFile

func (e *EngineHub) ServeExecutorFile(tenantId, plugId, agentId, file string) ([]byte, error)

func (*EngineHub) Start

func (e *EngineHub) Start() error

Jump to

Keyboard shortcuts

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