Add user friendly UI allowing to temporarily toggle port forwarding.

This commit is contained in:
2025-11-23 16:50:56 +00:00
parent 112969b82a
commit 21ea41781d
8 changed files with 975 additions and 158 deletions
+2
View File
@@ -25,6 +25,7 @@ type ForwardWorker struct {
lastPod string // Track the last pod we connected to
statusUI StatusUpdater
healthChecker *healthcheck.Checker
startTime time.Time // Track when the worker started
}
// NewForwardWorker creates a new ForwardWorker for a single forward configuration.
@@ -41,6 +42,7 @@ func NewForwardWorker(fwd config.Forward, portForwarder *k8s.PortForwarder, verb
verbose: verbose,
statusUI: statusUI,
healthChecker: healthChecker,
startTime: time.Now(),
}
}