internal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 26 Imported by: 0

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, toPort int)

StopForwarding closes a port forwarding.

Types

This section is empty.

Jump to

Keyboard shortcuts

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