Documentation
¶
Index ¶
- type Proxy
- type ProxyManager
- func (pm *ProxyManager) AddProxy(proxy *Proxy)
- func (pm *ProxyManager) HandleContainerEvent(ctx context.Context, event events.Message)
- func (pm *ProxyManager) RemoveProxy(containerID string)
- func (pm *ProxyManager) SetupExistingContainers(ctx context.Context) error
- func (pm *ProxyManager) SetupProxy(ctx context.Context, containerID string)
- func (pm *ProxyManager) StopAll()
- func (pm *ProxyManager) WatchDockerEvents(ctx context.Context)
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 ¶
func NewProxyManager ¶
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)
Click to show internal directories.
Click to hide internal directories.