portforwarder

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailableLocalPort

func GetAvailableLocalPort() (int, error)

Types

type PortForwarder

type PortForwarder struct {
	// contains filtered or unexported fields
}

func New

func New(restConfig *rest.Config, out io.Writer, errOut io.Writer) *PortForwarder

func (*PortForwarder) ForwardPort

func (p *PortForwarder) ForwardPort(podNamespace string, podName string, localPort int, podPort int, stopCh <-chan struct{}, readyCh chan struct{}) error

Jump to

Keyboard shortcuts

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