tcp_tunnel

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAgent

func RunAgent(ctx context.Context, logger *logrus.Logger, urlStr string, targetURL *url.URL, cfg *rest.Config, tunnelTLSConfig *tls.Config, tunnelSPerAgent int) error

The creation of AgentClient will block until connection is gone or context is done.

Types

type AgentClient

type AgentClient struct {
	base.TunnelEndpoint
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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