Versions in this module Expand all Collapse all v0 v0.2.1 Feb 9, 2024 Changes in this version + const AGENT_LOG_SRC + const APP_DEPLOYMENT_TIMEOUT + const APP_DIR_FPERMS + const APP_LOG_SRC_PREFIX + const APP_STOP_TIMEOUT + const DEFAULT_MAX_APP_FILE_COUNT + const DEFAULT_MAX_APP_PARALLEL_FILE_CREATION_COUNT + const DEFAULT_MAX_APP_USABLE_SPACE + const MAX_DONE_CALLBACK_WAIT_TIME + type Agent struct + func NewAgent(args AgentParameters) (*Agent, error) + func (a *Agent) GetApplication(name node.ApplicationName) (node.Application, bool) + func (a *Agent) GetOrCreateApplication(name node.ApplicationName) (node.Application, error) + type AgentConfig struct + OsProdDir core.Path + TemporaryOptionRunInSameProcess bool + type AgentParameters struct + Config AgentConfig + GoCtx context.Context + Logger zerolog.Logger + type Application struct + func (app *Application) AutorestartLoop(project core.Project, appMod *core.Module, flsSnapshot core.FilesystemSnapshot) + func (app *Application) PrepareDeployment(args node.ApplicationDeploymentParams) (node.ApplicationDeployment, error) + func (app *Application) Status() node.ApplicationStatus + func (app *Application) Stop() + func (app *Application) TimedStatus() node.TimedApplicationStatus + func (app *Application) UnsafelyStop() + type ApplicationDeployment struct + func (d *ApplicationDeployment) Perform() error + func (d *ApplicationDeployment) Status() node.DeploymentStatus