proxymanager

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	TsServer *tailscale.TsNetServer

	URL *url.URL
	// contains filtered or unexported fields
}

type ProxyManager

type ProxyManager struct {
	Log *core.Logger
	// contains filtered or unexported fields
}

func NewProxyManager

func NewProxyManager(cli *client.Client, logger *core.Logger, config *core.Config) *ProxyManager

func (*ProxyManager) AddProxy

func (pm *ProxyManager) AddProxy(proxy *Proxy)

func (*ProxyManager) HandleContainerEvent

func (pm *ProxyManager) HandleContainerEvent(ctx context.Context, event events.Message)

func (*ProxyManager) RemoveProxy

func (pm *ProxyManager) RemoveProxy(containerID string)

func (*ProxyManager) SetupExistingContainers

func (pm *ProxyManager) SetupExistingContainers(ctx context.Context) error

func (*ProxyManager) SetupProxy

func (pm *ProxyManager) SetupProxy(ctx context.Context, containerID string)

func (*ProxyManager) StopAll

func (pm *ProxyManager) StopAll()

func (*ProxyManager) WatchDockerEvents

func (pm *ProxyManager) WatchDockerEvents(ctx context.Context)

Jump to

Keyboard shortcuts

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