Documentation ¶
Index ¶
- type EngineHub
- func (e *EngineHub) Execute(tenantId, action string, ctx *gin.Context)
- func (e *EngineHub) ExecuteDev(dclaim *claim.UserContext, plug, agent, action string, body []byte) ([]byte, error)
- func (e *EngineHub) GetEngine() etypes.Engine
- func (e *EngineHub) LaunchAdmin(uclaim *claim.Session, data etypes.AdminLaunchData) (*etypes.LaunchOptions, error)
- func (e *EngineHub) LaunchTarget(uclaim *claim.Session, data etypes.TargetLaunchData) (*etypes.LaunchOptions, error)
- func (e *EngineHub) LaunchTargetDomain(tenantId, host, plugId, agentId string) (*etypes.LaunchDomainOptions, error)
- func (e *EngineHub) ListExecutors() ([]string, error)
- func (e *EngineHub) ListModules() ([]string, error)
- func (e *EngineHub) Reset(tenantId, plugId, agentId string) error
- func (e *EngineHub) RunStartupHooks(tenants []string, minwait time.Duration)
- func (e *EngineHub) ServeAgentFile(tenantId, plugId, agentId, file string) ([]byte, error)
- func (e *EngineHub) ServeExecutorFile(tenantId, plugId, agentId, file string) ([]byte, error)
- func (e *EngineHub) Start() error
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 (*EngineHub) ExecuteDev ¶
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 (*EngineHub) ListModules ¶
func (*EngineHub) RunStartupHooks ¶
func (*EngineHub) ServeAgentFile ¶
func (*EngineHub) ServeExecutorFile ¶
Click to show internal directories.
Click to hide internal directories.