Documentation ¶
Index ¶
- Constants
- func GetPortForwardByID(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)
- func GetPortForwards(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)
- func StartPortForward(kubeConfigStore kubeconfig.ContextStore, cache cache.Cache[interface{}], ...)
- func StopOrDeletePortForward(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)
Constants ¶
View Source
const ( RUNNING = "Running" STOPPED = "Stopped" )
View Source
const PodAvailabilityCheckTimer = 5 // seconds
Variables ¶
This section is empty.
Functions ¶
func GetPortForwardByID ¶
GetPortForwardByID handles get port forward by id request.
func GetPortForwards ¶
GetPortForwards handles get port forwards request.
func StartPortForward ¶
func StartPortForward(kubeConfigStore kubeconfig.ContextStore, cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request, )
StartPortForward handles the port forward request.
func StopOrDeletePortForward ¶
func StopOrDeletePortForward(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)
StopOrDeletePortForward handles stop or delete port forward request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.