portforward

package module
v0.0.0-...-ca55e07 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Debug = iota
	Info
	Warn
	Error
	Off
)

Variables

This section is empty.

Functions

func Forward

func Forward(namespace, podOrService string, fromPort, toPort int, configPath string, logLevel int, kubeContext string) error

Forward connects to a pod/service and tunnels traffic from a local port to this pod.

func StopForwarding

func StopForwarding(namespace, podOrService string)

StopForwarding closes a port forwarding.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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