portforward

package
v0.0.0-...-8cac83f Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPodFromService

func GetPodFromService(kubeClient *kubernetes.Clientset, namespace string, serviceName string) (string, error)

func WaitForTermination

func WaitForTermination(stopCh chan struct{}, wg *sync.WaitGroup)

Types

type APodRequest

type APodRequest struct {
	RestConfig *rest.Config
	Pod        v1.Pod
	LocalPort  int
	PodPort    int
	Streams    genericiooptions.IOStreams
	StopCh     <-chan struct{}
	ReadyCh    chan struct{}
}

func (*APodRequest) PortForwardAPod

func (req *APodRequest) PortForwardAPod() error

Jump to

Keyboard shortcuts

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