Scale Intelligence■ Docs
Docs / The model / Listener

Listener.

One listening endpoint of one role: its port, protocol and exposure class

Figure 1Listenerspecified
LISTENERdefinition at platform scoperoleenum:api-gateway|judge|record|work…portcountprotocolenum:https|http|websocket|unix-soc…public means reachable only through the ingress; nothing binds a public interface itselfexposureenum:public-through-ingress|privat…the path the load balancer and the ingress probehealth_pathtextoptionalthe settings declaration that renders it; a listener found running and not declared fails the release checkdeclared_intextpoints at no other object
Listener is a definition at platform scope. The drawing shows its fields and the objects that they point at.
kind
definition
scope
platform
key
the role and the port
store
postgres
family
network

Fields#

fieldtyperequirednote
roleone of api-gateway | judge | record | work | models | local-server | crawler | identity-provider | secrets-manager | collector | database | durable-engineyes
portcountyes
protocolone of https | http | websocket | unix-socket | named-pipe | postgres | grpcyes
exposureone of public-through-ingress | private-network | loopback-onlyyespublic means reachable only through the ingress; nothing binds a public interface itself
health_pathtextnothe path the load balancer and the ingress probe
declared_intextyesthe settings declaration that renders it; a listener found running and not declared fails the release check

Routes that use it#

No route takes or returns Listener directly. The record holds it, and the objects that point at it reach it.