engine

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func New

func New(enginehub etypes.EngineHub, corehub store.CoreHub) *Controller

func (*Controller) Execute

func (c *Controller) Execute(tenantId, action string, ctx *gin.Context)

func (*Controller) ExecuteDev

func (c *Controller) ExecuteDev(dclaim *claim.PlugDevTkt, plug, agent, action string, body []byte) ([]byte, error)

func (*Controller) LaunchAdmin

func (c *Controller) LaunchAdmin(uclaim *claim.Session, data etypes.AdminLaunchData) (*etypes.LaunchOptions, error)

func (*Controller) LaunchAuth

func (c *Controller) LaunchAuth(data etypes.AuthLaunchData) (string, error)

func (*Controller) LaunchTarget

func (c *Controller) LaunchTarget(uclaim *claim.Session, data etypes.TargetLaunchData) (*etypes.LaunchOptions, error)

func (*Controller) LaunchTargetWithDomain

func (c *Controller) LaunchTargetWithDomain(tenantId, host, plugId, agentId string) (*etypes.LaunchDomainOptions, error)

func (*Controller) ListExecutors

func (c *Controller) ListExecutors(uclaim *claim.Session) ([]string, error)

func (*Controller) ListModules

func (c *Controller) ListModules(uclaim *claim.Session) ([]string, error)

func (*Controller) Reset

func (c *Controller) Reset(tenantId, plugId, agentId string) error

func (*Controller) ServeAgentFile

func (c *Controller) ServeAgentFile(tenantId, plugId, agentId, file string) ([]byte, error)

func (*Controller) ServeExecutorFile

func (c *Controller) ServeExecutorFile(tenantId, plugId, agentId, file string) ([]byte, error)

Jump to

Keyboard shortcuts

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