frwrd

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortForward

type PortForward struct {
	Ctx          context.Context
	Port         int
	PodName      string
	PodNamespace string
	RESTConfig   *rest.Config
	Clientset    *kubernetes.Clientset

	Out    io.Writer
	ErrOut io.Writer

	// StopChannel   chan struct{}
	ReadyChannel chan struct{}
	StopChannel  <-chan struct{}
	// contains filtered or unexported fields
}

func (*PortForward) Close

func (p *PortForward) Close() error

func (*PortForward) ForwardPorts

func (p *PortForward) ForwardPorts() error

func (*PortForward) LocalPort

func (p *PortForward) LocalPort() (uint16, error)

Jump to

Keyboard shortcuts

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