proxy

package
v0.0.0-...-757470b Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

type Forwarder struct {
	Client        *http.Client
	ClientTimeout time.Duration
}

type ProxyConfig

type ProxyConfig struct {
	DestinationSocket string
	RequiredLabel     string
	Handler           ProxyHandlerConfig
	Forwarder         Forwarder
}

func (*ProxyConfig) RunProxy

func (p *ProxyConfig) RunProxy(ctx context.Context)

type ProxyHandlerConfig

type ProxyHandlerConfig struct {
	DockerClient *client.Client
	SourceSocket string
}

Jump to

Keyboard shortcuts

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