Documentation
¶
Overview ¶
Package netpolicy owns the default-deny public-egress address policy shared by authenticated outbound integrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonPublic ¶
Types ¶
type PublicDialer ¶
PublicDialer resolves and validates every destination address immediately before dialing one of those exact addresses. It owns address policy only; callers retain protocol, proxy, redirect, TLS, and timeout policy. An opaque forward proxy changes the address passed here to the proxy's first hop, so a caller must not claim that this dialer validates the proxy's ultimate target.
func NewPublicDialer ¶
func NewPublicDialer(allowedCIDRs []netip.Prefix, resolver Resolver, dialer Dialer) (*PublicDialer, error)
NewPublicDialer validates and copies policy inputs before first use.
func (*PublicDialer) DialContext ¶
Click to show internal directories.
Click to hide internal directories.