portforward

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Portforward

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

func New

func New(k8sClient k8sclient.Client, config *rest.Config, matchLabels map[string]string, namespace string, localPort, remotePort int) (*Portforward, error)

func (*Portforward) GetURL

func (pf *Portforward) GetURL(path string) string

GetURL returns the URL for the port-forward connection

func (*Portforward) Run

func (pf *Portforward) Run() error

func (*Portforward) Stop

func (pf *Portforward) Stop()

func (*Portforward) WaitForStop

func (pf *Portforward) WaitForStop()

Jump to

Keyboard shortcuts

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