Versions in this module Expand all Collapse all v0 v0.2.1 Jun 26, 2023 v0.2.0 Jun 23, 2023 Changes in this version + type PortForward struct + Clientset kubernetes.Interface + Config *rest.Config + DestinationPort int + Labels metav1.LabelSelector + ListenPort int + Name string + Namespace string + func NewPortForwarder(namespace string, labels metav1.LabelSelector, port int) (*PortForward, error) + func (p *PortForward) Start(ctx context.Context) (listenPort int, err error) + func (p *PortForward) Stop()