portforward

package
v0.0.0-...-e47adf1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RUNNING = "Running"
	STOPPED = "Stopped"
)
View Source
const PodAvailabilityCheckTimer = 5 // seconds

Variables

This section is empty.

Functions

func GetPortForwardByID

func GetPortForwardByID(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)

GetPortForwardByID handles get port forward by id request.

func GetPortForwards

func GetPortForwards(cache cache.Cache[interface{}], w http.ResponseWriter, r *http.Request)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL