Documentation
¶
Overview ¶
Package runtime connects execution devices without product dependencies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseConnections ¶
func CloseConnections(registry *runtimegateway.Registry)
CloseConnections releases upgraded WebSockets, which http.Server.Shutdown does not close. Call after stopping new HTTP upgrades.
func NewGateway ¶
func NewGateway(credentials runtimegateway.RuntimeStore, heartbeat runtimegateway.HeartbeatTouch, cancellations runtimegateway.ArchivedCancellationStore, publicWSURL string) (http.Handler, *runtimegateway.Registry, error)
NewGateway serves the V1 daemon executor transport for both managed and user-managed Runtime. It authenticates devices with credentials, records their heartbeats with heartbeat and drains an archived Session's cancellation receipts through cancellations. Its credentials never grant public Session API access.
Types ¶
This section is empty.