client-go: kmodules.xyz/client-go/tools/portforward Index | Files

package portforward

import "kmodules.xyz/client-go/tools/portforward"

Index

Package Files

tunnel.go

type Tunnel Uses

type Tunnel struct {
    Local     int
    Remote    int
    Namespace string
    PodName   string
    Out       io.Writer
    // contains filtered or unexported fields
}

func NewTunnel Uses

func NewTunnel(client rest.Interface, config *rest.Config, namespace, podName string, remote int) *Tunnel

func (*Tunnel) Close Uses

func (t *Tunnel) Close()

func (*Tunnel) ForwardPort Uses

func (t *Tunnel) ForwardPort() error

Package portforward imports 10 packages (graph) and is imported by 31 packages. Updated 2020-07-22. Refresh now. Tools for package owners.