Documentation
¶
Index ¶
Constants ¶
View Source
const (
InitTimeoutProperty = "InitTimeoutSeconds"
)
View Source
const MaxIdleRuntimesQueueSize = 10_000
Variables ¶
View Source
var ErrorInvalidEntryPoint = errors.New("invalid entrypoint, runtime process spawn failed")
Functions ¶
func NewInitMetrics ¶
func NewInitMetrics(logger servicelogs.Logger) *initMetrics
func NewShutdownMetrics ¶
func NewShutdownMetrics(logger servicelogs.Logger, reason model.AppError) *shutdownMetrics
func Start ¶
func Start(ctx context.Context, deps Dependencies) (interop.RapidContext, error)
Types ¶
type Dependencies ¶
type Dependencies struct {
InteropServer interop.Server
TelemetrySubscriptionAPI telemetry.SubscriptionAPI
LogsEgressAPI telemetry.StdLogsEgressAPI
EventsAPI interop.EventsAPI
Supervisor supvmodel.ProcessSupervisor
FileUtils utils.FileUtil
InvokeRouter *invoke.InvokeRouter
RuntimeAPIAddrPort netip.AddrPort
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.