k3s/pkg/server
Brad Davidson 2e4e7cf2c1 Move request handlers out of server package
The servers package, and router.go in particular, had become quite
large. Address this by moving some things out to separate packages:
* http request handlers all move to pkg/server/handlers.
* node password bootstrap auth handler goes into pkg/nodepassword with
  the other nodepassword code.

While we're at it, also be more consistent about calling variables that
hold a config.Control struct or reference `control` instead of `config` or `server`.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-01-09 00:51:19 -08:00
..
auth Make /db/info available anonymously from localhost 2024-04-22 19:34:43 -07:00
handlers Move request handlers out of server package 2025-01-09 00:51:19 -08:00
context.go Use helper to set consistent rest.Config rate limits and timeouts 2024-12-06 11:45:34 -08:00
server.go Move request handlers out of server package 2025-01-09 00:51:19 -08:00
types.go Move DisableServiceLB/Rootless/ServiceLBNamespace into config.Control 2022-09-30 08:17:20 -07:00