k3s/pkg/cli
Brad Davidson 0d62e7308d 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>
(cherry picked from commit 2e4e7cf2c1)
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2025-01-10 16:11:04 -08:00
..
agent Refactor supervisor listener startup and add metrics 2024-05-28 16:24:57 -07:00
cert Kubernetes V1.30.0-k3s1 (#10063) 2024-05-06 19:42:27 +03:00
cmds add node-internal-dns/node-external-dns address pass-through support (#10852) 2024-12-11 17:09:48 -08:00
completion Add new `k3s completion` command for shell completion (#5461) 2022-04-29 12:53:34 -07:00
crictl [K3s][Windows Port] Build script, multi-call binary, and Flannel (#7259) 2023-10-16 14:53:09 -04:00
ctr [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
etcdsnapshot Add etcd s3 config secret implementation 2024-07-15 10:14:20 -07:00
kubectl [master] changing package to k3s-io (#4846) 2022-03-02 15:47:27 -08:00
secretsencrypt Move request handlers out of server package 2025-01-10 16:11:04 -08:00
server Set kine EmulatedETCDVersion from embedded etcd version 2024-11-06 12:41:11 -08:00
token Move request handlers out of server package 2025-01-10 16:11:04 -08:00