net

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ApoxyNetDomainSuffix is the domain suffix used for the Apoxy endpoints serving
	// customer traffic (both internal and external).
	ApoxyNetDomainSuffix = "apoxy.net"

	// EdgeFuncSubdomain is the subdomain used for the Apoxy endpoints serving
	// customer traffic (both internal and external).
	EdgeFuncSubdomain = "func"
	// TunnelSubdomain is the subdomain used for the Apoxy endpoints serving
	// customer traffic (both internal and external).
	TunnelSubdomain = "tun"
	// VPCSubdomain is the subdomain used for VPCService endpoints reachable
	// over the VPC relay overlay. Kept distinct from TunnelSubdomain so the
	// datapath (VTEP netns vs. legacy lwtunnel) can be selected from the
	// FQDN alone.
	VPCSubdomain = "vpc"
)

Variables

View Source
var (
	// EdgeFuncDomain is the domain used for the Apoxy endpoints serving
	// customer traffic (both internal and external).
	EdgeFuncDomain = fmt.Sprintf("%s.%s", EdgeFuncSubdomain, ApoxyNetDomainSuffix)

	// TunnelDomain is the domain used for the Apoxy endpoints serving
	// customer traffic (both internal and external).
	TunnelDomain = fmt.Sprintf("%s.%s", TunnelSubdomain, ApoxyNetDomainSuffix)

	// VPCDomain is the domain under which VPCService endpoints are published
	// by the per-project backplane DNS servers.
	VPCDomain = fmt.Sprintf("%s.%s", VPCSubdomain, ApoxyNetDomainSuffix)
)

Functions

func VPCServiceFQDN

func VPCServiceFQDN(hostname, network string) string

VPCServiceFQDN returns the vpc-zone FQDN a VPCService is published under: <hostname>.<network>.vpc.apoxy.net. The network label scopes the hostname, which is unique only within its VPCNetwork.

Types

This section is empty.

Directories

Path Synopsis
dns
vpcdns
Package vpcdns is the serving core of the Apoxy VPC name plane: a CoreDNS plugin that answers, authoritatively, for names bound into a project's VPC (tunnel endpoints today, VPC-bound Services later) and passes everything else to the next plugin in the chain (typically cache -> upstream).
Package vpcdns is the serving core of the Apoxy VPC name plane: a CoreDNS plugin that answers, authoritatively, for names bound into a project's VPC (tunnel endpoints today, VPC-bound Services later) and passes everything else to the next plugin in the chain (typically cache -> upstream).

Jump to

Keyboard shortcuts

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