refactor: extract K8s logic into ContainerK8s library target (#2079)

- Closes #2078.
- Move all K8s sources from the container-k8s executable
  into a new ContainerK8s library target. Sources/Plugins/K8s/
  becomes a thin entry point (K8sMain.swift) that calls
  K8sCommand.main().
This commit is contained in:
jshi991
2026-08-07 10:08:16 -07:00
committed by GitHub
parent abff4183b4
commit cec124f207
19 changed files with 92 additions and 39 deletions
@@ -23,6 +23,7 @@ public enum WarmupImage: String, CaseIterable, Sendable {
case alpine320 = "ghcr.io/linuxcontainers/alpine:3.20"
case alpine318 = "ghcr.io/linuxcontainers/alpine:3.18"
case busybox136 = "ghcr.io/containerd/busybox:1.36"
case kindestNodeV1_35_5 = "docker.io/kindest/node:v1.35.5@sha256:ce977ae6d65918d0b58a5f8b5e940429c2ce42fa3a5619ec2bbc60b949c0ac95"
/// Directory under app-root holding OCI tar archives of each warmup image.
///