kubectl/pkg/cmd/debug
Arda Güçlü 366796b7e2 kubectl debug: Introduce customizable AttachFunc instead static one
Currently, kubectl debug statically relies on handleAttachPod function
in order to attach to the pod.
However, external tools would want to set their own customized attach
function and this commit introduces generic `AttachFunc` function interface
which can also override by external tools.
From the point of kubectl debug, there is no functionality change.

Kubernetes-commit: baed6240468250c855a5ec235e47a64e078bd042
2023-07-24 15:28:21 +03:00
..
debug.go kubectl debug: Introduce customizable AttachFunc instead static one 2023-07-24 15:28:21 +03:00
debug_test.go kubectl debug: Introduce customizable AttachFunc instead static one 2023-07-24 15:28:21 +03:00
profiles.go Remove StartupProbe on debug with pod copy 2023-06-07 15:40:10 +03:00
profiles_test.go Fix: Restricted profile comply with PSS (#117543) 2023-05-24 20:16:49 +09:00