package
0.0.0-20200122233423-62801f1d34cf
Repository: https://github.com/vishvananda/pkg.git
Documentation: pkg.go.dev
# Functions
CheckPortAvailability checks to see if the port is available on the machine.
Cleanup will clean the background process used for port forwarding.
GetPods retrieves the current existing podlist for the app in monitoring namespace This uses app=<app> as labelselector for selecting pods.
PortForward sets up local port forward to the pod specified by the "app" label in the given namespace.