portforwarder

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func New

func New() *Builder

func (*Builder) Build

func (b *Builder) Build() (*PortForwarder, error)

func (*Builder) WithErrorWriter

func (b *Builder) WithErrorWriter(w io.Writer) *Builder

func (*Builder) WithKubeconfig

func (b *Builder) WithKubeconfig(kubeconfig string) *Builder

func (*Builder) WithNamespace

func (b *Builder) WithNamespace(ns string) *Builder

func (*Builder) WithOutputWriter

func (b *Builder) WithOutputWriter(w io.Writer) *Builder

func (*Builder) WithPod

func (b *Builder) WithPod(pod string) *Builder

func (*Builder) WithPorts

func (b *Builder) WithPorts(ports ...string) *Builder

type PortForwarder

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

func (*PortForwarder) Run

func (pf *PortForwarder) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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