hostnames

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package hostnames defines synthetic hostnames that moat injects into container networking. Using constants here prevents drift between the container-side /etc/hosts entries, the proxy URL env vars, and the proxy's in-process host-gateway checks.

Index

Constants

View Source
const HostGateway = "moat-host"

HostGateway is the hostname containers use to reach services on the host. It is intentionally NOT in NO_PROXY so that host-service requests flow through the proxy for policy enforcement (network.host rules).

View Source
const Proxy = "moat-proxy"

Proxy is the hostname containers use to reach the moat proxy. It MUST appear in NO_PROXY so that direct tunnel requests to the proxy itself are not proxied (which would loop forever).

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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