mirror of
https://github.com/kubernetes/kubectl.git
synced 2026-04-20 21:57:09 -04:00
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 |
||
|---|---|---|
| .. | ||
| debug.go | ||
| debug_test.go | ||
| profiles.go | ||
| profiles_test.go | ||