Documentation
¶
Overview ¶
Package idle tells when a stack was last requested through the proxy, from the proxy's access log: one JSON line per request with only the router and the time (phase 4 design D3, D4).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastRequests ¶
LastRequests returns the latest request per project in the proxy's log lines. A router belongs to the longest project name it starts with, followed by "-": router names are <project>-<service>, so shop-main-x-web belongs to shop-main-x, not to shop-main. Lines that are not access log lines, such as Traefik's own, are skipped.
func Recording ¶
Recording reports whether a proxy with this command records its requests; a proxy of siding v0.3 does not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.