portforward

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, namespacedName types.NamespacedName, remotePort int) (int, io.Closer)

Types

type Closer

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

func (*Closer) Close

func (c *Closer) Close() error

type ErrorLogger

type ErrorLogger struct {
	Logger logr.Logger
}

func (*ErrorLogger) Write

func (p *ErrorLogger) Write(d []byte) (n int, err error)

type InfoLogger

type InfoLogger struct {
	Logger logr.Logger
}

func (*InfoLogger) Write

func (p *InfoLogger) Write(d []byte) (n int, err error)

Jump to

Keyboard shortcuts

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