Namespace, API server, token, and port selection
The HTTP seam
Supplies the monotonic clock, timers, and fs
Resolves the bearer token, reading the projected file when no explicit token was configured.
The Authorization header value
M70c: probes the API server with a limit=1 EndpointSlice LIST through the
existing seam. This is the probe that makes X10-3 visible: an UnknownIssuer
TLS rejection surfaces here as down. 2xx means the API is reachable.
The runtime aborts the request after 2 s, including a hung response body.
Builds the EndpointSlice list URL for a service.
Logical service name
Optionalextra: Readonly<Record<string, string>>
Extra query parameters (the watch adds its own)
The absolute URL
Maps an EndpointSlice list onto instances.
The parsed list response
The service the slices belong to
The mapped instances
Reads the current instance list for a service.
Logical service name
Every instance the backend reports, possibly empty
Subscribes to instance-list changes.
Push-based where the backend supports it, interval-polled where it does not. The listener always receives the full list.
Logical service name
Called with the full instance list on every change
Unsubscribe function that stops the underlying watch
Reads EndpointSlices for a service.
Since
0.2.0